2 ms·
I never said moving from 4 to 8 bytes would require less changes that IPv6. The problem of adoption with IPv6 is not technical. It's that IPv6 changes radicall
by Galanwe 3y ago
I never said moving from 4 to 8 bytes would require less changes that IPv6.
The problem of adoption with IPv6 is not technical. It's that IPv6 changes radically how we thing about IP networks.
IPv6 explodes all existing concepts of DHCP, DNS, NAT, etc. You have an entire generation of network, system and software engineers that have no clue at how IPv6 work, no existing infrastructure to learn it, and somehow expect that it's going to stick.
I say, let's solve the 90% that is really problematic with IPv4, being the number of adresses, and the rest is moved to some other standard.
- throw0101a 3y ago> It's that IPv6 changes radically how we thing about IP networks. I never understood this line of thinking. You put your Layer 4 bits into a Layer 3 packet with a larger address space, then stuff that into a Layer 2 frame, and send it off onto the wire/air waves. You can have DHCP(v6) if you wish. DNS is only different with a new record type (AAAA). NAT-y stuff can still be done, but stateful firewalls are not different. The fact that you can—if you wish—have less infrastructure (no DHCP server, no NAT (but still SPI)) should make it easier to deal with, not harder.
- Galanwe 3y ago> The fact that you can—if you wish—have less infrastructure should make it easier to deal with, not harder. Look, I don't know what to tell you, honestly. I tend to think I'm fairly more litterate in networking than most software engineers. I am no network engineer, but I have spent most of the last decade writing networking software, including layer 2 VPNs. I am also genuinely interested in understanding new tech. Yet, IPv6 _terrifies_ me. Every 2 years or so I'm in the mood of learning it. And every time, after reading docs on the subject, I'm like "Nope, I'll wait til I retire to get my IPv6 PhD". Maybe that's just a matter of finding a proper, accessible documentation. I always end up thinking "okay so that's a total big bang I have to rethink entirely everything I know about L3".
- Dagger2 3y agoI really don't get why it's terrifying. Maybe it would help to just do it rather than reading docs about it? As an example, let's say your ISP gives you the details: WAN IP: 2001:db8:ffff:200::2/64 (like "203.0.113.2/24") Default router: 2001:db8:ffff:200::1 (like "203.0.113.1") Routed prefix: 2001:db8:42::/48 (like "192.168.0.0/16") On a Linux router, you would set this up by doing: ip addr add 2001:db8:ffff:200::2/64 dev wan0 ip route add default via 2001:db8:ffff:200::1 ip addr add 2001:db8:42:1::1/64 dev lan0 [like "192.168.1.1/24"] Then install radvd, put the following into /etc/radvd.conf and start the radvd daemon: interface lan0 { AdvSendAdvert on; prefix ::/64 { DeprecatePrefix on; }; RDNSS 2001:4860:4860::8888 { }; }; This is enough to give you a functioning network. Your machines will pick up the announcement, assign themselves addresses and default routes, and can talk to each other and the Internet. And as you can see, this L3 setup isn't any different to v4 -- you've got a WAN IP, a LAN IP and a route. Devices get IPs from 2001:db8:42:1::/64 like they get IPs from 192.168.1.0/24. The client autoconfig is different but it's a lot simpler than DHCP. What am I glossing over? Most ISPs aren't static, which means you need to automate the above setup, and even for a static ISP you'd need to persist the `ip` commands (e.g. via /etc/network/interfaces or whatever your distro uses to do network config). If your ISP needs ppp or VLANs or whatever then you gotta deal with those too, but that's not v6-specific. You're also going to want a firewall, but that will look very similar to your v4 one: deny new connections from the WAN, allow new connections from the LAN, allow packets from existing connections in both directions. I can give you ip6tables or ferm for that if you want. Lastly, I'll point this out explicitly, but you don't need NAT which is why there's no mention of it above. It's just not necessary. The ISP has an inbound route set for 2001:db8:42::/48 to your router, and a /48 is more than enough address space. Other than that, those three commands + radvd config really are enough for a fully-functioning network. It doesn't seem terrifying to me, nor does it seem inaccessible to someone that already knows how v4 networks work.
- hnbear 3y agoThis actually did more to explain the implementation basics that most intros I’ve read. I’m not the parent but I just end up not wanting to have to debug network traffic across two protocols where I don’t know how to deterministically work out which is in use. Then I need to work out new firewall rules and replacements for things like Pi-hole, home DNS, etc. Realistically that’s just me reading docs for 10 minutes, and double-checking everything has the “work with ipv6 box” toggled. But personally my hesitation is getting stuck in this in between and maintaining two network setups. Not terrifying, just a lot of work I don’t need to do. But thank you. Now I’m inspired to do it.