4 ms·
When I see things like this, I suspect people aren't thinking through all of the NDP edge cases. Do you really want the potential to have 2^64 NDP entries on y
by ra1n85 8y ago
When I see things like this, I suspect people aren't thinking through all of the NDP edge cases. Do you really want the potential to have 2^64 NDP entries on your gateway? What about NUD - do you really want that many potential hosts performing unreachability detection?
NDP is the abominable child of ARP and an IGP and doesn't scale well. Using huge address spaces everywhere is a good way to let it crush your network.
- nimbius 8y agoperhaps its just my lack of coffee, but I fail to see the scalability issue. Router Redirection can prune quite a few ndp discovery table entries but Learned link-layer addresses are kept in a neighbor discovery table. 2^64 link layer connections are probably not present in a competently designed IPv6 network. im also confused as to what this paper is talking about in terms of new features.../64 and per host is already a thing in linux. RADVD for example allows you to delegate upstream prefixes to additional interfaces in linux routing. these /64 delegations are handled by the linux host that delegated them and are only known one step above that router as a singly delegated prefix from the "gateway." prefix delegation was designed explicitly for the /64. if anything home ISP's need a slap on the wrist for their stingy DHCPv6 delegations of what basically amount to a SINGLE ipv6 address or some weird less-than /64. splitting a 56 is a better idea here.
- organsnyder 8y agoAs much as I dislike the rest of their business, I have to give credit to Comcast for assigning up to a /60 if the router requests it. Of course a /56 would be better, but 16 networks should be good enough for any home network, right? <g>
- snuxoll 8y ago> if anything home ISP's need a slap on the wrist for their stingy DHCPv6 delegations of what basically amount to a SINGLE ipv6 address or some weird less-than /64. splitting a 56 is a better idea here. This is the single most infuriating issue with IPv6 rollout in the US. CenturyLink is starting to roll out native IPv6 support (instead of 6rd which they've been using for years), the only issue is you get a single /64. I mean, I have no use for giving every single host a /64, but I've got five or six VLAN's and without at least a /56 I've got no way of actually deploying IPv6 on my network. By the way, this is a business DSL connection too - so it's not like they shouldn't expect something more than your typical flat home network where everything sits on a single broadcast domain.
- ra1n85 8y ago>I mean, I have no use for giving every single host a /64, but I've got five or six VLAN's and without at least a /56 I've got no way of actually deploying IPv6 on my network. Why can't you subnet the /64? CenturyLink isn't doing dot1q tagging to you, so you must have a router with tagged interfaces on your network. Edit: Imagine this is because you want to use SLAAC.
- y0ghur7_xxx 8y agobecause if you want slaac to work without nat, the smalles ipv6 subnet you can have is a /64. so if your provider gives you just a single static /64, all you can allocate is a single subnet.
- snuxoll 8y ago> Edit: Imagine this is because you want to use SLAAC. Not just because of SLAAC, prefixes smaller than /64 are likely to mess with all sorts of assumptions built into networking gear. It may not be "correct" since there are valid reasons for subnets as small as a /127 (though they are used infrequently enough at least), but a lot of networking gear cheats with IPv6 routes to keep the amount of TCAM memory needed down. Why spend 128-bits per route and quadruple the memory required when you can double it and go 64-bits per route and dump the longer ones to slower DRAM (I mean, you only use /127's for point-to-point links that don't need link-rate switching anyway)? Regardless of anyone's philosophy of address assignment strategies, prefixes smaller than /64's in IPv6 are un-wise unless you want to degrade into worst-case routing paths on your network gear.
- ra1n85 8y agoSomewhat of a good point, but I don't think it applies here - some implementations, particularly inexpensive devices like SOC's, do exact search on common prefix lengths like /64 and /48. I can't imagine this would be a huge problem within a home network, though. Even then, DRAM, which is essentially software switching, is rarely used. Further, you said you had 6 VLANs - this is well within the route scale of the vast majority of network devices regardless of how they implement their lookup data structures. Good example: The SRX300, a desktop router/firewall implemented on a MIPS based Cavium Octeon (both control and data plane) can handle up to 256K IPv6 routes: https://www.juniper.net/assets/us/en/local/pdf/datasheets/1000550-en.pdf https://www.juniper.net/assets/us/en/local/pdf/datasheets/10... The Trident series SOC's can do 8K by default, and 64K with ALPM enabled: https://www.juniper.net/us/en/local/pdf/datasheets/1000480-en.pdf https://www.juniper.net/us/en/local/pdf/datasheets/1000480-e... >(I mean, you only use /127's for point-to-point links that don't need link-rate switching anyway)? /126's and /127's are often used for PTP's for peering/transit. Line rate is table stakes. Bear in mind that the gear used in these situations has plentiful lookup memory (SRAM, RLDRAM, HMC, or HBM).
- ra1n85 8y ago>2^64 link layer connections are probably not present in a competently designed IPv6 network. From the article: "Provides a very simple mechanism for a single host or interface to be able to run 2^64 virtual machines" That equates to AT LEAST 2^64 NDP entries. And when the L3 domain is scoped to that of a single hypervisor, router redirects are not relevant.
- akvadrako 8y agoThis seems off-topic. 64-bit networks for whole companies vs 64-bit networks per host, it makes no difference for the attacks you are thinking about.
- stephen_g 8y agoIsn't the presentation talking about each host acting as a router? So any gateway only needs to know about the prefixes that are the next hop downstream, not every single host. Maybe I have this wrong, but I think the idea here is talking more on layer 3, whereas you are imagining everything sharing the same layer 2 network?
- ps0ps 8y agoOne of the benefits of /64 per host is there is no NDP since the only neighbor is your router.
- ra1n85 8y agoI'm speaking from the perspective of the router (or physical host) which must maintain NDP entries.
- majidazimi 8y agoAdditionally you can install the routing software on server itself and let it form neighbor-ship with ToR router(s) and use ECMP directly from server in multi NIC scenarios. ECMP failover/recovery is faster and simpler (vendor agnostic) than link aggregation protocols. Basically each rack becomes its own OSPF totally stubby area. Data center core runs as area 0.
- X-Istence 8y agoBIRD or other BGP on the host running VMs/containers is what Calico does. We had it peer with our ToR "switches" over BGP. We could do zero downtime, 1 or 2 packets lost live migration of workloads from one hypervisor host to another and had full ECMP capabilities. We did this with both IPv4 and IPv6. There is nothing special about IPv6, but it does make it easier to aggregate routes.