Routing
Routing

DHCP DUAL STACK SINGLE SESSION

3 weeks ago

Hi everyone, 

I'm trying to configure a BNG MX204 to work with DHCP-SERVER DUAL STACK over a auto stacked VLAN.

However the CPE is not receiving a gateway, follow my settings below in case someone can help me

 

show VLAN-IPOE-QnQ  
routing-instances {
   "$junos-routing-instance" {
       interface "$junos-interface-name" {
           any;
       }
   }
}
interfaces {
   demux0 {
       unit "$junos-interface-unit" {
           demux-source inet;
           proxy-arp;
           vlan-tags outer "$junos-stacked-vlan-id" inner "$junos-vlan-id";
           demux-options {
               underlying-interface "$junos-interface-ifd-name";
           }
           family inet {
               unnumbered-address lo0.0;
           }
           family inet6 {
               unnumbered-address lo0.0;
           }
       }
   }
}
protocols {
   router-advertisement {
       interface "$junos-interface-name" {
           max-advertisement-interval 900;
           min-advertisement-interval 300;
           managed-configuration;
           other-stateful-configuration;
       }
   }
}

show DHCP-DUAL-STACK  
routing-instances {
   "$junos-routing-instance" {
       interface "$junos-interface-name" {
           any;
       }
   }
}
interfaces {
   demux0 {
       unit "$junos-interface-unit" {
           proxy-arp;
           family inet {
               unnumbered-address lo0.0;
           }
           family inet6 {
               unnumbered-address lo0.0;
           }
       }
   }
}
protocols {
   router-advertisement {
       interface "$junos-interface-name" {
           max-advertisement-interval 900;
           min-advertisement-interval 300;
           managed-configuration;
           other-stateful-configuration;
       }
   }
}

show interfaces xe-0/1/0                
description "LAN SW ";
flexible-vlan-tagging;
auto-configure {
   stacked-vlan-ranges {
       dynamic-profile VLAN-IPOE-QnQ {
           accept dhcp-v4;
           ranges {
               any,any;
           }
       }
   }
}
group DHCP-IPOE {
   overrides {
       delete-binding-on-renegotiation;
       dual-stack IPOE-DAUL-STACK;
   }
   interface xe-0/1/0.0;
}
dual-stack-group IPOE-DAUL-STACK {
   authentication {
       password xxxxx;
       username-include {
           relay-agent-interface-id;
       }
   }
   access-profile ACCESS-PROFILE;
   dynamic-profile DHCP-DUAL-STACK;
   protocol-master inet;
}

Client IPv6 Address:                   2804:XXXX:3ba5::/128
    Lease Expires:                         2020-02-07 15:54:46 BRT
    Lease Expires in:                      85331 seconds
    Preferred Lease Expires:               2020-02-07 15:54:46 BRT
    Preferred Lease Expires in:            85331 seconds
    Client IPv6 Prefix:                    2804:3e50:XXX:100::/56
    Lease Expires:                         2020-02-07 15:54:46 BRT
    Lease Expires in:                      85331 seconds
    Preferred Lease Expires:               2020-02-07 15:54:46 BRT
    Preferred Lease Expires in:            85331 seconds
    Client DUID:                           LL0x1-c4:71:54:55:b9:f9
    State:                                 BOUND(DHCPV6_LOCAL_SERVER_STATE_BOUND)
    Lease Start:                           2020-02-06 15:54:46 BRT
    Last Packet Received:                  2020-02-06 15:54:47 BRT
    Incoming Client Interface:             demux0.3221226007
    Client Interface Svlan Id:             996
    Client Interface Vlan Id:              2400
    Demux Interface:                       demux0.3221226008
    Client Pool Name:                      POOL-PD
    Client Prefix Pool Name:               POOL-PD
    Client Profile Name:                   DHCP-DUAL-STACK$$02
    Client Id Length:                      10
    Client Id:                             /0x00030001/0xc4715455/0xb9f9
    Dual Stack Group                       IPOE-DAUL-STACK
    Dual Stack key                         IFL/
    Dual Stack Peer Address                X.X.X.X

 

 

4 REPLIES 4
Routing

Re: DHCP DUAL STACK SINGLE SESSION

3 weeks ago

Hello, have ou tried to monitor traffic on interface for router solicitation/adv?

Routing

Re: DHCP DUAL STACK SINGLE SESSION

[ Edited ]
3 weeks ago

Hi,

I have the following situation, and i dont see RA in any demux, maybe the problem is going up on two separate demux, but i don't know what i'm doing wrong. In the CPE side, i receive de Prefix Delagation, devices under this cpe received too, but in gateway of WAN interface IPv6 still None.

 

