Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Best Practice: IPv4 Addressing for Logical Interfaces in PPPoE Dynamic Profiles

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

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

    [edit dynamic-profiles]
    dyn-v4v6-ri {routing-instances {"$junos-routing-instance" {interface "$junos-interface-name";}}interfaces {pp0 {unit "$junos-interface-unit" {family inet {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.

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

    Published: 2013-07-09