IP Addressing Flashcards
Private IP address blocks
- 0.0.0/8
- 16.0.0/12
- 168.0.0/16
IPv4 default route
0.0.0.0
Loop back address
127.0.0.0/8
Directs traffic to same host
Link-local addresses
169.254.0.0/16
Can be automatically assigned to clients by OS when no IP configuration is available
Formula to calculate the # of subneta
2 to the n power
Where n = number of bits borrowed
128 in binary
/25
10000000
192 in binary
/26
11000000
224 in binary
/27
11100000
240 in binary
/28
11110000
248 in binary
/29
11111000
252 in binary
/30
11111100
254 in binary
/31
11111110
4 steps to subnetting
1) determine how many bits to borrow based on network requirements
2) determine new subnet mask
3) determine subent multiplier
4) list subnets including subnetwork address, host range, and broadcast address
2 to the 2nd
4
2 to the 3rd
8
2 to the 4th
16
2 to the 5th
32
2 to the 6th
64
2 to the 7th
128
2 to the 8th
256
2 to the 9th
512
2 to the 10th
1024
how to summarize subnet addresses
1) write out networks in binary
2) start w/ left most bit
3) work right and fall all consecutively matching bits
4) when you find a column of bits that do not match, stop. you are at the summary boundary.
5) count # of matching bits, this is subnet mask
6) copy matching bits for summary network address
in IPv6 what analogous to a subnet mask
prefix
-if prefix length is not on quartet boundary write down value for entire quartet
how to abbreviate IPv6 address
- omit leading 0s in any given quartet
- represent 1 or more consecutive quartets of all hex 0s with a double colon (::), but only for one such occurrence
IPv6 address
128 bit
-represented in 8 quartets of 4 hex digits
IPv6 loopback address
::1