A client had a (business) customer switch over to UFB and needed assistance reconfiguring the (Mikrotik) router being attached to the ONT -- it turned out whoever first set up the Mikrotik (sensibly) assumed it'd be seeing IP packets over VLAN 10, but actually the ISP required IP packets over PPPoE over VLAN 10 in order for it to work. Looking around it appears this client's customer's ISP isn't the only one that is requiring PPPoE over VLAN tagging over Ethernet for their UFB connections. Is there a reason other than "let's make everything look like 1990s dialup so it works with our legacy equipment" for the bit/CPE CPU overhead of PPPoE on UFB, including imposing the lowered usable MTU and PMTU discovery headaches on the end user? The only one that really comes to mind is "user/password authentication" (rather than needing to collect CPE MAC addresses which seems to happen with, eg, Vodafone cable/FibreX). But it's not clear to me why, eg, 802.1X isn't used for the user/password authentication in that case; or DHCP with some extension to pass a "secret" identifier. 20-bytes-per-packet-forever seems a large overhead to pay for user/password authentication at CPE power on.... (Maybe in the beginning there's "lack of CPE support" -- but we're a few years into the UFB rollout, and lots of ISPs seem to be supplying their own ISP-badged CPEs anyway, which could presumably implement whatever was needed.) Ewen
I'm firmly in the PPP Must Die camp. As far as I can make out, PPPoE is a thing because ISPs built PPP & Radius infrastructure for dial-up, used it to for ADSL (because that was the only way Telecom would let you do it), and continue to use the same back-end stuff to drive PPPoE for ADSL, VDSL, UFB and anything else they can get to speak it. It has the advantage that IP address management with PPPoE & friends is fairly straightforward, and you don't go wasting IP addresses, given that everything speaking native IP over Ethernet expects to see a subnet with a network, broadcast and gateway address in a /30 or bigger subnet, an issue I addressed here http://www.don.nz.net/wordpress/broadcast-interface-addressing-considered-ha.... This is important, because UFB is VLAN-per-circuit; you can't just lump a bunch of clients into a single IP subnet, a la Citylink in the old days. UFB has PPPoE brains that allows the PPPoE handshake to inform the ISP what service a PPPoE packet, independent of the VLAN tags, which in turn can be fed to a Radius server to identify a customer. (There's also DHCP brains to do the same for DHCP requests. Both are service-order-time options.) I don't believe anyone is actually using usernames/passwords to identify customers any more, but I won't be surprised if I'm wrong. It's not like dial-up where the customer could be coming from anywhere. Note that PPPoE in most configurations has an MTU of 1492, not 1500 (because there's an 8-byte PPPoE/PPP header between the MAC header and the IP payload). Which is another reason PPPoE needs to be killed. I'm not sure if 1500 MTU PPPoE (i.e. 1508+ MTU Ethernet) is supported by either ISPs or UFB. I believe UFB circuits are happy to take the larger frames, but since I've not tried to work with it, I can't say for sure. -- don On 09/13/2017 05:53 PM, Ewen McNeill wrote:
A client had a (business) customer switch over to UFB and needed assistance reconfiguring the (Mikrotik) router being attached to the ONT -- it turned out whoever first set up the Mikrotik (sensibly) assumed it'd be seeing IP packets over VLAN 10, but actually the ISP required IP packets over PPPoE over VLAN 10 in order for it to work.
Looking around it appears this client's customer's ISP isn't the only one that is requiring PPPoE over VLAN tagging over Ethernet for their UFB connections. Is there a reason other than "let's make everything look like 1990s dialup so it works with our legacy equipment" for the bit/CPE CPU overhead of PPPoE on UFB, including imposing the lowered usable MTU and PMTU discovery headaches on the end user?
The only one that really comes to mind is "user/password authentication" (rather than needing to collect CPE MAC addresses which seems to happen with, eg, Vodafone cable/FibreX). But it's not clear to me why, eg, 802.1X isn't used for the user/password authentication in that case; or DHCP with some extension to pass a "secret" identifier. 20-bytes-per-packet-forever seems a large overhead to pay for user/password authentication at CPE power on.... (Maybe in the beginning there's "lack of CPE support" -- but we're a few years into the UFB rollout, and lots of ISPs seem to be supplying their own ISP-badged CPEs anyway, which could presumably implement whatever was needed.)
Ewen _______________________________________________ NZNOG mailing list NZNOG(a)list.waikato.ac.nz https://list.waikato.ac.nz/mailman/listinfo/nznog
-- Don Stokes, don(a)nz.net mailto:don(a)nz.net, 021 796 072
I'm firmly in the PPPoE is the only way to run a fixed broadband network. You can change customers IP addresses easily by just kicking them and they come back in worst case 90 seconds (or 5 mins if it's a EUBA connection for the session to timeout). Can't do that on IPoE unless you have stupid low lease times. RemoteID and CircuitID are inserted in the PPPoE payload so you can auth them without requiring credentials. Much like you use option 82 on IPoE. No support for username and password so if your friendly LFC has screwed up the provisioning so you can't auth them on RID/CID you can't ask your customer to put in "heyfindme" in their username on the router and they magically appear in the radius logs and then tell the LFC to sort it. All LFCs support 1508 MTU so if your router and BNG does it then you can get a full 1500 sized packets which you can on Spark. Routed networks are easy you just allocate a subnet to sit behind the router. You don't need to waste a /31 per customer and thus 2 public IPs per subscriber or have some dirty flat routed networks across all your customers when each customer is a separate layer 2 network so you have a /22 or something and have a dedicated default route per subnet. PPPoE you only need a single real IP allocated to the interface and then only 2 IPs per subnet being broadcast and network rather than a routed IP too thus losing another ip per range. Using VLAN 10 means you can use .1q tagging from the CPE and have real working QoS over the link. If you don't need QoS then no need for VLAN 10. But once you've gone down the tagged route it's hard to move back as then you have a customer config nightmare. Find arguments against the above and I may listen. But until then I am completely sold on PPPoE vs IPoE. Sent from my phone so excuse the brevity. -------- Original Message -------- Subject: Re: [nznog] Dialup over Ethernet From: Don Stokes To: nznog(a)list.waikato.ac.nz CC: I'm firmly in the PPP Must Die camp. As far as I can make out, PPPoE is a thing because ISPs built PPP & Radius infrastructure for dial-up, used it to for ADSL (because that was the only way Telecom would let you do it), and continue to use the same back-end stuff to drive PPPoE for ADSL, VDSL, UFB and anything else they can get to speak it. It has the advantage that IP address management with PPPoE & friends is fairly straightforward, and you don't go wasting IP addresses, given that everything speaking native IP over Ethernet expects to see a subnet with a network, broadcast and gateway address in a /30 or bigger subnet, an issue I addressed herehttp://www.don.nz.net/wordpress/broadcast-interface-addressing-considered-ha.... This is important, because UFB is VLAN-per-circuit; you can't just lump a bunch of clients into a single IP subnet, a la Citylink in the old days. UFB has PPPoE brains that allows the PPPoE handshake to inform the ISP what service a PPPoE packet, independent of the VLAN tags, which in turn can be fed to a Radius server to identify a customer. (There's also DHCP brains to do the same for DHCP requests. Both are service-order-time options.) I don't believe anyone is actually using usernames/passwords to identify customers any more, but I won't be surprised if I'm wrong. It's not like dial-up where the customer could be coming from anywhere. Note that PPPoE in most configurations has an MTU of 1492, not 1500 (because there's an 8-byte PPPoE/PPP header between the MAC header and the IP payload). Which is another reason PPPoE needs to be killed. I'm not sure if 1500 MTU PPPoE (i.e. 1508+ MTU Ethernet) is supported by either ISPs or UFB. I believe UFB circuits are happy to take the larger frames, but since I've not tried to work with it, I can't say for sure. -- don On 09/13/2017 05:53 PM, Ewen McNeill wrote: A client had a (business) customer switch over to UFB and needed assistance reconfiguring the (Mikrotik) router being attached to the ONT -- it turned out whoever first set up the Mikrotik (sensibly) assumed it'd be seeing IP packets over VLAN 10, but actually the ISP required IP packets over PPPoE over VLAN 10 in order for it to work. Looking around it appears this client's customer's ISP isn't the only one that is requiring PPPoE over VLAN tagging over Ethernet for their UFB connections. Is there a reason other than "let's make everything look like 1990s dialup so it works with our legacy equipment" for the bit/CPE CPU overhead of PPPoE on UFB, including imposing the lowered usable MTU and PMTU discovery headaches on the end user? The only one that really comes to mind is "user/password authentication" (rather than needing to collect CPE MAC addresses which seems to happen with, eg, Vodafone cable/FibreX). But it's not clear to me why, eg, 802.1X isn't used for the user/password authentication in that case; or DHCP with some extension to pass a "secret" identifier. 20-bytes-per-packet-forever seems a large overhead to pay for user/password authentication at CPE power on.... (Maybe in the beginning there's "lack of CPE support" -- but we're a few years into the UFB rollout, and lots of ISPs seem to be supplying their own ISP-badged CPEs anyway, which could presumably implement whatever was needed.) Ewen _______________________________________________ NZNOG mailing list NZNOG(a)list.waikato.ac.nzmailto:NZNOG(a)list.waikato.ac.nz https://list.waikato.ac.nz/mailman/listinfo/nznog -- Don Stokes, don(a)nz.netmailto:don(a)nz.net, 021 796 072 This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002.
On 13/09/17 18:38, Peter Lambrechtsen wrote:
You can change customers IP addresses easily by just kicking them and they come back in worst case 90 seconds
Out of curiosity what is the use case for "disconnect user to force them to change the IP address"? If it's changing from dynamic pool to "congratulations you've bought the static IP service" then the phrase "please reboot your CPE now" comes to mind (perhaps combined with a DHCP server that will refuse a renew of a dynamic lease when it has a static lease configured).
No support for username and password so if your friendly LFC has screwed up the provisioning so you can't auth them on RID/CID you can't ask your customer to put in "heyfindme" in their username on the router and they magically appear in the radius logs and then tell the LFC to sort it.
Wouldn't another DCHP option work for that? Or reuse of an existing one? Enterprise DHCP clients commonly sends a hostname in an extension (12 IIRC) which turns up at the DHCP server, and is often configurable on devices. Perhaps "home gateway" CPEs don't support that, but that too seems like an obvious thing to specify in the "desired CPE". (Although at the point the user is logged into the CPE to put something in, surely they can read you the WAN MAC address too...)
All LFCs support 1508 MTU so if your router and BNG does it then you can get a full 1500 sized packets which you can on Spark.
That at least is good to know. It doesn't seem to be as well documented as it could be. Eg, as a random end-user-facing third party guide: https://www.geekzone.co.nz/forums.asp?forumid=66&topicid=206084 suggests configuring ether1.10 (ie, VLAN 10 on interface-intended-to-be-WAN) as 1500 byte MTU... then PPPoE over that.
Find arguments against the above and I may listen. But until then I am completely sold on PPPoE vs IPoE.
So far I'm not convinced there's much being gained by PPPoE that couldn't have been solved by requiring a CPE with a couple more simple features (BFD, DHCP hostname support, maybe something to assist a PVLAN like deployment). It seems like typical CPE chipsets will do VLAN tagging in hardware, but PPPoE seems to end up being done in the "supervisor" CPU -- which means with PPPoE the CPU speed of the device is a limiting factor on throughput (and/or CPEs have to have higher end CPUs for the same throughput). I guess eventually someone could build CPE chipsets that do PPPoE encapsulation in hardware (and presumably BNGs have such chipsets), but even if you do that you've still got 8-octets-per-frame additional overhead. That's more than a whole ATM cell right there.... :-) Ewen PS: Thanks everyone for the quick replies. It's at least useful to see there's _something_ being obtained from the PPPoE overhead other than authentication. Even if I don't think it's the most sensible way to obtain those extra features.
I'm of the same opinion as Peter on this. I'm firmly in the PPPoE camp.
Generally speaking the only real case of opposition is the MTU at 1492.
However in saying this I feel like it is a non issue with mss adjustment.
If the software takes note of the change in mss then there shouldn't be a
problem. UDP deployments as far as I have come across are only small
packets so once again a non issue.
As a service provider we very easily could increase the MTU to allow for
1500. The issue is that we need to do mss adjustment towards the customer
for tcp applications they are hosting (web server, rdp, etc.). Not all
CPE's support 1500 MTU PPPoE. This is the primary issue with this. If we
increase to allow for it how do then determine which CPEs need the mss
adjustment to 1452 and which don't? If all CPE's allowed for 1500 MTU PPPoE
we would do this. Until that point it is what it is unfortunately.
Cheers,
Hamish
On Thu, Sep 14, 2017 at 6:48 AM, Brian Gibbons
On 13/09/2017 6:38 p.m., Peter Lambrechtsen wrote:
I'm firmly in the PPPoE is the only way to run a fixed broadband network.
Well said
The Internet has done very well using Point to Point links from provider to CPE since the days of SLIP.
DHCP is for wireless and keeps us in a job :)
Cheers
BG
You can change customers IP addresses easily by just kicking them and they come back in worst case 90 seconds (or 5 mins if it's a EUBA connection for the session to timeout). Can't do that on IPoE unless you have stupid low lease times. RemoteID and CircuitID are inserted in the PPPoE payload so you can auth them without requiring credentials. Much like you use option 82 on IPoE. No support for username and password so if your friendly LFC has screwed up the provisioning so you can't auth them on RID/CID you can't ask your customer to put in "heyfindme" in their username on the router and they magically appear in the radius logs and then tell the LFC to sort it. All LFCs support 1508 MTU so if your router and BNG does it then you can get a full 1500 sized packets which you can on Spark. Routed networks are easy you just allocate a subnet to sit behind the router. You don't need to waste a /31 per customer and thus 2 public IPs per subscriber or have some dirty flat routed networks across all your customers when each customer is a separate layer 2 network so you have a /22 or something and have a dedicated default route per subnet. PPPoE you only need a single real IP allocated to the interface and then only 2 IPs per subnet being broadcast and network rather than a routed IP too thus losing another ip per range.
Using VLAN 10 means you can use .1q tagging from the CPE and have real working QoS over the link. If you don't need QoS then no need for VLAN 10. But once you've gone down the tagged route it's hard to move back as then you have a customer config nightmare.
Find arguments against the above and I may listen. But until then I am completely sold on PPPoE vs IPoE.
Sent from my phone so excuse the brevity.
-------- Original Message -------- Subject: Re: [nznog] Dialup over Ethernet From: Don Stokes To: nznog(a)list.waikato.ac.nz CC:
I'm firmly in the PPP Must Die camp.
As far as I can make out, PPPoE is a thing because ISPs built PPP & Radius infrastructure for dial-up, used it to for ADSL (because that was the only way Telecom would let you do it), and continue to use the same back-end stuff to drive PPPoE for ADSL, VDSL, UFB and anything else they can get to speak it.
It has the advantage that IP address management with PPPoE & friends is fairly straightforward, and you don't go wasting IP addresses, given that everything speaking native IP over Ethernet expects to see a subnet with a network, broadcast and gateway address in a /30 or bigger subnet, an issue I addressed here http://www.don.nz.net/wordpress/broadcast-interface-addressing-considered-ha.... This is important, because UFB is VLAN-per-circuit; you can't just lump a bunch of clients into a single IP subnet, a la Citylink in the old days.
UFB has PPPoE brains that allows the PPPoE handshake to inform the ISP what service a PPPoE packet, independent of the VLAN tags, which in turn can be fed to a Radius server to identify a customer. (There's also DHCP brains to do the same for DHCP requests. Both are service-order-time options.) I don't believe anyone is actually using usernames/passwords to identify customers any more, but I won't be surprised if I'm wrong. It's not like dial-up where the customer could be coming from anywhere.
Note that PPPoE in most configurations has an MTU of 1492, not 1500 (because there's an 8-byte PPPoE/PPP header between the MAC header and the IP payload). Which is another reason PPPoE needs to be killed. I'm not sure if 1500 MTU PPPoE (i.e. 1508+ MTU Ethernet) is supported by either ISPs or UFB. I believe UFB circuits are happy to take the larger frames, but since I've not tried to work with it, I can't say for sure.
-- don
On 09/13/2017 05:53 PM, Ewen McNeill wrote:
A client had a (business) customer switch over to UFB and needed assistance reconfiguring the (Mikrotik) router being attached to the ONT -- it turned out whoever first set up the Mikrotik (sensibly) assumed it'd be seeing IP packets over VLAN 10, but actually the ISP required IP packets over PPPoE over VLAN 10 in order for it to work.
Looking around it appears this client's customer's ISP isn't the only one that is requiring PPPoE over VLAN tagging over Ethernet for their UFB connections. Is there a reason other than "let's make everything look like 1990s dialup so it works with our legacy equipment" for the bit/CPE CPU overhead of PPPoE on UFB, including imposing the lowered usable MTU and PMTU discovery headaches on the end user?
The only one that really comes to mind is "user/password authentication" (rather than needing to collect CPE MAC addresses which seems to happen with, eg, Vodafone cable/FibreX). But it's not clear to me why, eg, 802.1X isn't used for the user/password authentication in that case; or DHCP with some extension to pass a "secret" identifier. 20-bytes-per-packet-forever seems a large overhead to pay for user/password authentication at CPE power on.... (Maybe in the beginning there's "lack of CPE support" -- but we're a few years into the UFB rollout, and lots of ISPs seem to be supplying their own ISP-badged CPEs anyway, which could presumably implement whatever was needed.)
Ewen _______________________________________________ NZNOG mailing list NZNOG(a)list.waikato.ac.nz https://list.waikato.ac.nz/mailman/listinfo/nznog
-- Don Stokes, don(a)nz.net, 021 796 072
This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002.
------------------------------ This e-mail message has passed virus scanning by Outersite Technology.
_______________________________________________ NZNOG mailing listNZNOG(a)list.waikato.ac.nzhttps://list.waikato.ac.nz/mailman/listinfo/nznog
_____________________________________________________________________ This e-mail message has passed virus scanning by Outersite Technology.
------------------------------ This e-mail message has passed virus scanning by Outersite Technology.
_______________________________________________ NZNOG mailing list NZNOG(a)list.waikato.ac.nz https://list.waikato.ac.nz/mailman/listinfo/nznog
-- Cheers, Hamish
Customer RGW / CPE is always the issue with MTUs of 1508 on the WAN side.
There isn’t the issue on the wholesale customer side as Chorus support MTUs of 1520(?) from memory on all their copper access types even BUBA. I was involved with testing MTUs of 1508 on all LFCs as part of launching UFB so know that works across all LFCs as per the spec.
So the constraint especially in the UFB world of Customers RGWs only supporting a ethernet MTU of 1500 and thus PPPoE MTU of 1492 is purely an issue with CPE the customer has chosen.
For me the restore time in the event of loss of service to customers is the main reason why PPPoE is superior to DHCP/IPoE.
When doing BNG reboots post upgrade I have seen ~%97+ UFB broadband services on a handover with over 5k customers on it restore in sub 30 seconds once the handover port is brought up. Voice ATA services on the same handover can take up to 30 mins to restore even though the DHCP lease is set down to 5 mins. As the DHCP Client has a longer backoff period the longer the DHCP server isn’t responding whereas the PPPoE clients hammer away while the session is down and come up as soon as the link is back up.
Another advantage is to find out the customers current sync rate on copper as the vast majority of Chorus EUBA/WVS DLSAMs send you the connect rate information in the PADI you can kick them and they come back in sub 10 seconds and sometimes they have re-synced at a higher or lower rate. Means that you don’t need to go into Chorus tools like SPM to find out what the line is looking like. Haven’t checked to see if the Actual Data Rate comes in over DHCP Option 82 or not over EUBA/WVS but if you have a 5 min lease time you don’t exactly want to go kicking customers just to see what their connect rate is.
Even in the UFB world I would always expect some sort of router / Customer RGW between the ONT and the customers devices. I wouldn’t expect a customer to plug in a switch into an ONT then have multiple devices sending DHCP requests to the BNG, perhaps in the full SDN/NFV world but I am still unconvinced you want all that ARP broadcast traffic flowing over your Layer 2 link even if it’s 500Mbit up. So if a routed network / more than a single IPv4 Address was required on the customer side you would bring up the link and tell the customer they also have this subnet range of addresses they can allocate on their side of the link.
Since unconvinced to see the compelling reason case why IPoE/DHCP is any better than a PPPoE link, as I can only see downsides to IPoE.
From: nznog-bounces(a)list.waikato.ac.nz [mailto:nznog-bounces(a)list.waikato.ac.nz] On Behalf Of Hamish McGlinn
Sent: Thursday, 14 September 2017 9:06 a.m.
To: Brian Gibbons
On 14/09/17 09:33, Peter Lambrechtsen wrote:
For me the restore time in the event of loss of service to customers is the main reason why PPPoE is superior to DHCP/IPoE.
Thanks for all the details. I do remain puzzled by the use of a stateful protocol (PPPoE) with a timeout (LCP keepalive) leading to better restore time than a mostly stateless approach (eg, VRRP for the gateway address, let CPEs keep using their DHCP lease IP, separate DHCP servers with state, minimal state in customer-facing gateway other than VRRP-master-of-the-second -- which is a common approach in, eg, datacentre networking).
Voice ATA services on the same handover can take up to 30 mins to restore even though the DHCP lease is set down to 5 mins.
Presumably this is until they give up on trying to renew their old lease and get around to asking for a different one. But it's not clear why they need a new IP anyway, at least over a short break like a head end device reboot. If the IP/subnet/gateway stays the same, IIRC most DHCP clients will successfully re-request it from another DHCP server on the same subnet if their original DHCP server goes away.
Another advantage is to find out the customers current sync rate on copper as the vast majority of Chorus EUBA/WVS DLSAMs send you the connect rate information in the PADI
That's definitely an argument for PPPoE on xDSL for legacy reasons; but UFB isn't over copper...
Even in the UFB world I would always expect some sort of router / Customer RGW between the ONT and the customers devices. I wouldn’t expect a customer to plug in a switch into an ONT then have multiple devices sending DHCP requests to the BNG
Nor would I, FWIW, I'd expect there to be some sort of router/CPE/RGW device at the edge. The usual way to handle that in a just-switched-Ethernet world is to put a MAC limit on the port; it seems like an obvious thing that an ONT could enforce (eg, 1 MAC, dynamically learnt, forgotten as soon as ethernet carrier on link to CPE goes away so end user can change CPE at will).
Since unconvinced to see the compelling reason case why IPoE/DHCP is any better than a PPPoE link, as I can only see downsides to IPoE.
Definitely seems to be a religious war :-) Thank you all, I'm much better informed as to why we ISPs are still doing PPPoE in a UFB/metro-ethernet environment. It still doesn't seem like a good tradeoff to me, but at least y'all are getting more than username/password authentication out of it! Ewen
Chiming in here..
On Thu, Sep 14, 2017 at 9:05 AM, Hamish McGlinn
I'm of the same opinion as Peter on this. I'm firmly in the PPPoE camp.
Generally speaking the only real case of opposition is the MTU at 1492. However in saying this I feel like it is a non issue with mss adjustment. If the software takes note of the change in mss then there shouldn't be a problem. UDP deployments as far as I have come across are only small packets so once again a non issue.
Yup, everyone who doesn't like PPPoE seems to complain about the 1492 packet size. But almost all cheap CPEs tend to do tcp mss adjustment automatically. All the big name firewalls (Juniper, Cisco, Fortigate) have an option for it. Finally, as a last resort at our end we can do something funky : term tcp-helper { from { protocol tcp; tcp-flags syn; } then { forwarding-class best-effort; routing-instance vr_tcp_mss; } } (we just do that in one direction) And then send those packets through a TCP MSS adjuster. This works well for the rare case where the customer can't do it. Really, the 1492 packet size is just a non issue. Cheers Dave
On 14/09/17 09:38, Dave Mill wrote:
And then send those packets through a TCP MSS adjuster. This works well for the rare case where the customer can't do it.
Really, the 1492 packet size is just a non issue.
I guess the Internet really is only TCP these days... and presumably soon only TCP/443 (maybe with a bit of legacy TCP/80). The other 120-ish IPv4 protocols are unused.... or should that be unusable. TCP MSS clamping is a clever hack to work around PMTU Discovery issues caused by MTU mismatches along the path. But it only works for TCP, and then only for unencapsulated TCP. It wouldn't be necessary if deliberate MTU mismatches weren't being designed into even "new" networks; 1500-byte MTU might only be a de facto standard (due to the ubiquity of Ethernet now), but it is a wide spread de facto standard. FWIW I'm personally more annoyed by PPPoE being unable to go through the fast path forwarding on CPE devices, and thus being CPU performance limited, than about the MTU reduction. But the lower user-visible MTU seems almost entirely avoidable -- and yet not avoided in the common case. Ewen PS: On the plus side, everyone's PMTU Discovery algorithms are getting a good work out.... :-)
On 09/14/17 10:16, Ewen McNeill wrote:
On 14/09/17 09:38, Dave Mill wrote:
And then send those packets through a TCP MSS adjuster. This works well for the rare case where the customer can't do it.
Really, the 1492 packet size is just a non issue.
I guess the Internet really is only TCP these days... and presumably soon only TCP/443 (maybe with a bit of legacy TCP/80). The other 120-ish IPv4 protocols are unused.... or should that be unusable.
QUIC (transport over UDP) is growing in share of google's egress traffic http://conferences.sigcomm.org/sigcomm/2017/files/program/ts-5-1-QUIC.pdf
On 14/09/17 09:38, Dave Mill wrote:
Really, the 1492 packet size is just a non issue.
FWIW, in case people didn't see these APNIC blog posts last month, there's a risk of this ending up being an IPv6/UDP issue: https://blog.apnic.net/2017/08/22/dealing-ipv6-fragmentation-dns/ https://blog.apnic.net/2017/08/29/dealing-ipv6-fragmentation-dns-part-2/ """However, what it does indicate is that some one-fifth of IPv6-capable endpoints are unable to receive a fragmented IPv6 packet. In TCP this may not be a major issue, but for UDP-based applications, and the DNS sites first and foremost as a UDP application where large packet responses are common, having one-fifth of the end-user population being incapable of receiving fragmented large responses over IPv6 is indeed a serious problem. [...] Whatever the reasons, the conclusion here is unavoidable: IPv6 fragmentation is just not a viable component of the IPv6 Internet. We need to adjust our protocols to avoid fragmentation. """ So forcing 1500/1492 MTU mismatch on end users is still potentially a landmine for the future. IMHO it'd be useful to push end users/CPE devices towards at least doing mini-jumbo-frames on the ONT/upstream side so that 1500-byte user packets can be passed as-is. From some casual investigation, QUIC -- which is UDP based -- appears to have decided it simply can't assume 1500-byte MTU will get through, and limited itself to 1350 data payload, plus various protocol headers (UDP, IPv4, etc), coming in well under 1480 all up. It may be that everything else without robust PMTU ends up having to make the same assumptions, forever, because we carry the past with us. Ewen
[Reordering quotes for readability] On 13/09/17 18:18, Don Stokes wrote:
I don't believe anyone is actually using usernames/passwords to identify customers any more, but I won't be surprised if I'm wrong. It's not like dial-up where the customer could be coming from anywhere.
Part of what prompted my surprise is that this Mikrotik very much did have a username and password on the PPPoE configuration, apparently given to my client (setting it up for their customer) by the ISP in question -- and the password looks "password like" rather than just a placeholder. It's good to hear from you (and Nathan) that at least that part is less common.
[PPPoE] has the advantage that IP address management with PPPoE & friends is fairly straightforward, and you don't go wasting IP addresses, given that everything speaking native IP over Ethernet expects to see a subnet with a network, broadcast and gateway address in a /30 [....] This is important, because UFB is VLAN-per-circuit;
Unless I'm missing something, wouldn't the PVLAN sort of approach work out here? Put each customer into a isolated PVLAN, and put the ISP-end gateway into a community PVLAN, then the customer VLANs can talk to the ISP but not to each other -- and you can use a larger subnet for efficiency (/24, /22, etc). Possibly this would require some fibre provider/ONT assistance... but the whole UFB thing was built from scratch so doing it didn't have to be layers upon layers of abstraction to make it look like the past.
Note that PPPoE in most configurations has an MTU of 1492, not 1500
This particular one seems to have the Mikrotik defaulting the PPPoE interface MTU to 1480. I didn't investigate exactly why, but it didn't seem to be specified in the PPPoE client config on the Mikrotik. (VLAN 10 MTU was 1500.) 1492 MTU seems to be the best case for PPPoE if the parent ethernet interface MTU is 1500; and configuring for mini-jumbo frames on the ONT/UFB side would seem to be an obvious work around, but it's not clear if that's commonly done either. I'd be a little less bitter about forcing PPPoE on end users if it didn't force their user-data-MTU down below the assumed-in-end-user-equipment 1500 byte MTU.... Ewen
On 13 September 2017 at 19:03, Ewen McNeill
Part of what prompted my surprise is that this Mikrotik very much did have a username and password on the PPPoE configuration, apparently given to my client (setting it up for their customer) by the ISP in question -- and the password looks "password like" rather than just a placeholder. It's good to hear from you (and Nathan) that at least that part is less common.
My ISP at home uses the same username/password as the customer portal for PPPoE authentication (we might be talking about the same one, though).
Unless I'm missing something, wouldn't the PVLAN sort of approach work out here? Put each customer into a isolated PVLAN, and put the ISP-end gateway into a community PVLAN, then the customer VLANs can talk to the ISP but not to each other -- and you can use a larger subnet for efficiency (/24, /22, etc). Possibly this would require some fibre provider/ONT assistance... but the whole UFB thing was built from scratch so doing it didn't have to be layers upon layers of abstraction to make it look like the past.
The problem with that approach is that you break P2P connectivity between customers. If I have a public IP address, I would expect it to be accessible from any other public IP address unless explicitly filtered. I guess proxy-arping is the best solution here, unfortunately. You will still need to allocate a gateway IP address per subnet (although you can increase the subnet size to mitigate this, assuming you have enough contiguous address space available).
This particular one seems to have the Mikrotik defaulting the PPPoE interface MTU to 1480. I didn't investigate exactly why, but it didn't seem to be specified in the PPPoE client config on the Mikrotik. (VLAN 10 MTU was 1500.)
1492 MTU seems to be the best case for PPPoE if the parent ethernet interface MTU is 1500; and configuring for mini-jumbo frames on the ONT/UFB side would seem to be an obvious work around, but it's not clear if that's commonly done either. I'd be a little less bitter about forcing PPPoE on end users if it didn't force their user-data-MTU down below the assumed-in-end-user-equipment 1500 byte MTU....
I believe most Chorus products support at least a 2000 byte MTU, the problem is that you need to set it up manually on every CPE. Kind regards, Andre
Hi Ewan,
On 13/09/2017, at 3:53 PM, Ewen McNeill
wrote: A client had a (business) customer switch over to UFB and needed assistance reconfiguring the (Mikrotik) router being attached to the ONT -- it turned out whoever first set up the Mikrotik (sensibly) assumed it'd be seeing IP packets over VLAN 10, but actually the ISP required IP packets over PPPoE over VLAN 10 in order for it to work.
Looking around it appears this client's customer's ISP isn't the only one that is requiring PPPoE over VLAN tagging over Ethernet for their UFB connections. Is there a reason other than "let's make everything look like 1990s dialup so it works with our legacy equipment" for the bit/CPE CPU overhead of PPPoE on UFB, including imposing the lowered usable MTU and PMTU discovery headaches on the end user?
The only one that really comes to mind is "user/password authentication" (rather than needing to collect CPE MAC addresses which seems to happen with, eg, Vodafone cable/FibreX). But it's not clear to me why, eg, 802.1X isn't used for the user/password authentication in that case; or DHCP with some extension to pass a "secret" identifier. 20-bytes-per-packet-forever seems a large overhead to pay for user/password authentication at CPE power on.... (Maybe in the beginning there's "lack of CPE support" -- but we're a few years into the UFB rollout, and lots of ISPs seem to be supplying their own ISP-badged CPEs anyway, which could presumably implement whatever was needed.)
That’s not how it works in either PPPoE or IPoE for either UFB or EUBA products. In both EUBA and UFB, Chorus or the LFC inserts a headers in to the DHCP or PPPoE messages that convey the Circuit ID and Remote ID. Remote ID is the most commonly used for authentication and corresponds to a provider reference number (ASID in Chorus world, for example). Almost no providers use the PPPoE username/password authentication stuff. No providers I’m aware of use MAC address authentication. PPPoE’s benefit is LCP keepalives for fast failover. Without them, you need a BNG system that either: a) has low DHCP timers, or; b) has BFD /similar and you have CPE that support it, or; c) has state syncing with another box ..or you forego fast failover times. Even with low DHCP timers you’re going to get 5 mins or so failover times if you lose a BNG. I prefer to use IPoE and deal with the above issues, as I agree, it’s better. Not everyone makes the same value judgement though, and that’s fine. -- Nathan Ward.
On 13/09/17 18:21, Nathan Ward wrote:
In both EUBA and UFB, Chorus or the LFC inserts a headers in to the DHCP or PPPoE messages that convey the Circuit ID and Remote ID. Remote ID is the most commonly used for authentication and corresponds to a provider reference number (ASID in Chorus world, for example).
DHCP relay with additional parameters defining the origin ONT also seems like a sensible way to identify back to the premises in question, if you're doing IP straight over VLAN 10 (etc). That was the sort of "DHCP extension" I had in mind as an alternative to username/password authentication in PPPoE. If PPPoE also has a similar extension at the discovery phase (where the ONT/fibre provider can inject more identification details) then that too seems less problematic than requiring the end user to configure dialup-style PPPoE username/password details (as appears to be required by my client's customer's ISP). But you do still have the PPPoE overhead, and state.
PPPoE’s benefit is LCP keepalives for fast failover. Without them, you need a BNG system that either: > a) has low DHCP timers, or; b) has BFD /similar and you have CPE that support it, or; c) has state syncing with another box
BFD (https://en.wikipedia.org/wiki/Bidirectional_Forwarding_Detection) seems like another obvious "we should arrange to have CPEs that can do this" feature if one were building out a network like UFB from scratch. BFD's overhead is rather less than 8-bytes-per-frame-forever, even at, eg, one BFD exchange per second. Running PPPoE to get LCP keepalive seems a fairly heavyweight solution to the "we'd like faster than 5 minutes failover if a ISP core device dies". Clustering devices for HA ("state syncing with another box") is a fairly common approach (although not without its own set of edge cases to get right in the clustering protocol). Ewen
On Wed, Sep 13, 2017 at 3:23 PM, Ewen McNeill
A client had a (business) customer switch over to UFB and needed assistance reconfiguring the (Mikrotik) router being attached to the ONT -- it turned out whoever first set up the Mikrotik (sensibly) assumed it'd be seeing IP packets over VLAN 10, but actually the ISP required IP packets over PPPoE over VLAN 10 in order for it to work.
Looking around it appears this client's customer's ISP isn't the only one that is requiring PPPoE over VLAN tagging over Ethernet for their UFB connections. Is there a reason other than "let's make everything look like 1990s dialup so it works with our legacy equipment" for the bit/CPE CPU overhead of PPPoE on UFB, including imposing the lowered usable MTU and PMTU discovery headaches on the end user?
*waves from over the ditch* I notice you said a business customer - for that reason alone, my usual expectation for the handoff of a service would be either a tagged or untagged IPoE service - likely statically configured (not DHCP). In the case of a 'business plan on a residential-grade service', something I've often seen marketed as "SOHO" or some kind of 'business pack' you can add-on to a residential service, then I'd be less surprised to see the service delivered using the same methodology as a residential service (either PPPoE or IPoE using DHCP). I guess it makes sense if you are an ISP and already have the infrastructure to deliver one or the other to keep doing that. The other consideration I'd put out there for PPP is that in the 'residential grade service dressed up as a business product', I've seen lots of ISPs make use of broadband aggregation features such as quotas and differentiated billing/traffic metering (e.g. "free traffic for content delivered via our local mirror, or with a given DSCP value"), shaping users after a given quota, making use of walled gardens/captive portal pages to redirect users with expired accounts or for payment details. A lot of those features (at least in Cisco land) were much easier to implement when you had a technology like PPP giving the customer connection state and a logical interface on the broadband aggregation box to work with. I know in Cisco's ISG there was a theory of treating customers attaching via a variety of technologies the same, but I think many people that have used ISG would be likely to agree that while it's a great idea in theory, the reality is not quite the case.
From my experiences, I think the ability of PPP to give the impression of a stateful, point-to-point link for each customer over a shared aggregation network seems to be a massive boon, well worth the overhead.
The only time I think it wouldn't make sense is on top of a true business grade connection where the user already has a dedicated VLAN/broadcast domain/bridge group/whatever naming suits to themselves. Cheers, Sam
participants (10)
-
Andre Sencioles
-
Brian Gibbons
-
Dave Mill
-
Don Stokes
-
Ewen McNeill
-
Hamish McGlinn
-
Matthew Luckie
-
Nathan Ward
-
Peter Lambrechtsen
-
Sam Silvester