My guess is nwam (Network Auto-magic) might be enabled.

Do this :
# svcadm disable nwam
# svcadm enable svc:/network/physical:default



Frank-Stefan Meyer wrote:

>In Belenix 0.7 I tried to switch from DHCP to static IP - without 
>success. I did all the steps (that are normal for Solaris) described in 
>the FAQ (No. 22), but all this had no effect. After reboot, it's DHCP again.
>
>Also the "svcadm disable network/inetmenu" command (see FAQ) does not 
>work, as inetmenu obviously doesn't exist on the system.
>
>The normal way in Solaris to activate DHCP for an interface is, to 
>create an empty file /etc/dhcp.<interface>, which in my case would be 
>/etc/dhcp.e1000g0. Of course, I didn't create it, so this file doesn't 
>exist in my /etc. My /etc/nodename, /etc/hosts, /etc/hostname.e1000g0, 
>/etc/defaultrouter, /etc/resolv.conf and /etc/nsswitch.conf are as they 
>should be for static IP. But the system ignores all: the interface 
>remains under DHCP control...
>
>So where is the setting to turn off the DHCP client? I didn't find a way 
>to prevent "dhcpadm" to start :(
>
>Any idea?
>
>Thanks,
>Frank
>_______________________________________________
>belenix-discuss mailing list
>http://mail.opensolaris.org/mailman/listinfo/belenix-discuss
>http://groups.google.com/group/belenix-discuss
>  
>

Reply via email to