How PPPoE works
PPPoE is how many fibre and DSL routers log in to the ISP: discover the access server, open a session, authenticate with the username and password from the ISP, then receive a public IP.
Layer: Data link (OSI layer 2) · Port: - · Transport: Ethernet · Format: PPP over Ethernet frames · Standard: RFC 2516
PPPoE packet flow
- PPPoED Router → Access Server: PADI - any access server?
- PPPoED Access Server → Router: PADO - offer from BRAS-1
- PPPoED Router → Access Server: PADR / PADS - session 0x12
- PAP/CHAP Router → Access Server: Authenticate user@isp
- IPCP Access Server → Router: Your IP 203.0.113.7, DNS 8.8.8.8
Other protocols: HTTP · WebSocket · QUIC · SMTP · IMAP · POP3 · FTP · SMB · WebRTC · SIP · RTSP · RTMP · MQTT · Modbus