The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 11-30-2002
merlin
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
ifconfig?

I've never used ifconfig to change a IP when I always want it to have that as a IP. I run Solaris 7 & 8 + Sun OS. Ifconfig is used to change a IP yes. BUT after you restart the system it'll go back to the IP that is in the host table.

ifconfig is a temp thing. It wont keep the IP you added with ifconfig after a reboot.

As the above post says we need to know what your O/S is.

In Solaris though I'd change the /etc/hosts file, and whatever else I would like to change.



Just remember ifocnfig is only for temp IP's. It's good to know and handy to use if you work on more then one network.