Technical Documentation

Configuring Dynamic Profiles for the PPPoE Layer 3 Wholesale Network Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can use to provide services for broadband applications. These services are assigned dynamically to interfaces as they access the network. When configuring dynamic profiles for the PPPoE Layer 3 wholesale network, you can choose to configure one dynamic profile to address all incoming subscribers or you can configure individual dynamic profiles for use by the different network management groups (that is, the wholesaler and any retailers). In fact, you can create multiple dynamic profiles that you can use to roll out different services and selectively apply those dynamic profiles to different subscriber groups as necessary.

In this solution example, one dynamic profile is created for use by the wholesaler when subscribers initially access the network. Subscribers are assigned by the wholesaler RADIUS server to a particular retailer routing instance and can then be redirected to that retailer network space.

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-04-14