Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Best Practice: IPv6 Addressing for Logical Interfaces in PPPoE Dynamic Profiles with DHCPv6

The IPv6 address configuration for logical interfaces in PPPoE dynamic profiles when you are using DHCPv6 depends on whether or not you are using routing instances.

If you are using routing instances, use the $junos-loopback-interface predefined variable for the IPv6 address. For example:

[edit dynamic-profiles]
dyn-v4v6-ri {routing-instances {"$junos-routing-instance" {interface "$junos-interface-name";}}interfaces {pp0 {unit "$junos-interface-unit" {family inet6 {unnumbered-address "$junos-loopback-interface";}}}}}

If you are not using routing instances, use the unnumbered address for the IPv6 address. The unnumbered address enables the local address to be derived from the specified interface and allows IP processing on the interface without assigning an explicit IP address to the interface. For example:

[edit dynamic-profiles]
dyn-v4v6-ndra {interfaces {pp0 {unit "$junos-interface-unit" {pppoe-options {underlying-interface "$junos-underlying-interface";server;}family inet6 {unnumbered-address lo0.0;}}}}}

Published: 2013-07-09