In: Computer Science
Determine the subnet mask for the following IP addresses. Please show your work how you got the answer so i can understand how to do it.
10.55.64.8 need 80 subnets
192.168.1.x /26 – subnet mask
172.16.10.2 / 18 – subnet mask
172.16.10.4 / 20- subnet mask
Subnet Mask:
The subnet mask is used to divide the IP address into the network address or Netid and host address or HostId. It is generated by putting all network bits to 1 and all host bits to 0.
10.55.64.8 need 80 subnets
This IP address is related to class A and the subnet mask of class A is: 255.0.0.0
In Binary format, the subnet mask is = 11111111.00000000.00000000.00000000
For 80 subnet, we will use a subnet mask which can have 128 subnets because subnetting is possible in power of 2 only.
The subnet mask is = 255.254.0.0
In Binary format, the subnet mask is = 11111111.11111110.00000000.00000000
192.168.1.x /26
The above address is related to the classless addressing.
The subnet Mask = 255.255.255.192
In Binary format, the subnet mask is = 11111111.11111111.11111111.11000000
172.16.10.2 / 18
The above address is related to the classless addressing.
Subnet Mask = 255.255.192.0
In Binary format, the subnet mask is = 11111111.11111111.11000000.00000000
172.16.10.4 / 20
Subnet Mask = 255.255.240.0.
The above address is related to the classless addressing.
In Binary format, the subnet mask is = 11111111.11111111.11110000.00000000