Related Documentation
- M, MX Series
- Subscriber Interfaces and PPPoE Overview
- Dynamic PPPoE Subscriber Interfaces over Static Underlying Interfaces Overview
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- Example: Configuring a Dynamic PPPoE Subscriber Interface on a Static Gigabit Ethernet VLAN Interface
- Verifying and Managing Dynamic PPPoE Configuration
Configuring a Basic PPPoE Dynamic Profile
You can configure a basic dynamic profile for PPPoE subscribers that access the network. The dynamic profile defines the attributes of the dynamic PPPoE logical interface, also referred to as a dynamic PPPoE subscriber interface.
To provide basic access for PPPoE subscribers, the dynamic profile must provide a minimal configuration for a pp0 (PPPoE) logical interface that includes the following:
- The logical unit number, represented by the $junos-interface-unit predefined dynamic variable
- The name of the underlying Ethernet interface, represented by the $junos-underlying-interface predefined dynamic variable
- The server statement, which configures the router to act as a PPPoE server
- The PPP authentication protocol (PAP or CHAP)
- The unnumbered address for the inet (IPv4) or inet6 (IPv6) protocol family
![]() | Note: The creation of dynamic PPPoE subscriber interfaces is supported for the inet and inet6 protocol families. |
To configure a basic PPPoE dynamic profile:
- Name the dynamic profile.[edit]user@host# edit dynamic-profiles basic-pppoe-profile
- Specify that you want to configure the pp0 logical
interface in the dynamic profile.[edit dynamic-profiles basic-pppoe-profile]user@host# edit interfaces pp0
- Configure the predefined variable to represent the logical
unit number for the pp0 interface.
You must use the $junos-interface-unit variable instead of the logical unit number for the unit statement. The $junos-interface-unit variable is dynamically replaced with the actual unit number supplied by the network when the subscriber logs in.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0]user@host# edit unit $junos-interface-unit - Configure PPPoE-specific options for the pp0 interface.
- Configure the predefined variable to represent the name
of the underlying Ethernet interface on which the router creates the
dynamic PPPoE logical interface.
You must use the $junos-underlying-interface variable instead of the underlying interface name for the underlying-interface statement. The $junos-underlying-interface variable is dynamically replaced with the actual name of the underlying interface supplied by the network when the subscriber logs in.
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set pppoe-options underlying-interface $junos-underlying-interface - Configure the router to act as a PPPoE server, also known
as a remote access concentrator.[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set pppoe-options server
- Configure the predefined variable to represent the name
of the underlying Ethernet interface on which the router creates the
dynamic PPPoE logical interface.
- Configure the PPP authentication protocol for the pp0 interface.
For dynamic interfaces, the router supports only unidirectional authentication; that is, the router always functions as the authenticator. When you configure PPP authentication in a dynamic profile, the chap and pap statements do not support any additional configuration options.
- To configure CHAP authentication:[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set ppp-options chap
- To configure PAP authentication:[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set ppp-options pap
- To configure CHAP authentication:
- Configure the protocol family for the pp0 interface.
- Specify that you want to configure the inet (IPv4)
or inet6 (IPv6) protocol family.[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# edit family inet
- Configure the unnumbered address for the protocol family.[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set unnumbered-address lo0.0
- Specify that you want to configure the inet (IPv4)
or inet6 (IPv6) protocol family.
Related Documentation
- M, MX Series
- Subscriber Interfaces and PPPoE Overview
- Dynamic PPPoE Subscriber Interfaces over Static Underlying Interfaces Overview
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- Example: Configuring a Dynamic PPPoE Subscriber Interface on a Static Gigabit Ethernet VLAN Interface
- Verifying and Managing Dynamic PPPoE Configuration
Published: 2013-07-31
Related Documentation
- M, MX Series
- Subscriber Interfaces and PPPoE Overview
- Dynamic PPPoE Subscriber Interfaces over Static Underlying Interfaces Overview
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- Example: Configuring a Dynamic PPPoE Subscriber Interface on a Static Gigabit Ethernet VLAN Interface
- Verifying and Managing Dynamic PPPoE Configuration