Junos OS

 View Only
last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.

Pulling a IANA IPv6 prefix : CPE

  • 1.  Pulling a IANA IPv6 prefix : CPE

    Posted 12-02-2020 08:59

    I'm trying to obtain an IPv6 WAN prefix from a Juniper MX104 which is setup as an LNS.

    The particular model of CPE is a technicolor which I believe uses IANA for IPv6 address assignment.

    As such I've created the below pools on the Juniper:

    set access address-assignment neighbor-discovery-router-advertisement IAPD-PPPOA-POOL
    set access address-assignment pool PROV_POOL family inet network 172.16.2.0/24
    set access address-assignment pool delegated-pool family inet6 prefix 2a02:123:c05e::/56
    set access address-assignment pool delegated-pool family inet6 range d1 prefix-length 64
    set access address-assignment pool IAPD-PPPOA-POOL family inet6 prefix 2a02:123:c05d::/48
    set access address-assignment pool IAPD-PPPOA-POOL family inet6 range IAPD-RANGE low 2a02:123:c05d:1::/64
    set access address-assignment pool IAPD-PPPOA-POOL family inet6 range IAPD-RANGE high 2a02:123:c05d:ffff::/64
    set access address-assignment pool v6-ia-na-pool family inet6 prefix 2a02:123:c05f:1000:0000::/64
    set access address-assignment pool v6-ia-na-pool family inet6 range v6-range-0 low 2a02:123:c05f:1000::1/128
    set access address-assignment pool v6-ia-na-pool family inet6 range v6-range-0 high 2a02:123:c05f:1000::ffff:ffff/128

    I've defied the v6-ia-na-pool as explained on this Juniper documentation WAN and LAN Addressing Using DHCPv6 IA_NA and DHCPv6 Prefix Delegation

    However it's not assiging the IPv6 address from this pool. If I debug/traceoptions on the LNS I see the below:


    Dec 2 13:47:10.456085 Finding a client snapshot session-id:131890
    Dec 2 13:47:10.456233 Result have been returned with opcode=0, result=2
    Dec 2 13:47:10.456262 ************* Results of Address Allocation *************
    Dec 2 13:47:10.456290 DUMP of all addressRequest fields for subscriber session-id:131890 router default:default
    Dec 2 13:47:10.456322 client type jpppd-client client type 128 mac address 00:00:00:00:00:00
    Dec 2 13:47:10.456359 REQUESTING: OldStyle 0 OldStyleFilled 1 hint null null network 255.255.255.254 null
    Dec 2 13:47:10.456394 Framed-IPv6-Pool-->SDB_USER_IPV6_POOL 'IAPD-PPPOA-POOL' used for V6NA and/or V6NDRA
    Dec 2 13:47:10.456430 V4NA: req: yes pool: NULL address: 1.2.3.4
    Dec 2 13:47:10.456460 V6NA: req: no pool: NULL address: null
    Dec 2 13:47:10.456507 V6PD: req: yes pool: NULL prefix: 2a02:123:c050::/48
    Dec 2 13:47:10.456558 V6NDRA: req: yes pool: IAPD-PPPOA-POOL ndra prefix: 2a02:123:c05d:39::/64
    Dec 2 13:47:10.456585 *********************************************************
    Dec 2 13:47:10.456636 AuthFsm::current state=AuthStart(1) event=2 astEntry=0xb07a9f4 aaa msg=0x2809e64 session-id:131890

    As shown it doesn't look like it's assigning an IPv6 from what I think should be the V6NA line?

    My guessing is that I've defied the pool but it's not referencing it anywhere to assign from this pool? Am I missing an extra line which should be referencing the v6-ia-na-pool pool?

    Thanks