IPv4 ADDRESSING & SUBNETTING Workbook Compiled by: Mr. RAJASEKAR RAMALINGAM Faculty - Department of IT, College of Applied Sciences – Sur, Post Box: 484 Post Code: 411, Sultanate of Oman. [email protected] / [email protected]
IPv4 ADDRESSING & SUBNETTING
Workbook
Compiled by:
Mr. RAJASEKAR RAMALINGAM Faculty - Department of IT, College of Applied Sciences – Sur,
Post Box: 484 Post Code: 411, Sultanate of Oman.
INDEX
# TOPIC PAGE NO.:
1 IP addressing basics 1
2 Binary to decimal conversion 3
3 Decimal to binary conversion 4
4 Decimal to hexadecimal conversion 5
5 Address class identification 6
6 Network & host identification 7
7 Default subnet mask identification 9
8 Network id identification 10
9 First and last host id identification 11
10 Subnet directed broadcast IP address identification 12
11 Apply your knowledge 13
12 Subnetting 14
13 VLSM: variable length subnet mask 27
14 Apply your knowledge 31
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 1
1) IP ADDRESSING BASICS
Define IP Address:
___________________________________________________________________________________
___________________________________________________________________________________
Find the IP Address of your computer and write it.
___________________________________________________________________________________
___________________________________________________________________________________
Other facts:
________________________ Addressing.
2 Versions: 1) ____________________ 2) ____________________.
IP Version used in our college: __________________________.
IP Addresses are used to identify _________________ in networks.
Assigned by __________________________________.
Length of IPv4 address: ____________________.
Length of IPv6 Address: ____________________.
IPv4 Address of broken into ___________________ octets (8 Bits).
General format of IPv4 is ___________________________.
Uses _______________________________format.
Example IP Address: ________________________.
Range of value per octet: __________________________.
Two types of IPv4 Address: 1) _____________________________ 2) _______________________.
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 2
CLASS
Range
(1st
Octet)
Higher
Order
Bit (1st
Octet)
# of
Network
Bits
# of
Host
Bits
Default
Subnet Mask
CIDR
Value
Total # of
Networks
Total # of
Host per
Network
Private IP Address
0.0.0.0 : ______________________________________
127.0.0.0 – 127.255.255.255 : ______________________________________
255.255.255.255 : ______________________________________
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 3
2) Binary To Decimal Conversion
a) 10010010 b) 01110111 c) 11111111 d) 11000101
e) 00011011 f) 10101010 g) 01101111 h) 11111000
i) 00100000 j) 01010101 k) 00111110 l) 00000011
m) 11101101 n) 11000000 o) 00011100 p) 10101010
128 64 32 16 8 4 2 1 Answer Scratch Area
a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
k)
l)
m)
n)
o)
p)
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 4
3) Decimal To Binary Conversion
a) 238 b) 34 c) 123 d) 50 e) 255 f) 200 g) 10
h) 138 i) 1 j) 13 k) 250 l) 98 m) 15 n) 79
128 64 32 16 8 4 2 1 Answer Scratch Area
a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
k)
l)
m)
n)
o)
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 5
4) Decimal to Hexadecimal Conversion
a) 197 b) 220 c) 79 d) 129 e) 148 f) 119 g) 97
h) 168 i) 172 j) 201
Decimal Binary Hexadecimal
128 64 32 16 8 4 2 1 Binary Value Hexadecimal
a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Decimal Binary Hexadecimal
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 6
5) Address Class Identification
Identify the Class of the following IP Addresses.
Address 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 _____
Class Range
A
B
C
D
E
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 7
6) NETWORK & HOST IDENTIFICATION
6.1 Circle the Network portion of these addresses:
a) 177. 100. 18. 4
b) 119. 18. 45. 0
c) 209. 240. 80. 78
d) 199. 155. 77. 56
e) 117. 89. 56. 45
f) 215. 45. 45. 0
g) 192. 200. 15. 0
h) 95. 0. 21. 90
i) 33. 0. 0. 0
j) 158. 98. 80. 0
k) 217. 21. 56. 0
l) 10. 250. 1. 1
m) 150. 10. 15. 0
n) 192. 14. 2. 0
o) 148. 17. 9. 1
p) 193. 42. 1. 1
q) 126. 8. 156. 0
r) 220. 200. 23. 1
Class SNM
A 255.0.0.0
B 255.255.0.0
C 255.255.255.0
IPv4 Addressing and Subnetting – Workbook - © 2016 – Rajasekar – [email protected] Page 8
6.2 Circle the host portion of these addresses
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. 2
j) 123. 102. 45. 254
k) 148. 17. 9. 155
l) 100. 25. 1. 1
m) 195. 0. 21. 98
n) 25. 250. 135. 46
o) 171. 102. 77. 77
p) 55. 250. 5. 5
q) 218. 155. 230. 14
r) 10. 250. 1. 1
Class SNM
A 255.0.0.0
B 255.255.0.0
C 255.255.255.0