Subnetting and IP Addresses Flashcards
How do you figure subnets?
Counting 1’s from LEFT to RIGHT
How do you figure hosts?
Counting 0’s from RIGHT to LEFT
Possible subnets
128 192 224 240 248 252 254 255
Class A
IPs: 0-126
Default Gateway: 255.0.0.0 or /8
# Usable Hosts: 16,777,214
Private: 10.0.0.0-10.255.255.255
Class B
IPs: 128-191
Default Gateway: 255.255.0.0 or /16
# Usable Hosts: 65,534
Private: 172.16.0.0-172.31.255.255
Class C
IPs: 192-223
Default Gateway: 255.255.255.0 or /24
# Usable Hosts: 254
Private: 192.168.0.0-192.168.255.255
PAT
Port Address Translation
Port Address Translation / Source NAT
DHCP Process
Step 1: DHCPDISCOVER - Client to DHCP Server
* Find all of the available DHCP servers
Step 2: DHCPOFFER - DHCP Server to client
* Send some IP Address options to the client
Step 3: DHCPREQUEST - Client to DHCP Server
* Client chooses an offer and makes a formal request
Step 4: DHCPACK - DHCP Server to client
* DHCP servier sends an ack to the client
Collision Domains
Separated by switch/bridge interfaces
Broadcast Domains
Separated by router interfaces