Routing

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



DHCPv6 Subscriber Options

This thread has been viewed 5 times
  • 1.  DHCPv6 Subscriber Options

    Posted 06-21-2022 12:29
    Hi all

    I'm trying to configure DHCPv6 Relay on MX, but failing when I insert Option 37 (v4 Opt 82 Suboption 2 equivalent) or Option 18 (v4 Opt 82 Suboption 1 equivalent) at the OLT.

    I have DHCPv4 working with option-82 being inserted at OLT and the MX relaying to external DHCP server. I have the same setup for DHCPv6, but it seems to reject if -18 or -37 is received at the relay.

    The DHCPv6 packet will get accepted if both options aren't configured, but then I use the circuit-ID to auth/pool-match with the RADIUS/DHCP server.

    Jun 21 14:10:10.096149 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] >>>>>>>>>> Decode message from == fe80::5202:ff:fe09:0/546 <<<<<<<<<<
    Jun 21 14:10:10.096167 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ msgtype == DHCPV6-SOLICIT ]--------------------------
    Jun 21 14:10:10.096180 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ len == 71 ]--
    Jun 21 14:10:10.096192 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ xid == a614ab ]--
    Jun 21 14:10:10.096205 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ OPTION_CLIENTID
    Jun 21 14:10:10.096226 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853]       OPTION code   1, len  14, data 00 01 00 01 2a 44 56 37 50 02 00 09 00 00 ]--
    Jun 21 14:10:10.096240 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ OPTION_OPT_REQ
    Jun 21 14:10:10.096918 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853]       OPTION code   6, len   4, data 00 17 00 18 ]--
    Jun 21 14:10:10.097148 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ OPTION_REMOTE_ID
    Jun 21 14:10:10.097190 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853]       OPTION code  37, len  15, data 74 62 65 6e 64 61 6c 6c 2d 63 75 73 74 2d 41 ]--
    Jun 21 14:10:10.097363 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ Internally Unsupported Option
    Jun 21 14:10:10.097488 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853]       OPTION code   8, len   2, data 5c f2 ]--
    Jun 21 14:10:10.097636 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853] --[ OPTION_IA_NA
    Jun 21 14:10:10.097716 [MSTR][INFO] [default:default][RLY][INET6][ps0.3221225853]       OPTION code   3, len  12, iaid 589824, T1 3600, T2 5400 ]--
    Jun 21 14:10:10.098163 [MSTR][DEBUG][default:default][RLY][INET6][ps0.3221225853] dhcpv6_option_parse:     Parsing suboptions of OPTION_IA_NA - Start
    Jun 21 14:10:10.098213 [MSTR][DEBUG][default:default][RLY][INET6][ps0.3221225853] dhcpv6_option_parse:     Parsing suboptions of OPTION_IA_NA - Done
    Jun 21 14:10:10.098393 [MSTR][DEBUG][default:default][RLY][INET6][ps0.3221225853] dhcpv6_packet_decode: dhcpv6 pkt parsing - End
    Jun 21 14:10:10.098747 [MSTR][NOTE] [default:default][RLY][INET6][ps0.3221225853] dhcpv6_packet_handle: Invalid packet, received interface-id 0x0 remote-id 0xacc66a0 in a non relay packet
    ​


    dhcpv6_packet_handle: Invalid packet, received interface-id 0x0 remote-id 0xacc66a0 in a non relay packet



    Relevant config:

    dhcp-relay {
        dhcpv6 {
            dynamic-profile vlan-profile-0;
            access-profile aaa-profile;
            group local {
                authentication {
                    username-include {
                        mac-address;
                        relay-agent-interface-id;
                    }
                }
                interface ps0.0;
                interface ps1.0;
            }
            server-group {
                local6 {
                    2001:168::10;
                }
            }
            active-server-group local6;
        }
    ​

    Any pointers would be appreciated!

    ------------------------------
    TRISTAN BENDALL
    ------------------------------