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
- ip - How do you calculate the prefix, network, subnet, and host numbers? - Network Engineering Stack Exchange - Answer Part 1 of 2: IPv4 Math
- ip - How do you calculate the prefix, network, subnet, and host numbers? - Network Engineering Stack Exchange - Answer Part 2 of 2: Subnet IPv4 Networks
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.255172.16.0.0-172.31.255.255192.168.0.0-192.168.255.255