For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > OpenSolaris > 2009.06 > Static IP Address

Static IP Address

Created by dave. Last edited by dave, 9 years and 92 days ago. Viewed 1,978 times. #1
[edit] [rdf]
labels
attachments

Setting a Static IP on OpenSolaris

Find your device:

root@cert1:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
rtls0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.16.5.120 netmask fffff000 broadcast 10.16.15.255
        ether 0:21:27:f6:26:75

Edit /etc/nwam/llp:

rtls0   static 10.16.5.120/20

Restart the network:

svcadm restart svc:/network/physical:nwam

Beware /etc/hosts, /etc/resolv.conf, etc things that (may) have to be dealt with as a result of this change.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt