Hugh,

Thanks. But some how this didn't work. I did try this before itself.

The NWAM applet shows some error and then switches to Automatic and DHCP :(

-Siva


On 07/26/10 01:11 PM, Hugh McIntyre wrote:
Sivakumar Shanmugasundaram wrote:


Hello All!

This is for my desktop. I want to change default behaviour of DHCP to
static IP.

I am aware of the steps by using the physical:default instead of NWAM.

But, is there a way to set the hostname and static IP using NWAM?

Yes, see below.

I am running the latest internal build. The configuration dialogs are
different from what I was using before.

So, what is the 'official' way of doing it? Thanks

I'm not sure if this is the official way or not, but what I did was:

1. Leave svc:/network/physical:nwam enabled. You don't need to and should not switch to svc:/network/physical:default.

2. Edit /etc/nwam/llp, replacing the "atge0 dhcp" line with something like the following (replace "atge0" with your network interface name):

    atge0 static 1.2.3.4

3.  Then:

      # svcadm restart nwam
      # route add -p 1.2.3.1    # default route IP address

4. Then configure DNS, etc. You may also want to add the IP/hostname to /etc/inet/hosts and /etc/inet/ipnodes -- I have this configured (and it's recommended) but I also have the local host in DNS via a local DNS server.

Hugh.


_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to