IP Addressing & Subnetting Workshop 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

WORKSHOP ON IP ADDRESSING & SUBNETTING

Student Id:_________ Name :______________________________________________

Page-1 of 28 TEJAS PATEL


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 28 TEJAS PATEL


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) _______________________.

Page-3 of 28 TEJAS PATEL


Higher
Range # of # of Total # of
Order Default CIDR Total # of
CLASS (1st Network Host Host per Private IP Address
Bit (1st Subnet Mask Value Networks
Octet) Bits Bits Network
Octet)

Page-4 of 28
0.0.0.0 : ______________________________________
127.0.0.0 – 127.255.255.255 : ______________________________________
255.255.255.255 : ______________________________________

TEJAS PATEL
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)

Page-5 of 28 TEJAS PATEL


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)

Page-6 of 28 TEJAS PATEL


4) Decimal to Hexadecimal Conversion:
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 8 1000 8


0 0000 0 9 1001 9
1 0001 1 10 1010 A
2 0010 2 11 1011 B
3 0011 3 12 1100 C
4 0100 4 13 1101 D
5 0101 5 14 1110 E
6 0110 6 15 1111 F
7 0111 7

Page-7 of 28 TEJAS PATEL


5) Address Class Identification: Class Range
A
Identify the Class of the following IP Addresses.
B
Address Class C
D
a) 10.250.1.1 _____
E
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 28 TEJAS PATEL


6) NETWORK & HOST IDENTIFICATION:

6.1 Circle the Network portion of these addresses:


Class SNM
a) 177. 100. 18. 4
A 255.0.0.0
b) 119. 18. 45. 0 B 255.255.0.0
C 255.255.255.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

Page-9 of 28 TEJAS PATEL


6.2 Circle the host portion of these addresses:

Class SNM
a) 10. 15. 123. 50
A 255.0.0.0
b) 171. 2. 199. 31 B 255.255.0.0
C 255.255.255.0
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

Page-10 of 28 TEJAS PATEL


7) Default Subnet Mask Identification:

Write the correct Default Subnet Mask & CIDR Value for each of the following addresses:

IP Address 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 28 TEJAS PATEL


8)) network id Identification:

Identify the Network Id of the following IP Addresses.

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-12 of 28 TEJAS PATEL


9)) first and last host id Identification:

Identify the First Host Id and Last Host Id of the following IP Addresses.

IP Address 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 28 TEJAS PATEL


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 28 TEJAS PATEL


11)
11) Apply your knowledge:

Solve the following problems.

1) Give Network ID : 138.169.0.0

Class: ________________________________ SNM: ____________________________________

First HID: ____________________________ Last HID:_________________________________

Broadcast IP:__________________________ No of hosts: _______________________________

2) Give Network ID : 206.207.0.0

Class: ________________________________ SNM: ____________________________________

First HID: ____________________________ Last HID:_________________________________

Broadcast IP:__________________________ No of hosts: _______________________________

3) Give Network ID : 189.0.0.0

Class: ________________________________ SNM: ____________________________________

First HID: ____________________________ Last HID:_________________________________

Broadcast IP:__________________________ No of hosts: _______________________________

4) Give Network ID : 203.0.0.0

Class: ________________________________ SNM: ____________________________________

First HID: ____________________________ Last HID:_________________________________

Broadcast IP:__________________________ No of hosts: _______________________________

5) Give Network ID : 208.255.0.0

Class: ________________________________ SNM: ____________________________________

First HID: ____________________________ Last HID:_________________________________

Broadcast IP:__________________________ No of hosts: _______________________________

Page-15 of 28 TEJAS PATEL


12) SUBNETTING

• Subnetting is a procedure to support the subnetting or division of a single Class A, B, or C


network number into smaller pieces.

• Instead of the Classful two-level hierarchy, subnetting supports a three-level hierarchy.

• 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

Number of needed subnets : 14

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

CIDR Value : ________________________________________

Page-16 of 28 TEJAS PATEL


Problem 2:

Network Address : 130.150.0.0

Number of needed subnets : 62

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

CIDR Value : ________________________________________

Problem 3:

Network Address : 35.0.0.0

Number of needed subnets : 30

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

CIDR Value : ________________________________________

Page-17 of 28 TEJAS PATEL


Problem 4:

Network Address : 22.0.0.0

Number of needed subnets :6

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

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) : ________________________________________

Show your work in the space below.

Page-18 of 28 TEJAS PATEL


Problem 5:

Network Address : 140.10.0.0

Number of needed subnets :8

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

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) : ________________________________________

Show your work in the space below.

Page-19 of 28 TEJAS PATEL


Problem 6:

Network Address : 200.100.100.0

Number of needed subnets :6

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

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) : ________________________________________

Show your work in the space below.

Page-20 of 28 TEJAS PATEL


Problem 7:

Network Address : 12.0.0.0

Number of needed subnets :2

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

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 : ________________________________________

Show your work in the space below.

Page-21 of 28 TEJAS PATEL


Problem 8:

Network Address : 135.20.0.0

Number of needed subnets :6

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

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 : ________________________________________

Page-22 of 28 TEJAS PATEL


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 : ________________________________________

Show your work in the space below.

Page-23 of 28 TEJAS PATEL


Problem 9:

Network Address : 192.168.1.0

Number of needed subnets : 14

Complete the following:

Address class :________________________________________

Default subnet mask : ________________________________________

Number of bits borrowed : ________________________________________

Custom / New Sub NetMask : ________________________________________

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 : ________________________________________

Page-24 of 28 TEJAS PATEL


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 28 TEJAS PATEL


Subnet Id (Subnet 10) : ________________________________________

First Host ID : ________________________________________

Last Host ID : ________________________________________

Broadcast IP : ________________________________________

Subnet Id (Subnet 11) : ________________________________________

First Host ID : ________________________________________

Last Host ID : ________________________________________

Broadcast IP : ________________________________________

Subnet Id (Subnet 12) : ________________________________________

First Host ID : ________________________________________

Last Host ID : ________________________________________

Broadcast IP : ________________________________________

Subnet Id (Subnet 13) : ________________________________________

First Host ID : ________________________________________

Last Host ID : ________________________________________

Broadcast IP : ________________________________________

Subnet Id (Subnet 14) : ________________________________________

First Host ID : ________________________________________

Last Host ID : ________________________________________

Broadcast IP : ________________________________________

Show your work in the space below.

Page-26 of 28 TEJAS PATEL


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 28 TEJAS PATEL


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 28 TEJAS PATEL

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy