Mike Coddington <m...@coddington.us> writes: > There was a useful tool that someone posted on misc a while back called > netcalc. I think this is its website: > https://jamsek.dev/posts/2019/Sep/21/ipv4-and-ipv6-cidr-subnet-calculator/ > Check it out if you want to get a better grasp on CIDR notation.
There is also ipcalc in packages and that is one I use frequently, though it's only for IPv4. $ ipcalc 104.149.1.112/28 address : 104.149.1.112 netmask : 255.255.255.240 (0xfffffff0) network : 104.149.1.112 /28 broadcast : 104.149.1.127 host min : 104.149.1.113 host max : 104.149.1.126 Allan