EtoPPP configuration example
Network requirements
As shown in Figure 118, Router A (the CE) is the gateway for a LAN and is connected to Router B (the EtoPPP device) through an Ethernet interface. Router B is connected to Router C (the PE) through a PPP-encapsulated serial interface formed by bundling timeslots on a T1 line.
Map the Ethernet interface to the PPP interface on Router B through EtoPPP to forward traffic between the two interfaces at Layer 2.
Figure 118: Network diagram
![](images/image114.png)
Configuration procedure
Configure the CE (Router A):
# Configure the IP address of interface Ethernet 1/1 on Router A.
<RouterA> system-view [RouterA] interface ethernet 1/1 [RouterA-Ethernet1/1] ip address 1.1.1.1 24
Configure the PE (Router C):
# Configure the IP address of the synchronous serial interface formed by timeslot bundling on interface T1 2/0.
<RouterC> system-view [RouterC] controller t1 2/0 [RouterC-T1 2/0] channel-set 0 timeslot-list 1-24 [RouterC-T1 2/0] quit [RouterC] interface serial 2/0:0 [RouterC-Serial2/0:0] ip address 1.1.1.2 24
Configure the EtoPPP device (Router B):
# Create the EtoPPP mapping for forwarding the traffic between the CE and the PE.
<RouterB> system-view [RouterB] controller t1 2/0 [RouterB-T1 2/0] channel-set 0 timeslot-list 1-24 [RouterB-T1 2/0] quit [RouterB] etoppp translate interface ethernet 1/1 serial 2/0:0 ip-address 1.1.1.1 1.1.1.2