Configuring PPPoEoA

PPPoE adopts the Client/Server model. It encapsulates PPP packets into Ethernet frames and provides point-to-point connection on Ethernet. The following configurations enable the PVC to carry PPPoE and configure a PPPoE mapping for the PVC.

When you configure PPPoEoA, follow these guidelines:

To configure PPPoEoA:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a VT interface.

interface virtual-template vt-number

Configure PPP authentication and an IP address on the VT interface (the IP address is invalid if configured on the ATM interface).

3. Set the PPP authentication mode and IP address; with the PPPoE server, an address pool should be configured to allocate IP address for the peer end; with the PPPoE client, address negotiation should be configured to accept the IP address allocated by the server end..

See "Configuring PPP and MP."

N/A

4. Return to system view.

quit

N/A

5. Create a VE interface.

interface virtual-ethernet interface-number

N/A

6. Configure PPPoE parameters on VE interface (the configuration differs when with a PPPoE server and when with a PPPoE client).

See "Configuring PPPoE."

N/A

7. Return to system view.

quit

N/A

8. Enter ATM interface view.

interface atm { interface-number | interface-number.subnumber }

N/A

9. Enable packet padding on the ATM interface.

eoapad enable

Optional.

10. Create a PVC, and enter the PVC view.

pvc { pvc-name [ vpi/vci ] | vpi/vci }

N/A

11. Create a PPPoEoA mapping for the PVC.

map bridge virtual-ethernet interface-number

The interface-number argument refers to the VE interface created in the steps.