From Fedora Project Wiki
(SLAAC with RDNSS and DNSSL)
(SLAAC with RDNSS and DNSSL)
Line 43: Line 43:
 
have to be solved on IETF level.
 
have to be solved on IETF level.
  
[https://bugzilla.redhat.com/show_bug.cgi?id=753482 Bug 753482: wifi drops every 15 minutes (ip-config-unavailable) because of IPv6 RDNSS timeout]
+
[https://bugzilla.gnome.org/show_bug.cgi?id=676322 Gnome Bug 676322 - IPv6 DNSSL does not get into /etc/resolv.conf]
 +
 
 +
[https://bugzilla.redhat.com/show_bug.cgi?id=753482 Fedora Bug 753482 - wifi drops every 15 minutes (ip-config-unavailable) because of IPv6 RDNSS timeout]
  
 
=== SLAAC with DHCPv6 Information Request ===
 
=== SLAAC with DHCPv6 Information Request ===

Revision as of 14:38, 18 May 2012

NetworkManager supports the IPv6 protocol.

Static configuration

No ra or dhcp configuration. NetworkManager supports static configuration.

Automatic configuration

To experiment with automatic IPv6 configuration in NetworkManager we recommend trying one or more of the following scenarios:

SLAAC without DNS configuration

/etc/radvd.conf:

interface eth0 {
    AdvSendAdvert on;
    prefix 2001:db8:1:2::/64 {};
};

DNS queries typically use IPv4. NetworkManager supports this configuration and it also works when device is ignored by NetworkManager.

SLAAC with RDNSS and DNSSL

/etc/radvd.conf:

interface eth0 {
    AdvSendAdvert on;
    prefix 2001:db8:1:2::/64 {};
    RDNSS 2001:db8:1:2::ab {};
    DNSSL example.net {};
};

The contents of host's /etc/resolv.conf is filled in by NetworkManager. NetworkManager currently supports RDNSS but not DNSSL. NetworkManager has problems with RDNSS but they have to be solved on IETF level.

Gnome Bug 676322 - IPv6 DNSSL does not get into /etc/resolv.conf

Fedora Bug 753482 - wifi drops every 15 minutes (ip-config-unavailable) because of IPv6 RDNSS timeout

SLAAC with DHCPv6 Information Request

/etc/radvd.conf:

interface eth0 {
    AdvSendAdvert on;
    AdvOtherConfigFlag on;
    prefix 2001:db8:1:2::/64 {};
};

/etc/dhcp/dhcpd6.conf:

subnet6 2001:db8:1:2::/64 {
    option dhcp6.name-servers 2001:db8:1:2::ab;
    option dhcp6.domain-search "example.net";
}

This is often used to supply DNS information to hosts that don't support RDNSS/DNSSL in Router Advertisements. NetworkManager fully supports this configuration.

DHCPv6 address and DNS configuration

/etc/radvd.conf:

interface eth0 {
    AdvSendAdvert on;
    AdvOtherConfigFlag on;
    prefix 2001:db8:1:2::/64 {
        AdvAutonomous off;
    };
};

/etc/dhcp/dhcpd6.conf:

subnet6 2001:db8:1:2::/64 {
    option dhcp6.name-servers 2001:db8:1:2::ab;
    option dhcp6.domain-search "example.net";
    range6 2001:db8:1:2::1:0000 2001:db8:1:2::1:ffff
}

This is a typical DHCPv6 configuration. Note that routing information are stil delivered through Router Advertisements. NetworkManager fails in this scenario.

Gnome Bug 676317 - IPv6 DHCPv6 configuration fails: nm_system_replace_default_ip6_route returns -7