Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

PPPoE is a network protocol for encapsulating PPP frames inside Ethernet frames. It appeared in 1999, in the context of the boom of DSL as the solution for tunneling packets over the DSL connection to the ISPs IP network, and from there to the rest of the Internet. 

Instructions

  • Create a “chap-secrets” entry in “resources” with user and secret. Please replace userid and password yourself.

...

vyatta@R1# set interfaces pppoe pppoe0 mtu 1492

Verification and Troubleshooting

  • Verification

vyatta@R1$ show interfaces detail

vyatta@R1$ ping www.google.com

vyatta@R1$ show log

Enable TCP MSS Clamping

It is often useful to enable TCP MSS clamping on PPPoE interfaces. This will present as TCP conections being established, but ‘freezing’ before much data has been transfered. That is because the MTU of a PPPoE link is 8 bytes shorter than that of the underlying ethernet size of 1500 bytes, and path MTU discovery often does not work between various hosts; in large part due to NATs dropping the ICMP messages necessary for it, or firewall/ACL filters doing the same.

This can be enabled with the following command, usually in the ‘mtu’ variant:

Code Block
vyatta@vyatta# set interfaces pppoe pppoe0 ip tcp-mss 
Possible Completions:
   <Enter>   Execute the current command
   limit     Clamp the TCP MSS to the configured value
   mtu       Clamp the TCP MSS based on interface MTU
   mtu-minus Clamp the TCP MSS based on interface MTU less the configured value

i.e. as below (showing both the IPv4 and IPv6 versions)

Code Block
languagenone
vyatta@vyatta# set interfaces pppoe pppoe0 ip tcp-mss mtu
vyatta@vyatta# set interfaces pppoe pppoe0 ipv6 tcp-mss

Filter by label (Content by label)
kb-how-to-article
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10771showSpacefalse
sortmodified
typeshowSpacepagefalse
reversetruelabels
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "DAN"
labelskb-how-to-article
Page Properties
hiddentrue

相关问题