?

Log in

No account? Create an account

Previous Entry | Next Entry

DHCP without NWAM in OpenSolaris 2008.05

I just turned off NWAM so that I could get IPv6 auto-configuration working. That part's easy:

touch /etc/hostname6.interface
svcadm disable network/physical:nwam
svcadm enable network/physical:default

The hard part is that this broke IPv4 DHCP. The trick turned out to be simple, but take a lot of playing to find:

touch /etc/hostname.interface
touch /etc/dhcp.interface

This solved errors like Failed to configure IPv4 DHCP interface(s): interface and in.routed: route 0.0.0.0 --> gateway nexthop is not directly connected

Comments

( 4 comments — Leave a comment )
serishema
Aug. 23rd, 2008 08:18 pm (UTC)
NWAM in solaris is stupid, never works properly even with IPv4
(Anonymous)
Jan. 28th, 2009 11:31 pm (UTC)
Thanks!
worked like a champ.
(Anonymous)
Jul. 15th, 2009 09:09 pm (UTC)
any hints on that in 2009.06?
Hi there,

thanks for sharing your insights.

However, the autoconfiguration does not work for me on Opensoaris 2009.06 (with radvd/openwrt router).

The ipv4 part works well, i had the same problem after deactivating nwam.

any hints?

aredridel
Jul. 15th, 2009 09:51 pm (UTC)
Re: any hints on that in 2009.06?
Hm. I've not used 2009.06 in that setting yet. I'll have to give it a try and an update.
( 4 comments — Leave a comment )