9 ms·
TL;DR - we'd like someone to add warnings to ifconfig etc. if no netmask is supplied. I could do it but don't have the time.
by sn 6y ago
TL;DR - we'd like someone to add warnings to ifconfig etc. if no netmask is supplied. I could do it but don't have the time.
- Lammy 6y agoThat's not a very good summary at all. Most of the article is on the history/evolution of Internet addressing.
- iso1631 6y agoEither way it's not a story of someone actually building a single broadcast domain with millions of hosts on
- sn 6y agoIt's not a summary by number of words, but it if someone doesn't want to read the article, it's what I want them to be aware of. It's frustrating the number of silly things you can do at the command line that persist for backwards compatibility reasons. But we can at least add warnings for them. It would have been much better for the user to have been told at the time they failed to add a netmask that they made a mistake. It would have removed the need for the support ticket entirely (at least, one hopes so.) mkswap is another example of this. Karel Zak had thoughtfully added warnings in swapon already if you enabled swap with insecure permissions https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/sys-utils/swapon.c?id=cd04b26bf86d9987554aae02620d8f8172c66e16 https://git.kernel.org/pub/scm/utils/util-linux/util-linux.g... but nobody had bothered to warn at the time the swap file was actually created. So I had someone add that: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/disk-utils/mkswap.c?id=cc706d9f0978c03f730aec627c5b656ee4eec58f https://git.kernel.org/pub/scm/utils/util-linux/util-linux.g...
- gnu8 6y agoMaybe just default to /24. That is a fairly sensible default and anyone who wants something different should be smart enough to specify a mask.