Re: IPv6 isn't a very good solution?
" Ipv4.1 would be a lesser rewrite."
Until it isn't - and the rewrite is not the issue as you need to do that anyway.
IPv6 is "IPv4 expanded" at its core. The extra features are all optional despite the whingers claiming otherwise
The Elephant int he room is that it doesn't matter HOW large the address space is, moving off IPv4 requires dual stacking and transition periods.
Doing it only ONCE is preferable to having to look at having to repeat the process every 15 years or less
FWIW
1: IPv4 was GOING to use 128bit addressing until Vint Cerf was browbeaten into using 32 bits as IPv4 was a kludge solution only intended to be used for 5 years in a population of a few hundred machines
2: IPv4 is actually a ROUTING protocol. The first 2 octets were intended to indicate site and department, in a red/black tree type manner (in a manner akin to "country, city, district, street address", A.B.C.D was "A=site, B=department, C=subdepartment, D=address)
Because it was sparse, when a "shortage" loomed in the late 1980s, extra address space was able to be shoehorned out of it by throwing out the routing intentions but it quickly turned into spaghetti-infused custard
3: IPv6 restores that routing protocol and means you can (mostly) get rid of most of the messy shit of OSPF/BGP/EIGRP, etc etc etc. In the core of the Internet this is hugely important as IPv4 routing granularity has had to be pruned down simply to stop routers shitting themselves - and that means that if you have a portable /24, you tend to find it's not portable at all due to the smallest prefix being accepted at most BGP4 tier1 interfaces being /18 - it also means you find your /24's traffic being routed over paths you weren't expecting, subjected to arbitrary interference by non-contracted parties
IPv6 still uses 16 bit ports at host level
Any arguments about NAT providing enduser security are proof that the poster is still of shit and has no idea what they're talking about. These fuckwits are the same kinds of twats who think multiple levels of NAT or CGNAT are a good idea
I'm one of the people who pioneered enduser dialup NAT back in the very early 1990s.
Security wasn't even a consideration when it was rolled out - all we were looking for was a way of being able to support multiple users on the end of a modem without having to play complex/expensive routing games on the dialup server (most of which would provide a single IP - ONLY - in any case)
In my case the main motivating factor (in a university town) was enabling student flats to put a bunch of people through one connection and not have 4 people tying up 4 different lines most of the evening.
The customers loved it because they could pool costs and not pay for 4-6 analogue phone lines into their flats, or avoid fighting over whose turn it was to use the modem line.
Yes, it was a kludge - with a very specific purpose. It's been used and abused out of all recognisable shape since then and if we'd had any idea at the time of the clusterfuckage we were unleashing we'd have burned the idea at midnight whilst summoning eldrich gods to deal with further deployments