1.
Are these valid IP addresses
56.89.1.2.5 - No 5 octets
10.065.34.56 – No 0 before decimal value
200.28.256.8- No 256 octet. One octet can not be more than 255.
2. Are these two IP addresses on the same network? Check subnet mask to determine same
network
1)10.10.10.1 255.0.0.0
10.10.20.16
2) 10.10.10.1 255.255.255.0
10.10.20.16
3) 172.16.200.1 255.255.0.0
172.16.165.2
4) 172.16.200.1 255.255.255.0
172.16.165.2
5) 10.10.36.1 255.255.0.0
10.10.13.1
6) 10.10.36.1 255.255.255.0
10.10.13.1
3. A host in Class C has an assigned IP address of 192.168.17.9 Find the number of addresses in
the block and first address and last address.
Class C subnet -255.255.255.0
Total host- 256
Usable host- 254
Range- 192.168.17.1-192.168.17.254
4. A host in Class B has an assigned IP address of 185.28.17.9/16 Find the number of addresses
in the block and first address and last address.
Default subnet- 255.255.0.0
Network Range - 185.28.0.0-185.28.255.255
Total host- 2^16 host- 65536
Usable host- 185.28.1.0 – 185.28.255.254
5. An organization follows Class A for internal network. One of the host is 10.200.240.4/8
Find total number of addresses, network address, broadcast address and organization
network.
Network range- 10.0.0.0-10.255.255.255
Total host- 2^24 host-16,777216
Usable host -10.0.0.1 – 10.255.255.254
6. Example of Subnetting the Network:
IP Address assignment: Network 192.168.1.0/24
Four Important addresses
- Network address / subnet address
- Broadcast address
- First available host address
- Last available host address
Convert IP address and subnet mask to decimal
Determine network/subnet address
Determine broadcast address
IP Address: 192.168.1.0
Network Address: 192.168.1.0
Usable Host IP Range: 192.168.1.1 - 192.168.1.254
Broadcast Address: 192.168.1.255
Total Number of Hosts: 256
Number of Usable Hosts: 254
Subnet Mask: 255.255.255.0
7. IP Address assignment IP Address: 192.168.10.2
IP Address: 192.168.10.2
Network Address: 192.168.10.0
Usable Host IP Range: 192.168.10.1 - 192.168.10.254
Broadcast Address: 192.168.10.255
Total Number of Hosts: 256
Number of Usable Hosts: 254
Subnet Mask: 255.255.255.0
Binary Subnet Mask: 11111111.11111111.11111111.00000000
IP Class: C
CIDR Notation: /24
IP Type: Private
8. Subnet the IP address 216.21.5.0 into 30 host in each subnet
No of host/subnets 30 host= 11110 we are using 5 bits so reserve 5 bits in subnet
SG=32 Add 32 to every network to get next network
Octet=4
Number of Networks are as follows
216.21.5.0
216.21.5.32
216.21.5.64
.96
.128
9. Subnet the IP address196.10.20.0 into 52 host in each subnet
Identify Class of IP and default subnet mask
Convert into binary
Note no of host required/subnet and find SG and octet position
Generate new subnet mask
Use SG and generate network ranges (subnets) in octet position
52- 110100 - 6 bits
SG-64
Octet 4
/26
Total number of Networks
196.10.20.0
196.10.20.64
.128
.192
10. Subnet the following IP address 202.47.37.111/25
IP Address: 202.47.37.111
Network Address: 202.47.37.0
Usable Host IP Range: 202.47.37.1 - 202.47.37.126
Broadcast Address: 202.47.37.127
Total Number of Hosts:128
Number of Usable Hosts: 126
Subnet Mask: 255.255.255.128
Binary Subnet Mask: 11111111.11111111.11111111.10000000
IP Class: C
CIDR Notation: /25
IP Type: Public
All 2 of the Possible /25 Networks for 202.47.37.
Network Address Usable Host Range Broadcast Address:
202.47.37.0 202.47.37.1 - 202.47.37.126 202.47.37.127
202.47.37.128202.47.37.129 - 202.47.37.254 202.47.37.255
11. 192.168.10.0/28
Find subnet mask
Total number of networks can be created – Formula 2^n (n is no of bits borrowed from host)
2^14= 16
Total number of IP addresses
Total number of host -2^n-2 =16-2 =14
12. 192.168.100.154/27
No of Subnets- 2^3=8 No of host- 2^3-2= 6 host
Network Address- 192.168.100.128
Host Address-192.168.100.129
Last Address-192.168.100.158
Broadcast address- 192.168.100.159
IP Address: 192.168.100.154
Network Address: 192.168.100.128
Usable Host IP Range: 192.168.100.129 - 192.168.100.158
Broadcast Address: 192.168.100.159
Total Number of Hosts: 32
Number of Usable Hosts: 30
Subnet Mask: 255.255.255.224
All 8 of the Possible /27 Networks for 192.168.100.*
Network Address Usable Host Range Broadcast Address:
192.168.100.0 192.168.100.1 - 192.168.100.30 192.168.100.31
192.168.100.32 192.168.100.33 - 192.168.100.62 192.168.100.63
192.168.100.64 192.168.100.65 - 192.168.100.94 192.168.100.95
192.168.100.96 192.168.100.97 - 192.168.100.126 192.168.100.127
192.168.100.128 192.168.100.129 - 192.168.100.158 192.168.100.159
192.168.100.160 192.168.100.161 - 192.168.100.190 192.168.100.191
192.168.100.192 192.168.100.193 - 192.168.100.222 192.168.100.223
192.168.100.224 192.168.100.225 - 192.168.100.254 192.168.100.255
13. 216.21.5.0/27
IP Address: 216.21.5.0
Network Address: 216.21.5.0
Usable Host IP Range: 216.21.5.1 - 216.21.5.30
Broadcast Address: 216.21.5.31
Total Number of Hosts: 32
Number of Usable Hosts: 30
Subnet Mask: 255.255.255.224
Binary Subnet Mask: 11111111.11111111.11111111.11100000
IP Class: C
CIDR Notation: /27
IP Type: Public
All 8 of the Possible /27 Networks for 216.21.5.*
14. Network Address Usable Host Range Broadcast Address:
15. 216.21.5.0 216.21.5.1 - 216.21.5.30 216.21.5.31
16. 216.21.5.32 216.21.5.33 - 216.21.5.62 216.21.5.63
17. 216.21.5.64 216.21.5.65 - 216.21.5.94 216.21.5.95
18. 216.21.5.96 216.21.5.97 - 216.21.5.126 216.21.5.127
19. 216.21.5.128 216.21.5.129 - 216.21.5.158 216.21.5.159
20. 216.21.5.160 216.21.5.161 - 216.21.5.190 216.21.5.191
21. 216.21.5.192 216.21.5.193 - 216.21.5.222 216.21.5.223
22. 216.21.5.224 216.21.5.225 - 216.21.5.254 216.21.5.255