Technical Documentation

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) family

To configure a basic PPPoE dynamic profile:

  1. Name the dynamic profile.
    [edit]user@host# edit dynamic-profiles basic-pppoe-profile
  2. 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
  3. 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
  4. Configure PPPoE-specific options for the pp0 interface.
    1. 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
    2. 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
  5. 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
  6. Configure the family for the pp0 interface.
    1. Specify that you want to configure the inet (IPv4) family.

      Note: The creation of dynamic PPPoE subscriber interfaces is currently supported only for the inet family.

      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# edit family inet
    2. Configure the unnumbered address for the family.
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set unnumbered-address lo0.0

Published: 2010-04-15