Pcornel
Networking · IP Fundamentals › IPv4

Private IPv4

Cheat sheet · https://pcornel.dk/topic.php?topic=564

Back to the Topic

Answer

Private IPv4 addresses (RFC 1918: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) are not routed on the internet; hosts using them reach the internet through NAT.

Remember

Private addresses must be translated (NAT/PAT) before reaching the internet; ISPs drop them. Plan ranges so sites, VPN partners and cloud networks do not overlap — overlapping 192.168.1.0/24 is the classic VPN problem. 100.64.0.0/10 is carrier-grade NAT space, not RFC 1918.

First checks

  • show ip nat translations — private inside addresses translated to public ones.
  • show ip nat statistics — inside/outside interfaces and hits.
  • show ip route — private prefixes not leaked to the internet edge.
  • show ip access-lists — the ACL selecting private addresses for NAT.

Commands

10.0.0.0/8
RFC 1918 private IPv4 range 10.0.0.0–10.255.255.255 (not a command); not routed on the internet.
172.16.0.0/12
RFC 1918 private IPv4 range 172.16.0.0–172.31.255.255 (not a command); not routed on the internet.
192.168.0.0/16
RFC 1918 private IPv4 range 192.168.0.0–192.168.255.255 (not a command); not routed on the internet.

Verify in this order

private address assigned → traffic to the internet hits the NAT router → NAT ACL matches → translated to a public address → reply translated back

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Private IPv4 · technical reference

Private rangePrefix
10.0.0.0–10.255.255.25510.0.0.0/8
172.16.0.0–172.31.255.255172.16.0.0/12
192.168.0.0–192.168.255.255192.168.0.0/16

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=564

Confirmation

Confirm action

Continue?