The two-minute check that settles it
Open the router's administration page and find the status screen that reports the WAN address — the address the router received from the internet provider, not the address it hands out to laptops and phones. Read the first two numbers. If the address falls anywhere between 100.64.0.0 and 100.127.255.255, the port forwarding rule is not broken, the router is not broken, and no amount of re-saving will change the outcome. External connections cannot reach that address, because it was never a public address to begin with.
That range has a name. It is Shared Address Space, and it is the address pool a provider draws from when subscribers sit behind carrier-grade NAT. The IETF, RFC 6598 (IANA-Reserved IPv4 Prefix for Shared Address Space) states the boundary in one line: "The Shared Address Space address range is 100.64.0.0/10." Everything else in this article is downstream of that single test.
Two failure signatures point here before the WAN address is even checked. First, an external port checker reports the port closed while a check from inside the same network succeeds — that gap means the service is running and the router rule is live, and the problem sits upstream of both. Second, the WAN address shown in the router disagrees with the address reported by a public address-lookup page. A router behind carrier-grade NAT sees the shared address; the outside world sees the provider's public address, shared with other subscribers.
A WAN address inside one of the three RFC 1918 private ranges fails in the same way, for a closely related reason covered in the next section, so the full test covers those ranges too. If the WAN address is a normal public address and forwarding still fails, this frame does not apply, and the last section lists where to go instead.
Reading the WAN address, and the exact boundary
The prefix notation 100.64.0.0/10 hides where the range actually ends, and the ending is the part that gets misread. A /10 fixes the first 10 bits and leaves 22 bits free, so the range runs from 100.64.0.0 through 100.127.255.255. An address of 100.130.4.9 is outside it and is an ordinary public address. An address of 100.100.20.1 is inside it. The second octet is the deciding digit, and the cutoff is 127, not 99 and not 255.
Router firmware labels this field inconsistently. Depending on the vendor it appears as WAN IP, Internet IP, Internet Address, IPv4 Address under a WAN status heading, or simply IP Address on a page describing the upstream connection. The reliable identifier is not the label but the contrast: the WAN address differs from the router's own LAN address, which on most consumer hardware is 192.168.0.1 or 192.168.1.1.
Address ranges that are not publicly reachable are not new, and 100.64.0.0/10 is not the only one. IETF, RFC 1918 (Address Allocation for Private Internets) set aside three of them long before carrier-grade NAT existed, writing them as "10.0.0.0 - 10.255.255.255 (10/8 prefix)", "172.16.0.0 - 172.31.255.255 (172.16/12 prefix)", and "192.168.0.0 - 192.168.255.255 (192.168/16 prefix)". A WAN address inside one of those three produces the same outcome as an address inside 100.64.0.0/10: the forwarding rule saves, and nothing outside can use it.
Forwardable and Globally Reachable are separate columns
Reachability is not recorded as one property. A registry maintained by IANA breaks it into several separate attributes, and for this block they do not all carry the same value.
In the IANA, IPv4 Special-Purpose Address Registry, the entry for 100.64.0.0/10 carries the name Shared Address Space, cites RFC 6598, and shows an allocation date of 2012-04. Its attribute values are Source: True, Destination: True, Forwardable: True, and Globally Reachable: False. Termination Date is N/A and Reserved-by-Protocol is False.
The attribute names are defined in IETF, RFC 6890 (Special-Purpose IP Address Registries), and the definitions are narrower than the plain English words suggest. Forwardable is "a boolean value indicating whether a router may forward an IP datagram whose destination address is drawn from the allocated special-purpose address block between external interfaces." The attribute the registry lists as Globally Reachable is defined there under the name Global: "a boolean value indicating whether an IP datagram whose destination address is drawn from the allocated special-purpose address block is forwardable beyond a specified administrative domain."
Both definitions describe what routers may do with a datagram. Neither describes what a configuration screen will accept or display, and the registry makes no statement about router firmware at all. What the pair of values does establish is that forwarding within a domain and forwarding beyond it are recorded separately, and that for this block they diverge: within an administrative domain the block is forwardable, and beyond one it is not.
The registry applies the same combination to the three RFC 1918 blocks. For 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16, Source, Destination, and Forwardable are all True while Globally Reachable is False — identical to Shared Address Space. The registry also carries a general caution: "Address prefixes listed in the Special-Purpose Address Registry are not guaranteed routability in any particular local or global context."
The rule the packet runs into
RFC 6598 does not merely describe Shared Address Space as unroutable. It forbids the forwarding outright, in section 4: "Packets with Shared Address Space source or destination addresses MUST NOT be forwarded across Service Provider boundaries." The same passage records a carve-out that matters for anyone reading the rule as absolute: "One exception to this paragraph's proscription is in the case of business relationships, such as hosted CGN services." That exception covers arrangements between providers, not a residential subscriber changing a setting.
RFC 1918 imposed a comparable restriction on private addresses decades earlier, and the full sentence carries two clauses: "Because private addresses have no global meaning, routing information about private networks shall not be propagated on inter-enterprise links, and packets with private source or destination addresses should not be forwarded across such links." Note the difference in force — RFC 1918 says "should not", RFC 6598 says "MUST NOT".
RFC 1918 also bounds how far such an address means anything, and the clause after the comma widens the boundary rather than narrowing it: "Addresses within this private address space will only be unique within the enterprise, or the set of enterprises which choose to cooperate over this space so they may communicate with each other in their own private internet." Shared Address Space works the same way. RFC 6598 puts it plainly: "Shared Address Space is similar to [RFC1918] private address space in that it is not globally routable address space and can be used by multiple pieces of equipment."
A /10 was a negotiated size, not a round number
The choice of a /10 looks arbitrary until the reason is stated, and RFC 6598 states it in the introduction: "In conversations with many ISPs, a /10 is the smallest block that will allow them to deploy CGNs on a regional basis without requiring nested CGNs." The block was sized to be the minimum that avoids stacking one carrier-grade NAT behind another.
How large is that minimum? Neither the IETF nor IANA publishes the address counts; the documents carry prefix notation only. The counts follow from the prefix length alone, as 2 raised to the power of 32 minus the prefix:
- 100.64.0.0/10 — 22 free bits — 4,194,304 addresses, or 16,384 blocks of /24
- 10.0.0.0/8 — 24 free bits — 16,777,216 addresses
- 172.16.0.0/12 — 20 free bits — 1,048,576 addresses
- 192.168.0.0/16 — 16 free bits — 65,536 addresses
Set against the private ranges, the comparisons land on exact whole numbers rather than approximations, because every difference is a power of two. Shared Address Space is exactly one quarter the size of 10.0.0.0/8, exactly four times the size of 172.16.0.0/12, and exactly sixty-four times the size of 192.168.0.0/16. The three RFC 1918 blocks together hold 17,891,328 addresses, so the shared block amounts to 23.44% of all private space combined.
That is the practical weight of the sentence about nested carrier-grade NAT. A regional deployment needed more room than the mid-sized private block could give — four times more — while a quarter of the largest private block was judged enough. The number reached for was not the largest available; it was the smallest that worked.
What the standards let a subscriber ask for
Escalation works better in the provider's own vocabulary, and that vocabulary is written down. IETF, RFC 6888 (Common Requirements for Carrier-Grade NATs) defines the function at issue: "Carrier-Grade NAT (CGN): A NAT-based [RFC2663] logical function used to share the same IPv4 address among several subscribers. A CGN is not managed by the subscribers." The last sentence is the one that ends the do-it-yourself phase of troubleshooting.
The same document sets a requirement that a subscriber can cite directly. REQ-9 reads: "A CGN MUST implement a protocol giving subscribers explicit control over NAT mappings. That protocol SHOULD be the Port Control Protocol [RFC6887]." The two halves carry different weight and should not be collapsed. Implementing some control protocol is a MUST; that protocol being PCP specifically is only a SHOULD. A provider that offers a different mechanism is not out of compliance, and a provider that offers none is.
Two further requirements explain behaviour that otherwise looks random. REQ-4: "A CGN MUST support limiting the number of external ports (or, equivalently, 'identifiers' for ICMP) that are assigned per subscriber." That limit is why a connection-heavy application can degrade while ordinary browsing stays fine. REQ-7 adds that "It is RECOMMENDED that a CGN use an 'endpoint-independent filtering' behavior" — a recommendation, not an obligation, which is why behaviour differs between providers.
A useful support request therefore names the finding rather than the symptom: the WAN address is inside 100.64.0.0/10, inbound connections are required, and the question is whether the account can be moved to a public IPv4 address or whether a mapping-control protocol is available. Asking for "port forwarding help" invites a walkthrough of the router screen that was already correct.
When This Doesn't Apply
This diagnosis is narrow on purpose, and several situations fall outside it.
The WAN address is public. If the address is not in 100.64.0.0/10 and not in one of the three RFC 1918 blocks, carrier-grade NAT is not the explanation. Look instead at the host firewall on the target machine, at whether the forwarding rule points to the device's current internal address after a DHCP lease change, and at whether the service is listening on the expected port.
A second router is in the path. Two routers in series produce the same external symptom with an entirely local cause. In that arrangement the second router's WAN address is a private address issued by the first, and the fix is a configuration change the subscriber controls, not an escalation.
A business relationship exists. The prohibition in RFC 6598 is not unconditional. Its own exception covers "business relationships, such as hosted CGN services", so an arrangement negotiated between a provider and a customer can legitimately carry this traffic across a boundary that a residential connection cannot.
The provider had a workable alternative. RFC 6598 treats Shared Address Space as a last resort rather than a default. It lists conditions under which private space suffices — for instance, "The Service Provider knows that the [RFC1918] address block that it uses to number interfaces between the CGN and CPE is not used on the subscriber side of the CPE" — and then concludes: "Unless at least one of the conditions above is true, the Service Provider cannot safely use [RFC1918] address space and must resort to Shared Address Space. This is typically the case in an unmanaged service, where subscribers provide their own CPE and number their own internal network." Reading only as far as "must resort to Shared Address Space" inverts the meaning; the sentence is a description of constraint, not of preference.
Another address family is in play. This entire analysis concerns IPv4. A connection may carry IPv6 at the same time, under different reachability rules, and nothing above describes how such a path behaves.
Quick reference
- Boundary: 100.64.0.0 to 100.127.255.255. Second octet 64 through 127 inclusive.
- Registry values for that block: Forwardable True, Globally Reachable False, allocated 2012-04.
- Also unreachable as a WAN address: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
- Address counts: 4,194,304 shared, against 16,777,216 and 1,048,576 and 65,536 private.
- Standard to cite when escalating: RFC 6888, REQ-9 — a control protocol is a MUST, PCP specifically is a SHOULD.
- Ask for: a public IPv4 address on the account, or a documented mapping-control mechanism.
The test costs one glance at a status page, and it settles the question that re-saving the rule cannot: whether the address the rule depends on can be reached from outside at all. A rule that saves correctly is not evidence that the rule can ever be used. Where the WAN address is not a public one, whatever remains to be done sits upstream of the forwarding screen rather than on it.
Comments
Post a Comment