3 ms·
Wait till you see how people react to /31 and /31 ending with .0 > and the people who have spent dozens of years seeing the worst of what the internet has to o
by ilyt 3y ago
Wait till you see how people react to /31 and /31 ending with .0
> and the people who have spent dozens of years seeing the worst of what the internet has to offer both treat them as sacred cows
...a lot of them just didn't update their knowledge over time.
- mlyle 3y agoHis point is that there's a pretty common journey: - Newbies see .0 and .255 as special - We learn about CIDR, and there's nothing special about a .0 in the middle of a large block. - Then we get zapped by weird connectivity problems or tools that don't let us enter the address because it fails "validation," etc. Then we think... does our DHCP range really need to cross the boundary when we have a /23? Maybe we should just have two DHCP ranges with a little hole in the middle. It's less than 1% of addresses...
- schoen 3y agoThe Busybox DHCP server had a special case where it wouldn't ever give out a .0 address, and I submitted a patch to remove that. I didn't even think about the possibility that someone might intentionally want that (to work around misbehavior of other devices). I don't think the person who added it was thinking that way, but I might be wrong. The behavior of arbitrarily rejecting .0 has gotten a lot rarer in the wild lately. (I can confirm that because I've done a whole bunch of connectivity tests to .0 addresses, including using RIPE Atlas.)
- ogurechny 3y agoIt was probably added during the development of firmware for some cheap switch whose hardware did some unrecoverable nonsense when seeing such addresses in packets.
- mlyle 3y agoIn addition to various problems with UI/validation... a whole lot of networks/devices filtered 0.0.0.0 netmask 0.0.0.255 when ICMP amplification attacks were such a thing (and before we had better mitigations).
- toast0 3y agoNot likely a cheap switch. Cheap switches don't even look at IP; they just do ethernet and that's enough. More likely to be a slightly fancy switch, or terrible CPE for DSL/Cable.
- rvnx 3y agoIt's the complete opposite: Experienced engineers understood that .0 and .255 are actually handled differently in the real-world, so they make sure to avoid them. "Reality sucks, deal with it" Newbies who just read the specs and learnt from classrooms are tricked into believing that .0 and .255 are the same. Which is true on paper, but not true in reality.
- mlyle 3y agoI think what you're saying is absolutely consistent with what I'm saying-- so I'm not sure what you're trying to say or if you've grokked my point (that people completely new to networking with less formal learning and people with tons of experience are superstitious about .0).
- p_l 3y agoPart of that is /31 being an extension to IP that isn't universally accepted/implemented. I tend to run /30 as the smallest because of that (no sudden surprises if a piece of gear doesn't support the extension)
- yokem55 3y ago"RFC 3021: Using 31-Bit Prefixes on IPv4 Point-to-Point Links" was published in December of 2000. Most systems have supported it for a long time, with Netgear (swearing under my breath) being the biggest outlier and straggler.
- simonjgreen 3y ago_cries in mikrotik_
- iso1631 3y agoMikrotiks will let you use any two IPs on an interface. "ip address add interface=ether1 address=10.0.0.0 network-10.0.0.1 for example, but you could also use address=10.0.0.0 network=192.168.0.0. I think last time I used it there were a few bugs around redistribution. I tend to use private IPs, certainly for p2ps, so a /30 is fine
- jpc0 3y agoIt was already mentioned but Mikrotik allows /31 just fine