netmask
a netmask generation and conversion program
- Provided by: netmask (Version: 2.4.4-3)
- Report a bug
a netmask generation and conversion program
netmask [ options ] spec [ spec ... ]
This program accepts and produces a variety of common network address and netmask formats. Not only can it convert address and netmask notations, but it will optimize the masks to generate the smallest list of rules. This is very handy if you've ever configured a firewall or router and some nasty network administrator before you decided that base 10 numbers were good places to start and end groups of machines.
A spec is an address specification, it can look like:
An address is an internet network address, it can look like:
A mask is a network mask, it can look like:
netmask was written by Robert Stone. Some algorithm design and optimization was provided by Tom Lear. This manual page was written by Robert Stone.
Let me know if you find any. This man page is a bit more simplistic than I'd like, but I've forgotten most of the groff I once knew.
ipchains(1), ipfwadm(8), netstat(8), route(8), routed(8), gated(8), tcpd(8)