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 if the next-hop value is missing in the Framed-Routes Attribute [22], values from the access-internal variables are used instead.
To dynamically configure access-internal routes:
- Specify 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-underlying-interface

Note: The next-hop statement that is available at the [edit dynamic-profiles profile-name routing-options] hierarchy level is intended for numbered interfaces only. Access routes typically use unnumbered interfaces.
- Configure the MAC address for the qualified next-hop
as a variable.
- user@host# set mac-address $junos-subscriber-mac-address

