[j-nsp] DHCPv6 Relay Prefix Delegation

Aaron Gould aaron1 at gvtc.com
Thu Jun 27 20:35:35 EDT 2024


I was able to get mine working... difference with mine at least is that I am exporting IA_PD prefixes into 6VPE and not OSPFv3 like you mentioned Jan.  I'd imagine you could accomplish the ospfv3 redistribution is a similar fashion... and export policy matching route type 13 (Access) and export into ospf3

The IA_NA CPE WAN address is a /128 out of the /64 I have on the irb facing the cpe ftth residential subscribers
The IA_PD CPE LAN delegated prefix is a /56 out of a /52
I am testing all this running a DHCPv6 server in Junos on this ACX5048
I would like to know if there is a way to log/syslog these address assignments for historical tracking purposes.


{master:0}
me at acx5048> show configuration | display set | grep "inet6 address|dhcp-local-server|my-v6|router-advertisement|address-protection"
set interfaces irb unit 1010 family inet6 address 1234:abcd:ffff::1/64
set routing-instances five system services dhcp-local-server dhcpv6 group my-group overrides interface-client-limit 200
set routing-instances five system services dhcp-local-server dhcpv6 group my-group overrides delegated-pool my-v6-pd-pool
set routing-instances five system services dhcp-local-server dhcpv6 group my-group interface irb.1010
set routing-instances five access address-assignment pool my-v6-ia-na-pool-1 family inet6 prefix 1234:abcd:ffff::/64
set routing-instances five access address-assignment pool my-v6-ia-na-pool-1 family inet6 range v6-range-1 low 1234:abcd:ffff::a/128
set routing-instances five access address-assignment pool my-v6-ia-na-pool-1 family inet6 range v6-range-1 high 1234:abcd:ffff::ffff:ffff/128
set routing-instances five access address-assignment pool my-v6-pd-pool family inet6 prefix 1234:abcd:ffff:1000::/52
set routing-instances five access address-assignment pool my-v6-pd-pool family inet6 range v6-pd prefix-length 56
set routing-instances five access address-protection

{master:0}
me at acx5048> show configuration routing-instances five | display set | grep port
set routing-instances five vrf-import import-vrf-five
set routing-instances five vrf-export export-vrf-five

{master:0}
me at acx5048> show configuration policy-options policy-statement export-vrf-five | display set
set policy-options policy-statement export-vrf-five term 1 from family inet
set policy-options policy-statement export-vrf-five term 1 from protocol direct
set policy-options policy-statement export-vrf-five term 1 then community add export-comm-vrf-five-v4
set policy-options policy-statement export-vrf-five term 1 then accept
set policy-options policy-statement export-vrf-five term 2 from family inet6
set policy-options policy-statement export-vrf-five term 2 from protocol direct
set policy-options policy-statement export-vrf-five term 2 from protocol access
set policy-options policy-statement export-vrf-five term 2 then community add export-comm-vrf-five-v6
set policy-options policy-statement export-vrf-five term 2 then accept
set policy-options policy-statement export-vrf-five term 100 then reject



{master:0}
me at acx5048> show dhcpv6 server binding routing-instance five brief
Prefix                  Session Id  Expires  State    Interface    Client DUID
1234:abcd:ffff::f/128   15          85627    BOUND    irb.1010     LL0x1-60:db:98:23:36:33
1234:abcd:ffff:1000::/56 15         85627    BOUND    irb.1010     LL0x1-60:db:98:23:36:33

{master:0}
me at acx5048> show route 1234:abcd:ffff::f/128

five.inet6.0: 26 destinations, 62 routes (26 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

1234:abcd:ffff::f/128
                    *[Access-internal/12] 00:12:58
                     >  to fe80::62db:98ff:fe23:3633 via irb.1010

{master:0}
me at acx5048> show route 1234:abcd:ffff:1000::/56

five.inet6.0: 26 destinations, 62 routes (26 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

1234:abcd:ffff:1000::/56
                    *[Access/13] 00:13:04
                     >  to fe80::62db:98ff:fe23:3633 via irb.1010









On 6/19/2024 2:47 PM, Jan Bacher via juniper-nsp wrote:
> I am converting an older IOS-XE configuration to JunOS in a dual stack 
> environment.
>
> What configuration statement(s) do I need to automatically import 
> prefix delegations into ospf3?  I see the WAN and PD in the relay 
> bindings but no advertisement of the PD.
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp

-- 
-Aaron


More information about the juniper-nsp mailing list