[Sunhelp] 2nd NIC
morgan.g
morgang at hotmail.com
Thu Jul 1 22:01:59 CDT 1999
Hi,
Chamging or restoring IP addresses is very simple.
These are all the involved files:
Lets'a say you want to change the ip fro le0 interface from 1.1.1.1
to 2.2.2.2
1. /etc/hosts
2. /etc/hostname.interface_name (interface_name = qfe0, le0 etc)
3. /etc/netmasks
example:
#(old)
#1.1.0.0 255.255.255.0
#(new)
2.2.0.0 255.255.255.0
Example for on the fly changes without re-boot:
# ifconfig le0 inet 2.2.2.2 netmask + up
That's all friend.
Morgan
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
More information about the SunHELP
mailing list