summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-21 05:18:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-21 05:18:34 +0000
commit14c68269b46b17c8c9e446b69f1855afa23d89b0 (patch)
tree72f780f7c4b9ba8ff3468d04abf96bb404ab1a27
parent8236d170e623e64ffc5ac01e032ef27f9202c879 (diff)
use net/mask notation for the private networks
-rw-r--r--sbin/ipnat/ipnat.88
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ipnat/ipnat.8 b/sbin/ipnat/ipnat.8
index ffb98df9535..94a95c1d6e6 100644
--- a/sbin/ipnat/ipnat.8
+++ b/sbin/ipnat/ipnat.8
@@ -154,9 +154,9 @@ field. This is usually one of the three blocks of address space the Internet
Assigned Numbers Authority has allocated for private networks (RFC 1597):
.Pp
.Bd -unfilled -offset indent -compact
-10.0.0.0 - 10.255.255.255
-172.16.0.0 - 172.31.255.255
-192.168.0.0 - 192.168.255.255
+10.0.0.0 - 10.255.255.255 (ie. 10/24)
+172.16.0.0 - 172.31.255.255 (ie. 172.16/20)
+192.168.0.0 - 192.168.255.255 (ie. 192.168/16)
.Ed
.Pp
The
@@ -168,7 +168,7 @@ is the netmask of the address. This mask is 32 bits long, and is divided into
four 8-bit numbers.
.Pp
.Bd -unfilled -offset indent -compact
-11111111.0.0.0 Class A - 8 bits set.
+11111111.0.0.0 Class A - 8 bits set.
11111111.11111111.0.0 Class B - 16 bits set.
11111111.11111111.11111111.0 Class C - 24 bits set.
.Ed