Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring Dynamic Access-Internal Routes for DHCP Subscriber Management

You can dynamically configure access-internal routes. Configuring support for access-internal variables is optional, but it ensures that values from the access-internal variables are used if the next-hop value is missing in the relevant RADIUS attribute—Framed-Route [22] for IPv4 and Framed-IPv6-Route [99] for IPv6.

Best Practice: We recommend that you always include the access-internal stanza in the dynamic-profile when the access stanza is present for framed route support.

DHCP subscriber interfaces require the qualified-next-hop to identify the interface and the MAC address.

To dynamically configure access-internal routes:

  1. Specify that you want to configure the access-internal route.
    user@host# edit dynamic-profiles profile-name routing-options
  2. Configure the IP address and the qualified next-hop address as variables.
    [edit dynamic-profiles profile-name routing-options]user@host# edit access-internal route $junos-subscriber-ip-address qualified-next-hop $junos-interface-name

    Note: Prior to Junos OS Release 10.0, the variable used for qualified-next-hop was $junos-underlying-interface. It is now $junos-interface-name.

  3. Configure the MAC address for the qualified next-hop as a variable.
    [edit dynamic-profiles profile-name routing-options access-internal route $junos-subscriber-ip-address qualified-next-hop $junos-underlying-interface]user@host# set mac-address $junos-subscriber-mac-address

Published: 2013-02-11