Changing IP address in Solaris 10 different from Sol 9?

I recently needed to change the IP address of 2 new Solaris 10 Sparc boxes. I made the normal changes
/etc/hosts
/etc/hostname.bge0
/etc/resolv.conf
/etc/netmasks
/etc/nodename &
/etc/defaultrouter
(why can't we get these into one file?)
But when rebooted, the server still remembered its old IP address and settings even though I couldn't grep that IP anywhere. I eventually had to do a sys-unconfig which I was hoping to avoid. Is there some other way to change an IP in solaris 10?

Here's the step that I use whenever I'm stuck and it usually works. As I'm still learning now, these may be easy steps and you may have been already done these.
"Static to DHCP IP Address"
First unplumb
# ifconfig e1000g0 unplumb
Then Plumb (probably IP will become like 0.0.0.0)
# ifconfig e1000g0 plumb
Use dhcp
# ifconfig e1000g0 dhcp primary
Check on IP address
Should have an IP address from your dhcp server by now.
# ifconfig -a
and
# ifconfig e1000g0 dhcp status
"Configure DNS client"
Edit "nsswitch.conf" file
go to /etc
# more /etc/nsswitch.conf
# vi /etc/nsswitch.conf
and add "dns" on hosts
hosts: files dns
go to /etc and see if the file is already there or not
# more /etc/resolv.conf
If it's not created yet, then create one.
# vi /etc/resolv.conf
domain domain.com
nameserver 0.0.0.1
search domain.com
Then ping should work with both ip address and domain name.
For Manual IP
First unplumb
# ifconfig e1000g0 unplumb
Then assign an IP and make sure that you are using the right IP address if you are in the network.
#ifconfig e1000g0 plumb 192.168.100.10 netmask 255.255.255.0 up
Check if it's updated
#ifconfig -a
If you still can't get the right ip address, then something is up. Oh, make sure that your Ethernet cable is connected or not defective. It happened to me once.
Hope this would help someone.

Similar Messages

  • HBA controller name changes after upgrading to solaris 11.2 from solaris 11.1

    we have upgraded OS on control domain from Sol 11.1 to Sol 11.2 . After upgrade controller name of HBAs and NPIV wwns  changed ( like if it is c2 prior to upgrade  , post upgrade controller name changes to  c8). Due to this we have to redo virtual disk mapping for all ldoms hosted on this machine. .  Would it be possible to preserve the HBA controller names across OS versions ? we even observed this issue while upgrading SRU of solaris 11.2 system.  We have to upgrade around 20 systems to solaris 11.2 and with this issue upgrade seems to be a tedious task. Any idea if there is any fix or workaround for it ?

    Are your disks only connected to one single HBA?
    We use MPXIO to MultiPath over Multiple HBAs. Controller never changed here for the MPXIO devices.
    Best regards,
    Marcel

  • Why did firefox change yahoo home page. Now different from IE

    For some reason the Yahoo home page which I always use has been changed on Firefox. On IE it is the good old home page that I not only like but was used to. I prefer Firefox as my browser but would like the regular Yahoo home page back. Any ideas?

    I have the same problem too. I had the same problem about two months ago and someone on here told me what to do. Unfortunately I did not write it down so i don't remember. I've tried, tools-options - advance - general - unchecked use hardware acceleration when available...it did not work. Yahoo main page looks perfect on IE, on Firefox it's a mess. Someone please help.

  • Change cell color if number is different from previous cell

    Hello all and thank you in advance for any help that is provided.
    I want to have the color of text in one cell change if the number entered into that cell is higher than the number entered in the previous cell.
    Example: If cell A=18 and cell B=18 then the font color in both cells is the same.
    If cell A=18 and cell B=20 then the color of the font in cell B should change to another color.
    I have done my best to look through the posted questions to no avail so I apologize if this has already been answered.
    AJ

    Inspector > Format (42)
    Select B2 > Conditional format > Greater than > A2 > Edit > Text > Red, Green whatever. Done.
    As usual the format in B2 can be dragged down by the little o bottom right to B3, B4 etc.
    S.

  • How to change IP addresses of APs and WLC to the ones from different VLAN

    I'm trying to figure out what is the best practice to change IP addresses on all my access points connected/managed by the WLC.
    I have one WLC2504 controler and three AIR-LAP1041N access points the idea is to change management IP of the WLC from 192.168.2.100 (vlan1) to 192.168.12.100 (vlan79) and all access points accordingly:
    ap1 192.168.2.101 (vlan1) to 192.168.12.101 (vlan79)
    ap2 192.168.2.102 (vlan1) to 192.168.12.102 (vlan79)
    ap3 192.168.2.103 (vlan1) to 192.168.12.103 (vlan79)
    FYI all my APs obtain IP from DHCP server which sits in the vlan1 and each AP is connected to trunk port on Catalyst switch, trunk port (vlan1, vlan79, vlan80, vlan81, vlan82) carries traffic for different WLANs, so my question is what is the best way to change management IP on each device with the minimal downtime.
    Thank you for your advice,
    Luu Manioro

    Well, you will have downtime anyways, but how I would do this is the following:
    Make sure the WLC trunk port has vlan 79 being allowed
    Change the high availability on each AP to point to the hostname of the WLC and the new ip address, you don't need the old ip address anymore
    Console into the WLC or use the service port and change the management ip address and at the same time if possible, move the AP's to the new vlan 79, since they have already joined the WLC, they will know of the ip address of the WLC
    Reboot the AP by shutting down the PoE port or powering off/on the AP
    The AP will find the WLC since you have defined the high availability and also since the AP and WLC are on the same subnet.
    Scott

  • Is there an email account that will allow me to use a different from address with a POP account

    Need to be able to delete emails (I have an Optonline address) from iphone and ipad during the day, while retaining them on Mac Book Pro to view and file into folders in the evening. 
    Seemed like I could have my optonline emails forwarded to a Gmail account and just set up the Mac's mail to use my optonline account, while the iPad and iPhone used my Gmail account.  That worked, except for one issue - when I sent mail from the iPad or iPhone it would use my Gmail address and then people who used "reply" would have their replies sent back to my Gmail account.  I wanted to continue to use my optonline address since I have had this address for many, many years.  I saw that Gmail allows you to "send using a different from address", however because optonline is a POP account, they do not support the settings in Gmail and therefore I cannot get my optonline address to be verified by Gmail, meaning my emails continued to be sent from my Gmail address on my iPhone.
    I even tried setting up the Gmail account manually (using "Other" in the ipone settings) and putting in a comma with my optonline address in the address field, but still no success.
    Next, thought I'd try Yahoo mail - same thing - only sends mail with my Yahoo account.
    Then looked into iCloud since I use that for syncing Contacts and Calendars on all 3 devices - same thing - I can only send email using the @me.com address.
    Does anyone know of any other mail account that will work with my POP Optonline email address?  After 10+ years with this email address, having to announce to my world that I am changing my address (either to Gmail, Yahoo, or the iCloud's @me.com address) is something I really don't want to do.
    However, leaving just my optonline account on all 3 devices means I am constantly deleting the same emails on 3 devices everyday, which is also just not an effective use of my time.
    Please help!

    Here's one possibility:
    http://www.ideaflight.com
    The only way to keep students in the presentation, though, would be to lock the iPads to that app via the Guided Access mode:
    http://support.apple.com/kb/HT5509
    Whether you can do this remotely through one of the various mobile device management (MDM) soutions I don't know.
    Regards.

  • How do I change my apply id?  the one on my ipod is different from my ipad and wont let me adjust

    My apple ID is different from my ipod to ipad. When I try to enter my password, it says it is not valid even though I have changed and apple confirmed it is reset. Seems like a continuous loop.

    I did that but when I go into Settings - iCloud - to turn off the Find my IPhone option, it still asks for the old email address password.  Any ideas?

  • HT1277 I want to set up my email composition with a default me@alumni.myschool.edu address that is different from my ISP.  How do I configure?  Command line OK with me.

    Hi everyone,
    I want to set up my email composition with a default [email protected] address in the "Reply-to" field that is different from my ISP.  How do I configure mail to set this default? 
    I have looked through the help and fail to see an option in the Preferences -> Compose window. 
    I am OK with UNIX Command line tasks if that is the only way to set this default.
    Basically I have an alumni email redirection service, which is an address that never changes, even if I change ISP.  That way all my friends can use it an never change.  However, they tend to use whatever ISP address is, not what I have asked them to use. 
    I want to force emails I send to default to my alumni address when my friends reply, not my ISP address.  I want control over this.

    Confused Once Again wrote:
    I want to set up my email composition with a default [email protected] address in the "Reply-to" field that is different from my ISP.  How do I configure mail to set this default? 
    Email preferences --> select Account --> Account Information tab --> Email address.
    The Email address setting supplies the "from" mail address in a sent email for that account.
    I  been doing this for years (well in Eudora but it works in Mail too) since my return address is a mail forwarding service.  That lets me switch ISP's and no one is ever the wiser.  I just change the forwarding service "pointer" to point to my new ISP.  But everyone else see sees the same "from" address as it's always been.

  • How I download a MP4 series of videolectures (that the seller has stored in Amazon S3 and has sent to my iPad email address--which is different from the one I use from the MacBookPro) from my iPad to my MacBookPro-.

    How I download a MP4 series of videolectures (that the seller has stored in Amazon S3 and has sent to my iPad email address--which is different from the one I use from the MacBookPro) from my iPad to my MacBookPro (so that I can the save them in iTunes and then synchronize some of the videolectures to the iPad?)

    To set it up as POP you need to delete the account, reboot the phone by holding the HOME and SLEEP buttons at the same time until an Apple logo appears (about 10 seconds), then add it back following these instructions: Forcing creation of a POP or IMAP email account
    I understand that you have used the same account for many years, but the technology is also changing constantly. Years ago the standard was POP (Post Office Protocol), which was designed at a time when it was inconceivable that anyone would access their email from more than one device. When people started using multiple devices, for the most part they wanted to see changes on one device mirrored on another. A new standard, IMAP (Internet Mail Access Protocol) was developed. With iMAP the master copy of all messages resides on a server, and multiple devices are kept in sync with the server. So if you delete a message from one device it is removed from the server, and then removed from all other devices when they next sync. This is the same way Microsoft Exchange works. Other benefits of IMAP include the ability to have multiple mail folders that are kept in sync across devices. In your case you could use this to create a separate folder for each family member, so they could move messages to their own folder and not clutter up the shared Inbox. Most computer mail readers can even automatically sort incoming mail into folders based on the contents of the message.
    IMAP is considered a "higher level" standard than POP. When you create a mail account iOS devices query the server and ask what it supports; if it says it supports IMAP then the account is automatically configured for IMAP. So if you really want POP you must fool it, as described in the link above. In my experience Android devices default to the highest level protocol also, and I suspect newer Blackberries do (although it has been 15 years since I used a BB).

  • SMS 'from' address to iPhone is different

    I'm not sure if this is unique to Google, Verizon, iPhone or some combination of the three, but I haven't found anyone else that has reported this on the Web.
    I have a Google Group to send any update to it to my iPhone's SMS email address. When it arrives as an SMS message on my phone, the message shows it came from "[email protected]" where the part between '+' and '@' is different every time.
    This makes it impossible to add this as a contact and associate a text tone to that user.
    Is there something I can configure on the iPhone, Google or my Verizon account to prevent this behavior?
    TIA,
    Doug

    douglane, there is nothing in the phone that can be changed to address this. The "form" address is auto-generated by the application sending the message, so it WILL be different each time. I recommend contacting Google to see if it could be standardized to resolve the problem. 
    Thanks, 

  • My wife and I want to swap her 4s for my 4 while a take a short trip out of the country.  We use the same email address for itunes but different for email.  Can we just change our phone numbers and email addresses so we get our own messages?

    My wife and I want to swap her iphone 4s for my iphone 4 while I take a short trip out of the country.  We use the same itunes account but have different email accounts.  Can we just change our phone numbers with our carrier and change email addresses on our phones so we get correct messages, with out disturbing our other apps?

    The email is simple. Just delete her email acoount on her iPhone and configure your account into the phone and then do the same for her on your phone.
    The harder issue is that to switch the cellular phone service you will need to switch the SIM cards and the two phones do not use the same size SIM card.

  • How can I change my iTunes Account Name to something different from my Billing Information Name?

    I have an iTunes account using a relative's credit card. As a result, my iTunes Account Name is changed to her Name in the Billing Information.
    Can I change my iTunes Account name to something different from the Billing Information Name?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • HI, i bought my i touch 4th gen from the philippines, and i transferred here in the US. i would like to purchase an application here in the US but i wont allow me to. and i have been trying to change my address and country but it wont let me too.

    HI, i bought my i touch 4th gen from the philippines, and i transferred here in the US. i would like to purchase an application here in the US but i wont allow me to. and i have been trying to change my address and country but it wont let me too.

    What happens when you change your address in your iTunes account? You also have to have a payment method associated with the USA, For example gift cards are restricted to the country of their purchase.

  • I am trying to change my apple Id on my iPad from an old work email address to a new one.  I have changed it in FaceTime and on the iPad log in but can't get it to change in iTunes. Any ideas?

    I am trying to change my Apple ID on my iPad from an old work email address to a new personal address.  I have changed it on my new iPad and in FaceTime but can't get it to work in iTunes.  Any ideas?

    If they are no longer in your camera roll, save them to your camera roll before deleting the account (open your my photo stream album, tap Select, tap the photos, tap the share icon -- box with upward pointing arrow, the tap Save to Camera Roll).

  • Can anyone help me, I need to change the address (country) from US to UK so i can purchase?

    can anyone help me, I need to change the address (country) from US to UK so i can purchase?

    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html

Maybe you are looking for

  • TEXT_IO ...  replace first line

    Hello, i have a small Problem with the TEXT_IO.PUT_LINE builtin I want to write and read a .txt file with TEXT_IO It workes fine but if i use put_line to write something in, it replace all inside my .txt file My Question: Is it possible to replace on

  • How to get Line Number in Purchase Order

    Hi Experts I want to get Line Number of Matrix of Purchase Order. How I get it ? I want to compare Matrix Line Number with Line Number of POR1 in DB. Please Help me. Hepil Doshi

  • Gallery image size strangeness

    My link: http://squarehead.myvnc.com/sbliss/ The illustration gallery works fine, all the time. The photos gallery, however, doesn't properly size the images. Example: Switch to photos, select second photo (with seagull), it extends beyond the contai

  • Problems with the layout in tablet

    After finishing my website I wanted to set up my tablet layout. I copyed the objects from homepage and changed the size so it fits in the tablet size. But now it looks like that www.probilth.com  (on tablet) It's only on the half of the tablet and on

  • Re: Alien Dalvik 2.0 symbian belle (Android app's ...

    i have nokia 701. My phone web browser is not working. Net is working in other browsers like opera and uc browser. it's a big problum for me i can't watch online videos and i can't access some software. Someone plz plz help me to solve this problum.