Re: IPv6 with DHCP -- how is default route set?

Hi Jocef,

On Tue, Oct 20, 2015 at 02:03:36PM -0400, Josef Bacik wrote:

On 10/20/2015 12:37 PM, Eloy Paris wrote:

Usually, the default gateway comes via the Router-Advertisements.

I would rather expect that you choose


which will use RA + DHCP6 (if the RouterAdvertisements indicate to
use DHCP).

"Automatic, DHCP only" will not use RA at all.

I see. I had been using "Automatic, DHCP only" because I thought that
when using "Automatic" nothing happened (no global IP address was
obtained). However, I just tried and it worked, and a default IPv6
route was even installed.

I realize now that it is not that nothing happened but that things
took a long time (a couple of minutes) to happen -- first, there was
a delay to get an IPv6 address, and then there was a delay (after
the interface had a global IPv6 address) to see the default route

Are these delays normal; do they depend on the frequency of router
advertisements? If so, can NM not elicit a router advertisements by
sending a router solicitation? If that is what is supposed to happen
then I don't understand the delays. In contrast, IPv4 configuration
is immediate.

Part of the problem is NM groups together route discovery and SLAAC,
this makes it unusable for us in our ipv6 only clusters. I'm in
the process of fixing this now so you can still have proper route
discovery and use dhcpv6 or static addressing and then you'll get the
immediate ipv6 configuration. Thanks,

That'd be nice; I look forward to this in a future NM release.


Eloy Paris.-

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]