Rawr!!!

Static IP OpenSolaris

Written by
November 23rd, 2009

Setting a static IP in OpenSolaris is similar to Linux, but yet again; differences arise…

vi /etc/resolve.conf (make sure dns is correct [nameserver 10.0.0.1]
vi /etc/nwam/llp [change 'gani0 dhcp' to 'gani0 static 10.0.0.100' where gani0 is your interface, and 10.0.0.100 is the ip address you would like to assign]
# restart network
vi /etc/defaultrouter (add your router '10.0.0.1')
svcadm enable svc:/network/physical:default
svcadm restart svc:/network/physical:nwam

This is a quickie but a goodie…

Resources:

http://briancline.org/read/file_server_3_tweaking_opensolaris

Posted in: Opensolaris | Tags: , |

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>