Solaris 8: NIC Loses IP Address On Reboot

  • Follow


I have a box with a fresh installation of Solaris 8; the installation
completed succesfully but I'm having a problem getting the network card
to "remember" its IP address.  I have tried editing the network
configuration files manually as well as using 'ifconfig' all with the
same result: the NIC will initially take the 9.43.239.31 address that I
give it and allow traffic in both directions with no errors until
reboot, whereupon it will default back to 9.43.239.1 and stop working.

'ifconfig -a' shows 9.43.239.1 after reboot even though
'/etc/hostname.hme0' and '/etc/hosts' both are both always set for
9.43.239.31 - if I run 'ifconfig hme0 9.43.239.31' the correct address
will show up for 'ifconfig -a' and the NIC will function nomrally until
reboot.

How can I get the NIC to "remember" its IP address?

0
Reply rishi.chopra (2) 4/17/2006 7:32:16 PM

In article <1145302336.857185.135090@i40g2000cwc.googlegroups.com>,
	rishi.chopra@gmail.com writes:
> I have a box with a fresh installation of Solaris 8; the installation
> completed succesfully but I'm having a problem getting the network card
> to "remember" its IP address.  I have tried editing the network
> configuration files manually as well as using 'ifconfig' all with the
> same result: the NIC will initially take the 9.43.239.31 address that I
> give it and allow traffic in both directions with no errors until
> reboot, whereupon it will default back to 9.43.239.1 and stop working.
> 
> 'ifconfig -a' shows 9.43.239.1 after reboot even though
> '/etc/hostname.hme0' and '/etc/hosts' both are both always set for

Also check /etc/inet/ipnodes (which usually overrides /etc/hosts)

> 9.43.239.31 - if I run 'ifconfig hme0 9.43.239.31' the correct address
> will show up for 'ifconfig -a' and the NIC will function nomrally until
> reboot.
> 
> How can I get the NIC to "remember" its IP address?

Have you also got an empty /etc/dhcp.hme0 in which case
it might be getting it via DHCP?  If so, delete the file.

-- 
Andrew Gabriel
0
Reply andrew 4/17/2006 8:03:47 PM


I would look at the DHCP post, also if that does not work, please post your 
/etc/hostname.<interface>, your /etc/hosts, your /etc/nodename entry and the 
output from hostname.


<rishi.chopra@gmail.com> wrote in message 
news:1145302336.857185.135090@i40g2000cwc.googlegroups.com...
>I have a box with a fresh installation of Solaris 8; the installation
> completed succesfully but I'm having a problem getting the network card
> to "remember" its IP address.  I have tried editing the network
> configuration files manually as well as using 'ifconfig' all with the
> same result: the NIC will initially take the 9.43.239.31 address that I
> give it and allow traffic in both directions with no errors until
> reboot, whereupon it will default back to 9.43.239.1 and stop working.
>
> 'ifconfig -a' shows 9.43.239.1 after reboot even though
> '/etc/hostname.hme0' and '/etc/hosts' both are both always set for
> 9.43.239.31 - if I run 'ifconfig hme0 9.43.239.31' the correct address
> will show up for 'ifconfig -a' and the NIC will function nomrally until
> reboot.
>
> How can I get the NIC to "remember" its IP address?
> 


0
Reply Gary 4/17/2006 8:27:05 PM

2 Replies
977 Views

(page loaded in 0.078 seconds)

Similiar Articles:













7/21/2012 6:42:29 AM


Reply: