Blog Archive

Thursday, 26 August 2004

configuring a network interface on solaris

configuring a network interface on solaris:



ifconfig eri1 plumb

ifconfig eri1 up

ifconfig eri1 192.10.2.27 netmask 255.255.255.0 broadcast 192.10.2.255 up



if you want to make the ip address permanent you need to make a file called /etc/hostname.eri1 to do this type:

echo 192.10.2.27 > /etc/hostname.eri1



also, don't forget to add entries to /etc/hosts and /etc/netmasks