I keep hearing IPv6 reduces the size of routing tables by letting the ISPs aggregate their customers prefixes. How does this differ from route summarization in IPv4?
I keep hearing it as an advantage over IPv4, but as far as I'm aware, there's the same functionality in most IPv4 capable routers in the form of summarization. I've read a ton of blogs mentioning this point, but on one has as of yet explained how it differs from the IPv4 equivalent.
edit: thanks for the responses everyone! Hawk7000 really hit the nail with "I think it's not so much a theoretical difference but a practical one.".
Posted Jun 7, 2021, 8:25 PM UTC · edited
The main reason is the incredible amount of fragmentation in IPv4. It is unlikely that any customer or ISP has multiple prefixes with V6, but it is the norm with v4 (especially for ISPs)
Some do, but I think it's more due to different blocks being for different purposes (perhaps controlled by different organizational units) than due to exhaustion issues. I.E. Google has 2607:f8b0::/32 for their own infrastructure, but uses 2600:1900::/28 for Google Cloud customers (so far only for load balancers - still no IPv6 to VMs :-/ )
I've also noticed Comcast uses a different prefix for customer allocations (2601::/20) than on their routers. (2001:558::/29)
The three biggest clouds all gave up IPv6 in their mad rush to secure marketshare.
AWS even heavily regressed from their original IPv6 support, which was pretty good for the time. When I started using EC2 in 2010, AWS Elastic Load Balancers were dual-stacked by default, and that was actually rather impressive. At some point they stopped making them dual-stacked by default -- maybe 2011 or 2012.
But when EC2 implemented VPCs, then later forced all new accounts to use VPCs, things went downhill. The ELB available to VPC users didn't support IPv6 at all, under any circumstances. The irony is that VPC was forced on all new accounts because without segregated VPC networks, EC2 ran out of RFC 1918 address space.
The three major clouds have been slowly adding back in the IPv6 features since then. They honestly would have saved themselves a lot of time and trouble if they'd embraced IPv6 from the start.
(Disclosure: I work for AWS, but don't speak for them)
I worked on the EC2 network back when the original dual-stack ELB was a thing. The technology that made that thing work was not scalable, and IPv4 address inefficiency was only a small part of it. By moving away from that network technology to VPC, AWS was able to provide customers with features that they needed, while simultaneously laying the groundwork for proper IPv6 support. While v6 is not as universally supported across AWS as it eventually could be, the EC2 IPv6 experience is quite a bit more advanced than it was back in the 2011 era, and the underlying technology is capable of extending v6 support further than would have been possible in the EC2 Classic network.
Here's some documentation on how IPv6 works today within VPC networks and with load balancers in AWS:
https://docs.aws.amazon.com/vpc/latest/userguide/get-started-ipv6.html
https://aws.amazon.com/premiumsupport/knowledge-center/elb-configure-with-ipv6/
I appreciate the first-hand insight. We weren't negatively affected by the changes at the time, but I still see it as loss.
But let's be honest: that translates to "VPCs provide more support for lift-and-shift customers, while being a very large regression for anyone serving over IPv6".
EC2 has changed a lot over the years. Very few people know how unfriendly original EC2 was to lifting-and-shifting enterprise workloads into it. I guess Amazon just gave up trying to get most new customers to rearchitect anything, because it's clear now that that's not what they want to do. They want to treat AWS like an outsourced datacenter, but with a more well-defined API and no hardware management.
There is a provider (forgot which, can see if I find them again if there is interest) who actually gives you v6 only (v4 costs extra) but they give you a TLS Proxy which uses SNI (which is sent unencrypted) to forward traffic to the correct box. So if you set the correct A record and tell them your domain, you can still connect using v4. The encryption is also still terminated on your server, so they can't decrypt any traffic. For ssh they have a proxy where every customer just gets a different port
[deleted]
It will be interesting to see how this proxy solution holds up when Encrypted Client Hello becomes widely deployed.
When you receive an IPv6 allocation from one of the RIRs, the address space immediately following yours is also reserved for your future use in case you need to expand. For instance if Arin allocates you a /48, they actually reserve /36 for you.
With IPv4 this is not possible, as there simply isn't enough address space to leave large blocks reserved for future use, so if you need more address space in future you're likely to get a completely different block.
Similarly while large blocks are typically allocated to each RIR, IPv4 resale has caused many blocks to move around different regions.