Академический Документы
Профессиональный Документы
Культура Документы
Part 1: IP Addressing
ADDRESS CLASSES
GENERAL DETAILS
Class A
Class B
- 16 Network bits, 16 host bits
- First 2 bits are 10 (From 128-191)
- Subnet Mask is 255.255.0.0
Class C
Class D (multicast)
- First 4 bits are 1110 (224-239)
- Used for 1 to Many communication
MORE SUBNETTING
Example: 192.168.1.0/24
To divide into 8 subnets, we convert 3 host bits
Class A = /8
Class B = /16
Class C = /24
C C N A C H E AT S H E E T S
PRIVATE IP ADDRESSING
+ Addresses that are used internally
CLASS A
- 1 Private Subnet
- 10.0.0.0/8
+ First & Last IP in the subnet are reserved for network &
broadcast
CLASS B
Example: From a /16, we can get
256 /24s or
2 /17s or
1 /17 and 128 /24s
4 /19s, 6 /20s and 64 /24s
- 16 private subnets:
- 172.16.0.0/16 172.31.0.0/16
CLASS C
- 255 private Subnets
- 192.168.0.0/24 192.168.255.0/24
These addresses can be further subnetted into smaller ranges.
SUMMARIZATION / SUPERNETTING
+ Opposite of subnetting
+ Grouping multiple subnets into a bigger summary or
supernet
+ Achieved by converting network bits into host bits
+ You can only summarize contiguous IP subnets
+ By converting n network bits into host bits, you
summarize 2n networks into a larger supernet
Example:
192.168.0.0/24, 192.168.1.0/24 192.168.2.0/24 and
192.168.3.0/24 can be summarized into 192.168.0.0/22
4 /24 networks with 8 host bits each (256 addresses), gives
us 1 /22 network with 10 host bits (1024 addresses)
RESERVED ADDRESS
+ Loopback Address
- 127.0.0.0/8 is localhost network
- Used to refer to the host itself
- You can ping 127.0.0.1 to test if your TCP/IP stack is
functioning properly
+ Link Local Address
- 169.254.0.0 169.254.255.255
- Used on a directly connected network
- If a system does not receive a DHCP address, it can
assign itself a link local addresss