Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

IPv6: Only one out of four DHCPV6-PD working

$
0
0

Hi,

 

I've got a fixed IPv6 /56 subnet assigned by my ISP, with a 8 bit prefix this gives me (theoretically) 256 subnets. I have 4 interfaces on the LAN side on my ER:

 

  • eth0
  • eth0.15
  • eth0.16
  • eth0.32

To assign each of these interfaces an own IPv6 subnet I did this config:

 

ethernet eth7 {
        address 10.100.0.100/24
        description "Internet (PPPoE)"
        duplex auto
        pppoe 0 {
            default-route auto
            dhcpv6-pd {
                pd 0 {
                    interface eth0 {
                        host-address ::0a00:0001
                        no-dns
                        prefix-id 0a
                    }
                    prefix-length 56
                }
                pd 1 {
                    interface eth0.15 {
                        host-address ::0a32:0001
                        no-dns
                        prefix-id 32
                    }
                    prefix-length 56
                }
                pd 2 {
                    interface eth0.16 {
                        host-address ::0a10:0001
                        no-dns
                        prefix-id 10
                    }
                    prefix-length 56
                }
                pd 3 {
                    interface eth0.32 {
                        host-address ::0a20:0001
                        no-dns
                        prefix-id 20
                    }
                    prefix-length 56
                }
                prefix-only
                rapid-commit enable
            }
 ....

The issue is: Only one of these prefix delegations are working. In this config, the last subnet (eth0.32) will "get" the IPv6 subnet. As long as I just define one prefix delegation to a subnet, it works fine.

 

From my understanding each of my interfaces should get its /64 subnet with the assigned prefix. Did I make a mistake, or is this a bug? My configuration above will result in this:

 

root@router:~# show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                        S/L  Description                 
---------    ----------                        ---  -----------                 
eth0         10.0.0.1/12                       u/u  Core network                
eth0.15      10.50.0.1/22                      u/u  Guest-VLAN                  
eth0.16      10.16.0.1/24                      u/u  Webproxy Network            
eth0.32      10.32.0.1/16                      u/u  Voice-VLAN                  
             2003:x:xxx:xx20::a20:1/64        
eth1         -                                 u/D                              
eth2         192.168.1.1/24                    u/D  Admin default               
eth3         -                                 u/D                              
eth4         -                                 u/D                              
eth5         -                                 u/D                              
eth6         -                                 u/D                              
eth7         10.100.0.100/24                   u/u  Internet (PPPoE)            
lo           127.0.0.1/8                       u/u                              
             ::1/128                          
pppoe0       xx.xxx.xxx.xxx                    u/u                              
             2003:x:xxx:xxxx:2d62:c877:4f22:903/64

 

 

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>