Skip to main content

IPv4

· One min read
  • allows for 2^32^ addresses (~4.3 billion)

Terms

  • "snet" = "source network"
  • "dnet" = "destination network"

Subnets

  • The initial octets specify the network, while the remaining octets specify the host.
  • Private subnet
    • means the default route is a NAT Gateway
    • the snet will be the public IP of the NAT Gateway
  • Public subnet
    • means the default route is an Internet Gateway

The Math

Classes

  • A
  • B
  • C
  • D
  • E

Special Addresses

  • 127.0.0.1: loopback, i.e. localhost

Private networks

  • 10.0.0.1 - 10.255.255.255
  • 172.16.0.0 - 172.31.255.255
  • 192.168.0.0 - 192.168.255.255