# run show dhcpv6 server binding

Interface IP Address/VLAN ID User Name LS:RI
demux0.3221226171 0x8100.996 0x8100.2400 default:default
demux0.3221226173 196.193.156.8 12/16/FHTT06676a90:2400 default:default
* 2804:xxx:4ce1::1
* 2804:xxx:4ce1:100::/56


# run show dhcpv6 server binding
Prefix Session Id Expires State Interface Client DUID
2804:xxxx:4ce1::1/128 1118 85333 BOUND demux0.3221226171 LL_TIME0x1-0x1c29-a0:ab:1b:a8:88:eb
2804:xxxx:4ce1:100::/56 1118 85333 BOUND demux0.3221226171 LL_TIME0x1-0x1c29-a0:ab:1b:a8:88:eb

 

# run show subscribers

Interface IP Address/VLAN ID User Name LS:RI
demux0.3221226171 0x8100.996 0x8100.2400 default:default
demux0.3221226173 196.193.156.8 12/16/FHTT06676a90:2400 default:default
* 2804:xxx:4ce1::1
* 2804:xxx:4ce1:100::/56


# run show ipv6 neighbors
IPv6 Address Linklayer Address State Exp Rtr Secure Interface
fe80::a2ab:1bff:fea8:88eb a0:ab:1b:a8:88:eb reachable 0 no no demux0.3221226171
2804:xxxx:4ce1::1 a0:ab:1b:a8:88:eb reachable 0 no no demux0.3221226173


# run show dynamic-profile session client-id 1116
VLAN-IPOE-QnQ {
routing-instances {
default {
interface demux0.3221226171 {
any;
}
}
}
interfaces {
demux0 {
unit 3221226171 {
demux-source inet;
demux-source inet6;
proxy-arp;
vlan-tags outer 0x8100.996 inner 0x8100.2400;
demux-options {
underlying-interface xe-0/1/0;
}
family {
inet {
unnumbered-address lo0.0;
}
inet6 {
unnumbered-address lo0.0;
}
}
}
}
}
protocols {
router-advertisement {
interface demux0.3221226171 {
max-advertisement-interval 900;
min-advertisement-interval 300;
managed-configuration;
other-stateful-configuration;
}
}
}
}

# run show dynamic-profile session client-id 1118
CLIENTES-IPOE {
interfaces {
demux0 {
unit 3221226173 {
proxy-arp;
family {
inet {
filter {
input :FWF:1R2C:4:20M;
output :FWF:1R2C:4:50M;
}
unnumbered-address lo0.0;
}
inet6 {
filter {
input :FWF:1R2C:6:20M;
output :FWF:1R2C:6:50M;
}
unnumbered-address lo0.0;
}
}
}
}
}
protocols {
router-advertisement {
interface demux0.3221226173;
}
}
}

 

 ## The CPE Side i have this.:

 

IPv6 Connection Information
IPv6 Connection Type SLAAC/DHCPv6
Network Status Connected
WAN IPv6 Address fe80::a2ab:1bff:fea8:88eb/64
2804:xxxx:4ce1::1/128
IPv6 Default Gateway None
Primary DNS Address 2804:xxxx::ddd7
Seccondary DNS Address 2804:xxxx::ddd8
LAN IPv6 Link-Local Address fe80::a2ab:1bff:fea8:88ea/64
DHCP-PD Enabled
DHCP-PD Prefix 2804:xxxx:4ce1:100::/56
LAN IPv6 Address 2804:xxxx:4ce1:100:a2ab:1bff:fea8:88ea/64

 

Active LAN IPv6 Client
IPv6 Address Mac Address
2804:xxxx:4ce1:100:d4a9:901f:cb72:e8b3 b4:f7:a1:9e:c2:64
 

 

 

Routing

Re: DHCP DUAL STACK SINGLE SESSION

2 weeks ago

Hi,

 

Could you please provide output of "show ipv6 router-advertisement"?

 

Best regards,

Sergii

Routing

Re: DHCP DUAL STACK SINGLE SESSION

2 weeks ago

Hi, i found my erros in my dynamic profile, in dynamic profile for dhcp dual stack group, i change to this

interfaces {
   "$junos-interface-ifd-name" {
       unit "$junos-underlying-interface-unit" {
and i received the gateway now, the devices access the internet wih ipv6 received by prefix-delagation, my ontly problema now, is in global ipv6 in wan of CPE, i cant ping, because they up in routing table like acess and not access-internal.