Technical Documentation

Configuring a Wholesale Dynamic Profile for use in the PPPoE Solution

You can configure a basic access profile to initially manage PPPoE subscribers that access the network.

To configure a dynamic profile for use by the wholesaler:

  1. Create a wholesale dynamic profile.
    [edit] user@host# edit dynamic-profiles PPPoE_Wholesaler_Profile
  2. Define the dynamic routing instance variable in the dynamic profile.
    [edit dynamic-profiles “PPPoE_Wholesaler_Profile”]user@host# edit routing-instances $junos-routing-instance
  3. Set the dynamic interface variable for the dynamic routing instance.
    [edit dynamic-profiles “PPPoE_Wholesaler_Profile” routing-instances “$junos-routing-instance”]user@host# set interface $junos-interface-name
  4. Specify that you want to configure the pp0 interface in the dynamic profile.
    [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0]user@host# edit interfaces pp0
  5. Configure the unit for the pp0 interface.
    1. Configure the variable for the unit number of the pp0 interface.

      The variable is dynamically replaced with the unit number that RADIUS supplies when the subscriber logs in.

      [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0]user@host# edit unit $junos-interface-unit
    2. Configure PAP or CHAP (or both) to function on the interface.
      [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set ppp-options chap pap
    3. Configure the variable for the underlying interface of the pp0 interfaces.

      The variable is dynamically replaced with the underlying interface that RADIUS supplies when the subscriber logs in.

      [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set pppoe-options underlying-interface $junos-underlying-interface
    4. Configure the router to act as a PPPoE server.
      [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set pppoe-options server
  6. (Optional) Modify the PPPoE keepalive interval.
    [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set keepalives interval 15
  7. Configure the family for the pp0 interface.
    1. Specify that you want to configure the family.

      Note: You can specify inet for IPv4 and inet6 for IPv6. However, this solution provides the IPv4 configuration only.

      [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# edit family inet
    2. Configure the unnumbered address for the family.
      [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit” family inet]user@host# set unnumbered-address $junos-loopback-interface

Published: 2010-01-12