[OpenIndiana-discuss] IPv6 question

Mike Hyde mike.hyde1 at gmail.com
Thu Nov 17 16:09:45 UTC 2011


I did some digging in the docs from OI past and found this:

"DHCPv6 is invoked by Router Advertisements (RAs). Depending on how the router is configured, the system automatically invokes DHCPv6 on the interface on which the Router Advertisement message was received and uses DHCP to get an address and other parameters, or the system requests only data other than an address (for example, DNS servers) with DHCPv6.
The in.ndpd daemon receives the Router Advertisement message. It does this automatically on all interfaces plumbed for IPv6 on the system. When in.ndpd sees an RA that specifies that DHCPv6 should run, it invokes it."

So it sounds like it could be expecting something from the router sending out the RA and is not getting it.  May not be an eventhook fix, but a router.  I will see what I can find.





On Nov 17, 2011, at 9:48 AM, James Carlson wrote:

> Mike Hyde wrote:
>> I am getting an IPv6 address via RA, but I am not getting a DNS entry via dhcpv6.
> 
> By RA, I assume you mean "stateless autoconfiguration."
> 
> For DHCPv6, see in.ndpd(1M) and dhcpagent(1M).  The way it's supposed to
> work on a "normal" network is that the router (via RA messages) signals
> that clients on this network should run what it calls "stateful
> autoconfiguration" -- this means DHCPv6.
> 
> When this happens, in.ndpd will automatically invoke dhcpagent, and
> start doing DHCPv6 to get addresses and other data, depending on the
> "managed" and "other" flags in that RA message.
> 
> Depending on the configuration of your system (whether you're using NWAM
> or not), you may need to set up an /etc/dhcp/eventhook to do something
> useful with the "BOUND6" and "EXTEND6" events.
> 
> So, some questions:
> 
>  - Do you have explicit ndpd configuration (ndpd.conf)?  If so, do you
>    have stateful autoconf disabled?
> 
>  - Is your local router configured to advertise the need for DHCPv6?
>    If it can't be configured that way, then see ifconfig(1M) for ways
>    to start up DHCPv6 manually.
> 
>  - What does "ifconfig -a" say about the state of the interfaces?  You
>    will see "DHCP" on the IPv6 interface if DHCPv6 is running.
> 
>  - If the interface is already running DHCPv6, then try:
> 
> 	dhcpinfo -i bge0 -v6 DNSAddresses
> 
>    (Replace "bge0" with the name of your interface.)
> 
> If that last bit works, then /etc/dhcp/eventhook is probably what you
> need.
> 
> -- 
> James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the OpenIndiana-discuss mailing list