[indiana-discuss] Setting a static IP through nwam?

Glenn Lagasse Glenn.Lagasse at Sun.COM
Thu Apr 10 13:21:27 PDT 2008


Hi Josh,

* Josh (joshchang at stat.ucla.edu) wrote:
> How do I go about assigning a static ip address as well as subnet mask
> to an interface using nwam?

You'll want to edit /etc/nwam/llp.  You'll see something like:

nge0    dhcp

Change that to:

nge0    static  192.168.1.140/24

Which gives the nge0 interface (you'll probably have something other
than nge0) an address of 192.168.1.140 and a netmask of 255.255.255.0.

Cheers,

Glenn


More information about the indiana-discuss mailing list