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, 14 years and 222 days ago. Viewed 2,988 times. #1
[edit] [rdf]

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 netmask ff000000
rtls0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet netmask fffff000 broadcast
        ether 0:21:27:f6:26:75

Edit /etc/nwam/llp:

rtls0   static

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: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt