Project

General

Profile

Actions

Bug #2627

closed

Old delegated prefixes are not removed from the LAN interface

Added by Anonymous over 11 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv6)
Target version:
-
Start date:
09/07/2012
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1-IPv6
Affected Architecture:
All

Description

When the LAN tracks the WAN via DHCPv6 Prefix Delegation and the WAN bounces, thus receiving a new delegated prefix, the old prefix is not removed from the LAN interface. Also, radvd still advertises the old delegated prefix.

In the example below, the newly-delegated IPv6 prefix is x:y:1014:408e::/64.

Destination     Gateway     Flags     Refs     Use     Mtu     Netif     Expire
default     fe80::1%pppoe1     UGS     0     207     1492     pppoe1      
::1     ::1     UH     0     0     16384     lo0      
x:y:1014:124::/64     link#1     U     0     0     1500     em0      
x:y:1014:124::1     link#1     UHS     0     0     16384     lo0      
x:y:1014:408e::/64     link#1     U     0     0     1500     em0      
x:y:1014:408e:222:4dff:fe6b:73fc     link#1     UHS     0     0     16384     lo0      
x:y:1014:52c7::/64     link#1     U     0     156     1500     em0      
x:y:1014:52c7::1     link#1     UHS     0     0     16384     lo0      
x:y:1015:f005::/64     link#14     U     0     0     1492     pppoe1      
x:y:1015:f005::bc1b:b403     link#14     UHS     0     0     16384     lo0     

The radvd.conf file after reconnection is:

# Generated for DHCPv6 Server lan
interface em0 {
        AdvSendAdvert on;
        MinRtrAdvInterval 5;
        MaxRtrAdvInterval 20;
        AdvLinkMTU 1280;
        AdvDefaultPreference medium;
        prefix x:y:1014:124:0:0:0:0/64 {
                DeprecatePrefix on;
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr on;
        };
        route ::/0 {
                RemoveRoute on;
        };
        RDNSS x:y:1014:124::1 { };
        DNSSL localdomain { };
};

Actions

Also available in: Atom PDF