Lab Lecture 2 IP_Addressing II
Lab Lecture 2 IP_Addressing II
IP Addressing II
• Classful Address
• Network and Host Address
• Broadcast
Classful Addressing
Address
1. Class A
2. Class B
3. Class C
4. Class D
5. Class E
Recognizing Class
Recognizing Class (contd…)
Address Space
Address Space (contd…)
Problem
Solution
Address Space (contd…)
Solution
Few of the special purpose IP
addresses
IP address Purpose
0.0.0.0 For several reasons*
10.0.0.0 to 10.255.255.255, 8-bits mask Private IP address
172.16.0.0 to 172.31.255.255, 12-bits mask Private IP address
192.168.0.0 to 192.168.255.255, 16-bits mask Private IP address
255.255.255.255 Limited Broadcast IP address
127.0.0.0 Loopback address
Network address and Host
address (contd…)
Analogy:
network address------>Postcode of an area
Host address---------> House number of a person in that area
Network address and Host
address (contd…)
Network ID length: 8 bits
Host ID length: 24 bits
No. of Networks=
No. of hosts= -2
Extracting Information in a
Block
Broadcast1
Sending packet to all hosts of a network
Limited Broadcast
o When a host of a network sends packet to all hosts of the same
network
o Sends packet to 255.255.255.255 IP address
Direct Broadcast
o When a host of a network sends packet to all hosts of another
network.
o If the network address of the target network is 20.0.0., the packet is
sent to 20.255.255.255
1 E. Conrad, S. Misenar and J. Feldman, CISSP Study Guide, 3rd ed., Elsevier Inc., 2016
Broadcast (contd…)
Network IP address: Replace all host bits by zeroes (0) of any IP address of the
network
Broadcast IP address: Replace all host bits by ones of any IP address of the
network
Broadcast (contd…)
What is the network and broadcast IP addresses of the network which uses
192.100.12.110 as a host address?
s
se s
re
s s ad d
ll dd f IP
es
o
Class n k No. of Networks No. of Host in
re
tio fo IP age
(Blocks) each Network
ni ug e ast
ns r a a
ga o ag w
or en ast ge
za h of
Class A 8 1 128 16,777,216
No W Hu
Class B 16 2 16,384 65,536
Class C 24 3 2,097,152 256
References
2. CCNA Routing and Switching, T. Lammle, John Wily & Sons, Second
Edition, 2016, USA.
2. CCNA Routing and Switching, T. Lammle, John Wily & Sons, Second
Edition, 2016, USA.