Académique Documents
Professionnel Documents
Culture Documents
Conducted by
V.R. RAJASEKAR
Lecturer IT
On
04/04/2011
Student Id:_________ Name :______________________________________________
Page 1 of 33
RAJASEKAR (IT)
Content
1. IP addressing basics
2. Binary to decimal conversion
3. Decimal to binary conversion
4. Decimal to hexadecimal conversion
5. Address class identification
6. Network & host identification
7. Default subnet mask identification
8. Network id identification
identification
9. First and last host id identification
10. Subnet directed broadcast IP address identification
11. Apply your knowledge
12. Subnetting
13. VLSM : Variable Length Subnet Mask
14. Apply your knowledge
Page 2 of 33
RAJASEKAR (IT)
1) IP ADDRESSING BASICS:
Define IP Address:
___________________________________________________________________________________
___________________________________________________________________________________
Find the IP Address of your computer and write it.
___________________________________________________________________________________
___________________________________________________________________________________
Other facts:
________________________ Addressing.
Assigned by __________________________________.
Uses _______________________________format.
Page 3 of 33
RAJASEKAR (IT)
Higher
Order
Bit (1st
Octet)
# of
Network
Bits
# of
Host
Bits
Default
Subnet Mask
CIDR
Value
Page 4 of 33
Total # of
Networks
RAJASEKAR (IT)
0.0.0.0
: ______________________________________
127.0.0.0 127.255.255.255 : ______________________________________
255.255.255.255
: ______________________________________
CLASS
Range
(1st
Octet)
Total # of
Host per
Network
Private IP Address
b) 01110111
f) 10101010
j) 01010101
n) 11000000
64
32
16
c) 11111111
g) 01101111
k) 00111110
o) 00011100
d) 11000101
h) 11111000
l) 00000011
p) 10101010
Scratch Area
Answer
a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
k)
l)
m)
n)
o)
p)
Page 5 of 33
RAJASEKAR (IT)
128
b) 34
i) 1
64
c) 123
j) 13
32
16
d) 50
k) 250
e) 255
l) 98
f) 200
m) 15
Answer
Scratch Area
a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
k)
l)
m)
n)
o)
Page 6 of 33
g) 10
n) 79
RAJASEKAR (IT)
b) 220
c) 79
h) 168
i) 172
j) 201
d) 129
e) 148
f) 119
g) 97
64
32
16
Binary Value
Hexadecimal
a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Decimal
0
1
2
3
4
5
6
7
Binary
0000
0001
0010
0011
0100
0101
0110
0111
Hexadecimal
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Page 7 of 33
1000
1001
1010
1011
1100
1101
1110
1111
8
9
A
B
C
D
E
F
RAJASEKAR (IT)
Class
a)
10.250.1.1
_____
b)
150.10.15.0
_____
c)
192.14.2.0
_____
d)
148.17.9.1
_____
e)
193.42.1.1
_____
f)
126.8.156.0
_____
g)
220.200.23.1
_____
h)
230.230.45.58
_____
i)
177.100.18.4
_____
j)
119.18.45.0
_____
k)
249.240.80.78
_____
l)
199.155.77.56
_____
m)
117.89.56.45
_____
o)
215.45.45.0
_____
p)
199.200.15.0
_____
q)
95.0.21.90
_____
r)
33.0.0.0
_____
s)
158.98.80.0
_____
t)
219.21.56.0
_____
Page 8 of 33
Class
A
B
C
D
E
RAJASEKAR (IT)
Range
177.
100.
18.
b)
119.
18.
45.
c)
209.
240.
80.
78
d)
199.
155.
77.
56
e)
117.
89.
56.
45
f)
215.
45.
45.
g)
192.
200.
15.
h)
95.
0.
21.
90
i)
33.
0.
0.
j)
158.
98.
80.
k)
217.
21.
56.
l)
10.
250.
1.
m)
150.
10.
15.
n)
192.
14.
2.
o)
148.
17.
9.
p)
193.
42.
1.
q)
126.
8.
156.
r)
220.
200.
23.
Class
A
B
C
Page 9 of 33
SNM
255.0.0.0
255.255.0.0
255.255.255.0
RAJASEKAR (IT)
a) 10.
15.
123.
50
b) 171.
2.
199.
31
c) 198.
125.
87.
177
d) 223.
250.
200.
222
e) 17.
45.
222.
45
f) 126.
201.
54.
231
g) 191.
41.
35.
112
h) 155.
25.
169.
227
i) 192.
15.
155.
j) 123.
102.
45.
254
k) 148.
17.
9.
155
l) 100.
25.
1.
m) 195.
0.
21.
98
n) 25.
250.
135.
46
o) 171.
102.
77.
77
p) 55.
250.
5.
q) 218.
155.
230.
14
r) 10.
250.
1.
Class
A
B
C
Page 10 of 33
SNM
255.0.0.0
255.255.0.0
255.255.255.0
RAJASEKAR (IT)
Subnet Mask
CIDR Value
a) 177.100.18.4
_____________________________
__________
b) 119.18.45.0
_____________________________
__________
c) 191.249.234.191
_____________________________
__________
d) 223.23.223.109
_____________________________
__________
e) 10.10.250.1
_____________________________
__________
f) 126.123.23.1
_____________________________
__________
g) 223.69.230.250
_____________________________
__________
h) 192.12.35.105
_____________________________
__________
i) 77.251.200.51
_____________________________
__________
j) 189.210.50.1
_____________________________
__________
k) 88.45.65.35
_____________________________
__________
l) 128.212.250.254
_____________________________
___________
m) 193.100.77.83
_____________________________
___________
n) 125.125.250.1
_____________________________
___________
o) 1.1.10.50
_____________________________
__________
p) 220.90.130.45
_____________________________
___________
q) 134.125.34.9
_____________________________
__________
r) 95.250.91.99
_____________________________
__________
Page 11 of 33
RAJASEKAR (IT)
Network ID
a) 177.100.18.4
_____________________________
b) 119.18.45.0
_____________________________
c) 191.249.234.191
_____________________________
d) 223.23.223.109
_____________________________
e) 10.10.250.1
_____________________________
f) 126.123.23.1
_____________________________
g) 223.69.230.250
_____________________________
h) 192.12.35.105
_____________________________
i) 77.251.200.51
_____________________________
j) 189.210.50.1
_____________________________
k) 88.45.65.35
_____________________________
l) 128.212.250.254
_____________________________
m) 193.100.77.83
_____________________________
n) 125.125.250.1
_____________________________
o) 1.1.10.50
_____________________________
p) 220.90.130.45
_____________________________
q) 134.125.34.9
_____________________________
r) 95.250.91.99
_____________________________
Page 12 of 33
RAJASEKAR (IT)
Network ID
First Host Id
Last Host Id
a) 177.100.18.4
_________________
_____________
________________
b) 119.18.45.0
_________________
_____________
________________
c) 191.249.234.191
_________________
_____________
________________
d) 223.23.223.109
_________________
_____________
________________
e) 10.10.250.1
_________________
_____________
________________
f) 126.123.23.1
_________________
_____________
________________
g) 223.69.230.250
_________________
_____________
________________
h) 192.12.35.105
_________________
_____________
________________
i) 77.251.200.51
_________________
_____________
________________
j) 189.210.50.1
_________________
_____________
________________
k) 88.45.65.35
_________________
_____________
________________
l) 128.212.250.254
_________________
_____________
________________
m) 193.100.77.83
_________________
_____________
________________
n) 125.125.250.1
_________________
_____________
________________
o) 1.1.10.50
_________________
_____________
________________
p) 220.90.130.45
_________________
_____________
________________
q) 134.125.34.9
_________________
_____________
________________
r) 95.250.91.99
_________________
_____________
________________
Page 13 of 33
RAJASEKAR (IT)
10)
10) SUBNET DIRECTED BROADCAST IP ADDRESS IDENTIFICATION:
Find the Subnet Directed Broadcast IP address of the following Networks.
IP Address
Network ID
a) 177.100.18.4
_____________________________
b) 119.18.45.0
_____________________________
c) 191.249.234.191
_____________________________
d) 223.23.223.109
_____________________________
e) 10.10.250.1
_____________________________
f) 126.123.23.1
_____________________________
g) 223.69.230.250
_____________________________
h) 192.12.35.105
_____________________________
i) 77.251.200.51
_____________________________
j) 189.210.50.1
_____________________________
k) 88.45.65.35
_____________________________
l) 128.212.250.254
_____________________________
m) 193.100.77.83
_____________________________
n) 125.125.250.1
_____________________________
o) 1.1.10.50
_____________________________
p) 220.90.130.45
_____________________________
q) 134.125.34.9
_____________________________
r) 95.250.91.99
_____________________________
Page 14 of 33
RAJASEKAR (IT)
11)
11) Apply your knowledge:
Solve the following problems.
1) Give Network ID : 138.169.0.0
Class: ________________________________
SNM: ____________________________________
Last HID:_________________________________
Broadcast IP:__________________________
No of hosts: _______________________________
SNM: ____________________________________
Last HID:_________________________________
Broadcast IP:__________________________
No of hosts: _______________________________
SNM: ____________________________________
Last HID:_________________________________
Broadcast IP:__________________________
No of hosts: _______________________________
SNM: ____________________________________
Last HID:_________________________________
Broadcast IP:__________________________
No of hosts: _______________________________
SNM: ____________________________________
Last HID:_________________________________
Broadcast IP:__________________________
No of hosts: _______________________________
Page 15 of 33
RAJASEKAR (IT)
12) SUBNETTING
Below Figure, illustrates the basic idea of subnetting, which is to divide the standard classful
host number field into two parts-the subnet number and the host number on that subnet.
Problem 1 :
Network Address
: 192.10.10.0
: 14
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Page 16 of 33
RAJASEKAR (IT)
Problem 2:
Network Address
: 130.150.0.0
: 62
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Problem 3:
Network Address
: 35.0.0.0
: 30
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Page 17 of 33
RAJASEKAR (IT)
Problem 4:
Network Address
: 22.0.0.0
:6
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Subnet Id (Subnet 1)
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
Subnet Id (Subnet 4)
: ________________________________________
Subnet Id (Subnet 5)
: ________________________________________
Subnet Id (Subnet 6)
: ________________________________________
Page 18 of 33
RAJASEKAR (IT)
Problem 5:
Network Address
: 140.10.0.0
:8
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Subnet Id (Subnet 1)
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
Subnet Id (Subnet 4)
: ________________________________________
Subnet Id (Subnet 5)
: ________________________________________
Subnet Id (Subnet 6)
: ________________________________________
Subnet Id (Subnet 7)
: ________________________________________
Subnet Id (Subnet 8)
: ________________________________________
Page 19 of 33
RAJASEKAR (IT)
Problem 6:
Network Address
: 200.100.100.0
:6
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Subnet Id (Subnet 1)
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
Subnet Id (Subnet 4)
: ________________________________________
Subnet Id (Subnet 5)
: ________________________________________
Subnet Id (Subnet 6)
: ________________________________________
Page 20 of 33
RAJASEKAR (IT)
Problem 7:
Network Address
: 12.0.0.0
:2
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Subnet Id (Subnet 1)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Page 21 of 33
RAJASEKAR (IT)
Problem 8:
Network Address
: 135.20.0.0
:6
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Subnet Id (Subnet 1)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 4)
First Host ID
Workshop on IP Addressing & Subnetting
: ________________________________________
: ________________________________________
Page 22 of 33
RAJASEKAR (IT)
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 5)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 6)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Page 23 of 33
RAJASEKAR (IT)
Problem 9:
Network Address
: 192.168.1.0
: 14
:________________________________________
: ________________________________________
: ________________________________________
: ________________________________________
CIDR Value
: ________________________________________
Subnet Id (Subnet 1)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 4)
First Host ID
Workshop on IP Addressing & Subnetting
: ________________________________________
: ________________________________________
Page 24 of 33
RAJASEKAR (IT)
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 5)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 6)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 7)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 8)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Subnet Id (Subnet 9)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Page 25 of 33
RAJASEKAR (IT)
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
Page 26 of 33
RAJASEKAR (IT)
Problem 10:
Given IP Address: 172.185.128.0
Subnet Required: 10
Find the Subnet Id, First Host Id, Last Host Id, Broadcast IP of 1st, 2nd, 13th and 14th Subnets.
Find the New Subnet Mask.
Page 27 of 33
RAJASEKAR (IT)
Problem 11:
Given IP Address: 192.168.1.7
Subnets Required: 10
Find the Subnet Id, First Host Id, Last Host Id, Broadcast IP of 1st, 2nd & 10th Subnets.
Find the new subnet mask.
Page 28 of 33
RAJASEKAR (IT)
IP Address Given
:________________________________________
Address class
:________________________________________
: ________________________________________
Topology Diagram
: _______________________________________
Subnet Id (Subnet 1)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Subnet Id (Subnet 2)
: ________________________________________
Page 29 of 33
RAJASEKAR (IT)
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Subnet Id (Subnet 4)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Page 30 of 33
RAJASEKAR (IT)
Problem 2:
Your organization has been assigned the network number 140.25.0.0/16, the topology diagram is also given
below. Apply VLSM with a minimal wastage of IP addresses.
IP Address Given
:________________________________________
Address class
:________________________________________
: ________________________________________
Topology Diagram
: _______________________________________
Subnet Id (Subnet 1)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Page 31 of 33
RAJASEKAR (IT)
Subnet Id (Subnet 2)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Subnet Id (Subnet 3)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Subnet Id (Subnet 4)
: ________________________________________
: ________________________________________
: ________________________________________
First Host ID
: ________________________________________
Last Host ID
: ________________________________________
Broadcast IP
: ________________________________________
: ________________________________________
Page 32 of 33
RAJASEKAR (IT)
Page 33 of 33
RAJASEKAR (IT)