[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring IP with PPPoE Terminated at the Router

This section shows how to create IP with PPPoE interfaces that terminate the connection and route the data received on the PVC, as shown in the example in Figure 36. To create a terminated PVC:

  1. Create an ATM 1483 subinterface and associated PVC.
    host1(config)#interface atm 9/1.1 point-to-point
    host1(config-subif)#atm pvc 1 0 32 aal5snap 0 0 0
    Image g013691.gif
  2. Encapsulate the ATM 1483 subinterface with bridged Ethernet. The use of the encapsulation keyword implies that the bridged Ethernet interface is the only interface stacked directly above the ATM 1483 subinterface. As a result, the bridged Ethernet interface cannot have a peer interface stacked above the same lower-layer interface.
    host1(config-subif)#encapsulation bridge1483
    Image g013690.gif
  3. Create a PPPoE major interface over the bridged Ethernet interface. This command does not use the encapsulation keyword.
    host1(config-subif)#pppoe
    Image g013689.gif
  4. Create an IP interface over the bridged Ethernet interface as a peer to the PPPoE interface.
    host1(config-subif)#ip address 160.1.0.1 255.255.255.0
    Image g013688.gif
  5. (Optional) Set up the router to validate MAC addresses on the IP interface.
    host1(config-subif)#ip mac-validate strict
  6. Exit the subinterface context.
    host1(config-subif)#exit
  7. Create a PPPoE subinterface over the major interface.
    host1(config)#pppoe subinterface atm 9/1.1.1
    Image g013687.gif
  8. Configure PPP encapsulation over the PPPoE subinterface, and the IP interface over the PPP interface.
    host1(config-subif)#encapsulation ppp
    host1(config-subif)#ip address 160.1.1.1 255.255.255.0
    Image g013686.gif

atm pvc

encapsulation bridge1483

encapsulation ppp

interface atm

ip address

ip mac-validate

pppoe

pppoe subinterface atm


[Contents] [Prev] [Next] [Index] [Report an Error]