You are on page 1of 3

School of Engineering (E)

EG2744 – Network Technology


__________________________________________________________________________

Tutorial 3 (Subnetting)
Part A

1) 6 , because if you take seven you will only have one bit left for hosts, and 21-2=0 IP
addresses
2) 14 (6+8=14)
3) 22 (6+8+8=22)

4. 255.255.255.240

Using the 2 n -2 formula, we will need to use 4 bits for subnetting, as this will provide for 2 4 -
2 = 14 subnets. The subnet mask for 4 bits is then 255.255.255.240.

5. 255.255.254.0

Class B network
No. of Bits borrowed No. of usable Subnetworks Usable hosts
7 27-2=126 2(16-7)-2=510
8 254 254

Using the 2 n -2 formula for host addresses, 2 7 -2 = 126 subnets, so a 7-bit subnet mask will
provide the required number of subnets. If these 7 bits are used for the hosts in a class B
network, then the remaining 9 bits are used for the number of hosts. Again using the 2 n -2
formula, we have 2 7 -2 = 510 hosts that are available.

Part B

Write the subnet mask, subnetwork IP address, broadcast address, and valid host range for
each of the following:

1. 172.16.10.5 255.255.255.128

Dotted Decimal 1st octet 2nd Octet 3rd Octet 4th Octet
IP address 172.16.10.5 10101100 00010000 00001010 00000101
Subnet Mask 255.255.255.128 11111111 11111111 11111111 10000000
Subnetwork IP 172.16.10.0 10101100 00010000 00001010 00000000
address
Subnetwork 172.16.10.127 10101100 00010000 00001010 01111111
Broadcast Address
Valid Hosts range 172.16.10.1 to 172.16.10.126

Page 1 of 3
2. 172.16.10.33 255.255.255.224

Dotted Decimal 1st octet 2nd Octet 3rd Octet 4th Octet
IP address 172.16.10.33 10101100 00010000 00001010 00100001
Subnet Mask 255.255.255.224 11111111 11111111 11111111 11100000
Subnetwork IP 172.16.10.32 10101100 00010000 00001010 00100000
address
Subnetwork 172.16.10.63 10101100 00010000 00001010 00111111
Broadcast Address
Valid Hosts range 172.16.10.33 to 172.16.10.62

3. 172.16.10.65/26

Dotted Decimal 1st octet 2nd Octet 3rd Octet 4th Octet
IP address 172.16.10.65 10101100 00010000 00001010 01000001
Subnet Mask 255.255.255.192 11111111 11111111 11111111 11000000
Subnetwork IP 172.16.10.64 10101100 00010000 00001010 01000000
address
Subnetwork 172.16.10.127 10101100 00010000 00001010 01111111
Broadcast Address
Valid Hosts range 172.16.10.65 to 172.16.10.126

Written Lab Part C

1) Class B network = 190.18.0.0

No. of Bits borrowed No. of usable Subnetworks Usable hosts


7 27-2=126 2(16-7)-2=510
8 254 254
Hence need to borrow 7 bits (from 3 rd octet)
3rd Octet mask value= 254 (11111110)
Subnet Mask = 255.255.254.0
No. of usable subnetworks = 126
No. of usable hosts = 510

Magic No. = 256- 254 = 2

Subnetwork No. 0th IP address = 190.18. (0x 2). 0 = 190.18.0.0


th
Subnetwork No. 0 Broadcast address = 190.18. ([0+1]x2 -1).255 =190.18.1.255

Subnetwork No. 1th IP address = 190.18. (1x 2). 0 = 190.18.2.0


Subnetwork No. 1th Broadcast address = 190.18. ([1+1]x2 -1).255 =190.18.3.255

Subnetwork No. 2th IP address = 190.18. (2x 2). 0 = 190.18.4.0


Subnetwork No. 2th Broadcast address = 190.18. ([2+1]x2 - 1).255 =190.18.5.255
:
:
Subnetwork No. 126th IP address = 190.18. (126x 2). 0 = 190.18.252.0
Subnetwork No. 126th Broadcast address = 190.18. ([126+1]x2 - 1).255 =190.18.253.255

Page 2 of 3
Subnet Subnet Mask Subnetwork Subnetwork Valid Hosts range Useable?
No IP address Broadcast
address
0 255.255.254.0 190.18.0.0 190.18.1.255 190.18.0.1 to No
190.18.2.254
1 255.255.254.0 190.18.2.0 190.18.3.255 190.18.2.1 to Yes
190.18.3.254
2 255.255.254.0 190.18.4.0 190.18.5.255 190.18.4.1 to Yes
190.18.5.254
3 255.255.254.0 190.18.6.0 190.18.7.255 190.18.6.1 to Yes
190.18.7.254
4 255.255.254.0 190.18.8.0 190.18.9.255 190.18.8.1 to Yes
190.18.9.254
: 255.255.254.0 190.18.X.0 190.18.(X+1).255 190.18.X.1 to Yes
190.18.(X+1).254
126 255.255.254.0 190.18.252.0 190.18.253.255 190.18.252.1 to Yes
190.18.253.254
127 255.255.254.0 190.18.254.0 190.18.5.255.255 190.18.254.1 to No
190.18.255.254

Table Q1 Planning Chart

Location of Subnet Subnet Mask Subnet Router’s IP Address


Geographically Number

E0 of Router A 255.255.254.0
S0 of Router A *190.18.x.1 to 190.18.x.254
S1 of Router A *190.18.2.0 where x ranges from 2,4,6, … to 254
E0 of Router B to
S0 of Router B 190.18.254.0
S1 of Router B
E0 of Router C
S0 of Router C
S1 of Router C

Note: *There are numerous combinations of answers for this question.

END.

Page 3 of 3

You might also like