IPv4 Addresses
IPv4 addresses
| 1st Octet | 2nd Octet | 3rd Octet | 4th Octet |
|---|---|---|---|
| 11000000 | 10101000 | 00001010 | 00000101 |
| 192 | 168 | 10 | 5 |
- IPV4 address
- 32-bit binary value
- Comprised of 4 octets
- Represented as dotted decimal (DDN)
- Identifiers
- Network ID
- Host ID
Example:
- 10.10.10.5 /24
- 32 - 24 = 8
- N.N.N.H
- 10.10.10.0
- Net
- 10.10.10.255
- Broadcast
- Technically a routable broadcast
- 255.255.255.255
- This is not routable.
Example:
- 10.0.0.0 /8
- 10.255.255.255
/CAP/Network+/Visual%20Aids/Pasted%20image%2020250225132615.png)
Subnet Mask
10.10.10.5
N.N | H.H
-
Network portion and the Host portion
-
Subnet mask identifies the network portion of the IPv4 addresses.
Example:
- 10.10.10.5 /16
- 11111111 11111111
- 255.255.0.0
- Our network begins at:
- 10.10.0.0 - Net address
- 10.10.0.1 - 1st host
- 10.10.255.254 - Last host (BCAST - 1)
- 10.10.255.255 - Broadcast address
/CAP/Network+/Visual%20Aids/Pasted%20image%2020250225133039.png)
- Subnet mask identifies the network portion of the IPv4 addresses
- 32-bit - consists of contiguous 1s
- 1s indicate the network portion of the IPv4 address
- 0s indicate the host portion
/CAP/Network+/Visual%20Aids/Pasted%20image%2020250226123943.png)
- The marked red row is a /24 network