From 9778fd002157d4949874523ad38841dce71a1559 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 7 Aug 2017 15:51:28 +0000 Subject: [PATCH] Expand CIDR documentation to cover IPv6 as well. --- docs/refguide.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/refguide.xml b/docs/refguide.xml index 68b3b50a2..bec285592 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -177,7 +177,7 @@ simplest case is to specify a target IP address or hostname for scanning. Sometimes you wish to scan a whole network of adjacent hosts. For this, Nmap supports CIDR-styleCIDR (Classless Inter-Domain Routing) addressing. You can append -/numbits to an IPv4 +/numbits to an IP address or hostname and Nmap will scan every IP address for which the first numbits are the same as for the reference IP or hostname given. For example, @@ -194,8 +194,9 @@ is at the IP address 64.13.134.52, the specification scanme.nmap.org/16 would scan the 65,536 IP addresses between 64.13.0.0 and 64.13.255.255. The smallest allowed value is /0, which targets the whole Internet. The largest -value is /32, which scans just the named host or IP -address because all address bits are fixed. +value for IPv4 is /32, which scans just the named host or IP +address because all address bits are fixed. The largest value for IPv6 is +/128, which does the same thing. address ranges CIDR notation is short but not always flexible enough. For example, you