summaryrefslogtreecommitdiff
path: root/net/whatmask/DESCR
blob: e5690c250fd1f9fb1a4a398755242199ffde7b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Whatmask is a small C program that lets you easily convert between three common
subnet mask notations.

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.