Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Gateway keeps dropping off

Status
Not open for further replies.

visvid

Technical User
Jun 3, 2002
131
GB
I am applying some patches today and each time i do a shutdown -i6 -g0 -y when the system reboots it looses it default gateway, which is a pain.
Each time i am having to add it
ifconfig hme0 plumb
ifconfig hme0 inet [ip_address] netmask 255.255.255.0 broadcast [broadcast_address]
ifconfig hme0 up
ping <node_address>
I have checked /etc/defaultrouter to confirm gateway address is in and checked the /etc/nsswitch.conf file as well.

Any ideas
visvid
 
Hi there!
Did your Sun Box looses its NIC's IP Address too?

HTT
 
yes i have just down another i6 and ifconfig -a shows ip address is missing ... i did add this to the box when i built it ?
 
Hi,

Do you have a /etc/hostname.hme0 file. It should exist with your servers hostname in it.

Hope this helps.



...So You're the Easter Bunny!
 
Yes i did , what we have done is run again the S69inet and S30network.sh as when you typed hostname it came back as unknown , this seems to have worked, but we will know on th e next reboot after installing vxvm
 
running those to scripts seems to have done the trick, but still unsure why it should of dropped out in the first place
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top