



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




1. What is the network ID of the IP node 131.107.189.41 with a subnet mask of 255.255.240.0?
10000011 01101011 10111101 00101001 IP Address 11111111 11111111 11110000 00000000 Subnet Mask 10000011 01101011 10110000 00000000 Network ID The result of the bit-wise logical AND of IP address and the subnet mask is the network ID 131.107.176.0.
2. Separate Network portion and host portion of the following IP addresses 3. Performing Bitwise ANDing operation
Subnetting A. Subnetting based on given IP address and subnet mask
4. For example, we are using 255.255.255.192 as a subnet mask and 192.168.10.0 as a Network address (192.168.10.0/26). 1. How many subnets does the subnet mask produce? 2. How many valid hosts each subnet can support? 3. What are the possible subnet ranges? 4. What are the ranges of valid hosts in each subnet? 5. What is the broadcast address of each subnet? Let’s answer these questions: Given: IP address:- 192.168.10.0 (which is class C address) Subnet Mask:- 255.255.255. From the given requirements, we can learn that the given IP address is class C and the mask given is Custom Mask(255.255.255.192). To get the number of borrowed bits, we have to represent the default subnet mask of class C and the given subnet mask in binary notation as follows Class C Default subnetmask:- 255.255.255.0 = 11111111.11111111.11111111. Given custum subnet mask:-255.255.255.192 = 11111111.11111111.11111111. 11 000000 Here in custom subnet mask, we can see two borrowed bits (bold font and underlined bits) 1. How many subnets? 2 x=amount of subnets. X is the amount of masked(borrowed) bits, or 1s. In this case we do have 2 masked bits, 11 000000 in the last octet which produce 22 =4 subnets. 2. How many valid hosts per subnet? 2 x–2=amount of hosts per subnet. X is the amount of unmasked(Host) bits, or the 0s. In the given subnet mask we do have 6 host bits (6 zeros). By substituting in host formula we will get 26 – 2 =62. In this example, there are 62 valid hosts per subnet. In each subnet the first and the last address are not used to identify host. 3. What are the possible subnet ranges? To find the range of subnets, first find the subnet range number. 2 host^ bits^ in^ subnetted^ octet=Range number, NB host bits in masked/subnetted octet(s) , here we have 6 host bits in the given subnet mask. 255.255.255.192 (11111111.11111111.11111111.11 000000 ) 26 =64, so that one subnet varies from other by the range number 64. So that the possible subnets are: Subnet1 : 192.168.10.0 - 192.168.10. Subnet2 : 192.168.10.64 - 192.168.10. Subnet1 : 192.168.10.128 - 192.168.10. Subnet1 : 192.168.10.192 - 192.168.10. 255
The last column on the table above contains the broadcast addresses of the first Four subnets
6. Subnet the network address 192.168.10.0 with subnet mask 255.255.255.224. 192.168.10.0 = Network address 255.255.255.224 = Subnet mask
B. Subnetting based on required number of subnet
7. A service provider has given you the Class C network range 209.50.1.0. Your company wants to break the network into 20 separate subnets. Design the addressing management. Step 1) Determine the number of subnets and bits to be borrowed from host portion ➢ Number of subnets required = 20 ➢ 2 x^ = ➢ 2 x^ = 2^5 , we need at least 5 borrowed bits to satisfy this requirement (since you cannot get the number 20 with any less than 5 bits). So that five borrowed bits can produce 32 subnets (2^5 =32). We cannot produce exactly 20 subnets, this is because the number of subnets are always the power of two and there is no power of two that can produce number 20. Step 2) Determine the custom subnet mask
8. Your company would like to break the Class B private IP address range 172.16.0.0 into 60 different subnets Step 1) Determine the number of bits to be borrowed from host portion ➢ Number of subnets required = 60 ➢ 2 x^ = ➢ 2 x^ = 2^6 , we need at least 6 borrowed bits to satisfy this requirement (since you cannot get the number 60 with any less than 6 bits), so that we can produce 26 =64 subnets Step 2) Determine subnet mask and find incremental value(Subnet range)