EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Solaris ]

"Solaris IP alias" - İsmail Yenigül - (2004-08-17 14:58:37)   [744432]

# ifconfig interface:N plumb
# ifconfig interface:N ip_adress up

example:
# ifconfig ce0:1 plumb
# ifconfig ce0:1 192.168.1.1 netmask 255.255.255.0 up

to enable this IP alias at startup

1. create /etc/hostname.ce0:1 and type a name for this IP
# cat /etc/hostname.ce0:1
host_1
#

2. Add IP & host entry to the /etc/hosts

192.168.1.1 host_1 # IP alias for ce0 interface





Mail to My Friend , Home Page