Sign in to follow this  
merkaba

[HELP] Change Static IP via Command Line

Recommended Posts

I must be missing something stupid...

 

I modified the two below files:

 

/etc/sysconfig/network-scripts/ifcfg-eth0 (ip/subnet)

/etc/sysconfig/network (gateway only)

 

when i do a nslookup 127.0.0.1 i can still see a "server" and "address" reference to my old subnet. Where else do i need to modify to make it work? When i do an ifconfig i see the proper IP/Broadcast/Subnet.

 

I did restart the box and tried a /etc/rc.network restart. Any suggestions?

Share this post


Link to post
Share on other sites
Sign in to follow this