GOOGLE Search

Google
 

Monday, February 4, 2008

Linux Tip No. 10: Changing your IP Address - Temporary

Changing your IP Address - Temporary

Syntax:

Ifconfig netmask

[root@bigboy tmp]# ifconfig eth0 10.0.0.1 netmask 255.255.255.0 up

The ifconfig command does NOT store this information permanently. Upon reboot this information is lost. (Manually add the commands to the end of the file /etc/rc.d/rc.local to execute them upon boot.)

No comments: