PPPoE over L2TP

PPPoE over L2TP is used by service providers to aggregate subscriber sessions through L2TP tunnels.

Scenario

  • Service Provider: LAC (L2TP Access Concentrator) ↔ LNS (L2TP Network Server)
  • DSL Aggregation: PPPoE sessions over L2TP
  • Wholesale: Forwarding subscriber authentication to another provider

Topology

Subscriber ─PPPoE─► LAC (VyOS) ─L2TP─► LNS ─► Internet

VyOS LAC Configuration

# L2TP tunnel to the LNS
set vpn l2tp remote-access outside-address '198.51.100.1'
set vpn l2tp remote-access lns server1 address '203.0.113.1'
set vpn l2tp remote-access lns server1 secret 'L2TPSecret'

# PPPoE on the subscriber interface
set interfaces ethernet eth1 pppoe pppoe0

The detailed configuration depends on the specific ISP setup and wholesale agreement.

References

Reviewed by OpenNix LLC · Last updated on