Professional Documents
Culture Documents
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
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
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
END.
Page 3 of 3