[OpenIndiana-discuss] IPv6 DHCP
James Carlson
carlsonj at workingcode.com
Mon Feb 27 20:58:59 UTC 2012
russell wrote:
> Hi,
>
> I have configured my OI_151 installation with a static IPv4 address and
> would like to configure IPv6 to work with DHCP but the notes I've found
> appear to require nwam to be running but I have disabled this.
Might be helpful to provide a link or a copy of those notes. They don't
sound accurate.
> I would appreciate a suggestion on how to configure OI manually to only
> use DHCP for IPv6. I would like to have the IPv6 use both SLAAC and a
> DHCPv6 server.
The standards-compliant way to do this is to plumb up one or more IPv6
interfaces and make sure that svc:/network/routing/ndp:default is enabled.
When you do that, in.ndpd(1M), the IPv6 autoconfiguration daemon, will
run. That daemon will listen to ICMPv6 Router Advertisement messages.
If the messages say that a given prefix uses DHCPv6, then it will
automatically start dhcpagent(1M), and that will configure the address.
(Unlike DHCPv4, the prefix length -- aka "subnet" -- comes from the RA,
not from the DHCP server. Only the address itself comes from DHCP.
It's how DHCPv4 should have been done ...)
If you have one or more IPv6 routers, and they all say that you
shouldn't run DHCPv6 on a prefix, then it will not be run. If you have
no IPv6 routers (a bit of a degenerate case in the standards), then
DHCPv6 is required to run, and the system will run it, but it's almost
completely useless.
See in.ndpd(1M), dhcpagent(1M), and ifconfig(1M) for details.
--
James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
More information about the OpenIndiana-discuss
mailing list