Configuring an OpenSolaris host to use a static IP address


I installed OpenSolaris 2009.06 yesterday, and noticed that the installer doesn’t give you the option to configure a static IP address. Network address are retrieved via DHCP, which isn’t an option for this host. To configure the host to use a static IP address, I changed the /etc/nwam/llp file. Here is the file before:

$ cat /etc/nwam/llp
bge0 dhcp

And here is the file after:

$ cat /etc/nwam/llp
bge0 static 192.168.1.33/24

Now my host can take advantage of NWAM, and use the static IP I allocated for it!

This article was posted by Matty on 2009-12-13 11:01:00 -0400 -0400