Last Updated February 24, 2007
How to Change IP Address on Unix?
By far the cleanest way of doing this is by running usr/sbin/sys-unconfig
This will let you re-enter all those install type questions: hostname, IP address, nameservices etc,etc. This will also require a reboot.
You can change the IP address of your UNIX server with the following command:
#ifconfig lo0:0 inet <ip-address> netmask<subnetmask> broadcast<broadcast addr> down
#ifconfig le0 up
You need to make changes in three files: