Configuring Bridged Ethernet

This section shows how to configure IP with PPPoE terminated at the E Series router. With each step, an illustration shows how the router is building the interface columns.

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 43. 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
  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
  3. Create a PPPoE major interface over the bridged Ethernet interface. This command does not use the encapsulation keyword.
    host1(config-subif)#pppoe
  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
  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
  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

atm pvc

encapsulation bridge1483

encapsulation ppp

interface atm

ip address

ip mac-validate

pppoe

pppoe subinterface atm

Alternative Configuration

In previous releases, you could configure a PPPoE major interface directly over ATM 1483 only. The router still supports this stacking and configuration method for PPPoE. Although the older and newer interface stacks are different, they behave the same in terms of frame encapsulation and handling. As a result, an interface created using the older stacking will interoperate with an interface using the new stacking. Note, however, that the previous command syntax (encapsulation pppoe) cannot be used when a bridged Ethernet interface already exists, because it is intended to produce the old stacking for PPPoE over ATM 1483.

  1. Create the 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
  2. Create a PPPoE major interface over the ATM 1483 subinterface. Note that since this command uses the encapsulation keyword, it will fail if a bridged Ethernet interface was already created over the ATM 1483 subinterface using the new syntax.
    host1(config-subif)#encapsulation pppoe
  3. Create a PPPoE subinterface over the major interface. Because PPPoE is the only top layer protocol in the stack, there is no need to use pppoe to identify the subinterface type (it is implied).
    host1(config)#interface atm 9/1.1.1
  4. Configure the 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