mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
fbb69392a8
Netmask are contiguous bits, wildcard masks don't need to be. The former is accurate for defining subnets and the latter is useful for describing ranges for firewalls, route maps, or other such things. example: 10.0.10.0 is nntp1.domain.com, 10.0.11.0 is nntp2.local.com access-list 185 permit tcp any gt 1023 10.0.10.0 0.0.1.0 eq nntp
21 lines
811 B
Plaintext
21 lines
811 B
Plaintext
Notations supported:
|
|
|
|
Name Example
|
|
---------------------------------
|
|
CIDR /24
|
|
Netmask 255.255.255.0
|
|
Wilcard Bits 0.0.0.255
|
|
|
|
The above notations are all identical. CIDR notation commonly has a "/" in
|
|
front of the number (representing the number of bits). Whatmask can accept
|
|
these notations with or without a slash. This notation is used more and more
|
|
recently. A lot of popular routers and software supprt this notation.
|
|
|
|
Netmask notation is pretty much the standard old-school way of doing it. It is
|
|
supported by most systems (Un*x, Win, Mac, etc.).
|
|
|
|
Wilcard bits are similar to the netmask, but they are the logical not of the
|
|
netmask. This notation is used by a number of popular routers.
|
|
|
|
WWW: http://www.laffeycomputer.com/whatmask.html
|