Lesson 09 - Internet Addressing
Lesson 09 - Internet Addressing
Internet Addressing
Topics and Structure of the
lesson
• IP Addressing
• Subnet Addressing
Learning Outcomes
‹#›
Binary Notation
‹#›
IP Address
‹#›
Example
• Find the error, if any, in the following IPv4
addresses.
a. 111.56.045.78
b. 221.34.7.8.20
c. 75.45.301.14
d. 11100010.23.14.67
‹#›
Example
• Find the class of each address.
a. 00000001 00001011 00001011 11101111
b. 11000001 10000011 00011011 11111111
c. 14.23.120.8
d. 252.5.15.111
‹#›
Net ID and Host ID
‹#›
Unicasting
‹#›
Unicasting
11.0.0.0
11.1.2.3
SA DA
20.1.2.3
‹#›
Limited Broadcasting
‹#›
Broadcasting
Limited Broadcasting
SA DA
D 11.1.2.3 255.255.255.255
11.0.0.0
‹#›
Direct Broadcasting
‹#›
Direct Broadcasting
11.0.0.0
11.1.2.3 SA DA
SA DA
D 11.1.2.3 20.255.255.255
DBA: 20.255.255.255
20.0.0.0 ‹#›
• LBA: 255.255.255.255 (all 1’s)
‹#›
Range: CA (1 to 126) CB (128 to 191) CC (192 to 223)
1.4.5.6
10.15.21.66
130.2.3.4
150.0.161.150
200.1.9.100
221.13.2.11
250.0.1.2
300.1.2.3
‹#›
Net ID and Host ID
‹#›
Net ID and Host ID
Subnet
S1
Internal ISP
Router
External Router
S2
128 - 255
‹#›
200.1.2.0
Subnet
200.1.2.0
00000000–0 NID HID 1 1 0 0 0 0 0 0 – 192
. .
0 0 1 1 1 1 1 1 – 63 1 1 1 1 1 1 1 1 – 255
S1 S4
0 1 0 0 0 0 0 0 – 64 S2 S3 1 0 0 0 0 0 0 0 – 128
. .
0 1 1 1 1 1 1 1 – 127 1 0 1 1 1 1 1 1 – 191
‹#›
0 - 63 64 - 127
Note: If a data packet has
arrived with a DA: 200.1.2.130,
So how does the internal router
identifies which interface should
S1 S2 it choose to send the data
packet to that particular subnet.
a b
Internal ISP
Router e External Router
d c SA DA
S4 S3 D 200.1.2.130
SM:11111111.11111111.11111111.11000000
IP: 11001000.00000001.00000010.10000010
11001000.00000001.00000010.10000000
200 1 2 128
So if we the SM & the IP address we can find the SID network
were the IP belongs to.
In the above case the IP belongs to the S3
Let us take another example
SM: 255.255.255.192 (11000000) 255.255.255.192 (11000000)
IP: 200. 1. 2. 10 (00001010) 200. 1. 2. 11(00001011)
‹#›
Routing Table
NID SM Interface
200.1.2.0 255.255.255.192 a
200.1.2.64 255.255.255.192 b
200.1.2.128 255.255.255.192 c
200.1.2.192 255.255.255.192 d
Summary
• IP Address
• Address Classification
• Dotted Decimal Notation System
• Net ID and Host ID
• Subnet
Question and Answer Session
Q&A