Description

Customer is testing solicit-router-advertisement-unicast feature for subscriber services, but finds that the outgoing unsolicit packets still use the multicast MAC address 0x333300.

Symptoms

MX BNG sends the IPv6 Unsolicit Router Advertisement with an multicast MAC for DHCP subscribers even if "solicit-router-advertisement-unicast" is configured in the dynamic profile

Solution

Customer can follow below solution to make MX send IPv6 Unsolicit Router Advertisement with an unicast MAC address.

 

  • Enable force-ra-unicast-dst globally /// This is a hidden knob
  • Remove solicit-router-advertisement-unicast from the VLAN dynamic-profile
  • Enable solicit-router-advertisement-unicast in DHCP/PPPoE profile 

Detailed configuration as below.

 

[system services]                       

subscriber-management {

    overrides {

        force-ra-unicast-dst;

   }

   enable;

}

 

////// Interface configure DYNAMIC-SVLAN-CVLAN used for vlan profile, protocols ra should not be configured here

[interfaces xe-0/1/1:0 ]              

hierarchical-scheduler maximum-hierarchy-levels 2;

flexible-vlan-tagging;

auto-configure {

   stacked-vlan-ranges {

        dynamic-profile DYNAMIC_SVLAN_CVLAN {

           accept [ dhcp-v4 pppoe ];

           ranges {

               1500-1599,any;

           }

       }

<…>

 

[ dynamic-profiles DYNAMIC_SVLAN_CVLAN ]

routing-instances {

   "$junos-routing-instance" {

       interface "$junos-interface-name";

   }

}

interfaces {

   "$junos-interface-ifd-name" {

       unit "$junos-interface-unit" {

           no-traps;

           vlan-tags outer "$junos-stacked-vlan-id" inner "$junos-vlan-id";

           family inet {

               unnumbered-address "$junos-loopback-interface";

           }

           family inet6 {

               unnumbered-address "$junos-loopback-interface";

           }

       }

   }

}

 

/// DHCP configure, DEMUX-IP-DHCP profile used for DHCP subscribers

 

dhcp-local-server {

   dual-stack-group BNG {

       access-profile RADIUS-AAA;

       dynamic-profile DEMUX-IP-DHCP;

       on-demand-address-allocation;

       classification-key {

           mac-address;

       }

       protocol-master inet;

   }  

 

[ dynamic-profiles DEMUX-IP-DHCP ] 

routing-instances {

   "$junos-routing-instance" {

       interface "$junos-interface-name";

       routing-options {

           rib "$junos-ipv6-rib" {

               access {

                   route $junos-framed-route-ipv6-address-prefix {

                       qualified-next-hop "$junos-interface-name";

                       metric "$junos-framed-route-cost";

                   }

               }

               access-internal {

                   route $junos-subscriber-ipv6-address {

                       qualified-next-hop "$junos-interface-name";

                   }

               }

           }

           access {

               route $junos-framed-route-ip-address-prefix {

                   metric "$junos-framed-route-cost";

                   preference "$junos-framed-route-distance";

               }

           }

           access-internal {

               route $junos-subscriber-ip-address {

                   qualified-next-hop "$junos-interface-name";

               }                       

            }

       }

   }

}

interfaces {

   "$junos-interface-ifd-name" {

       unit "$junos-interface-unit" {

           no-traps;

           proxy-arp;

           family inet {

               unnumbered-address "$junos-loopback-interface";

           }

           family inet6 {

               unnumbered-address "$junos-loopback-interface";

           }

       }

   }

}                                      

protocols {

   router-advertisement {

       interface "$junos-interface-name" {

           managed-configuration;

           other-stateful-configuration;

           solicit-router-advertisement-unicast;

       }

   }

}

 

Modification History

2024-01-30 : Article Created