hello. i have a question on vlsm and i just answered of the questions but got it wrong. i looked at the answer but it doesnt really make sense to me. can someone plz explain this. the parts that i dont understand is BOLDED and UNDERLINED. i dont understand how they came about to this answer.
You are configuring the IP addresses on the SFO router FastEthernet interfaces. Subnet 1 (connected to FastEthernet0/0) has 672 hosts and Subnet 2 (connected to FastEthernet0/1) has 258 hosts. Your task in this lab is to subnet the 172.20.0.0 network to provide sufficient host addresses for both subnets while minimizing wasted IP addresses.
Complete the following tasks:
- Choose one subnet mask for each subnet. The masks should provide for enough host addresses without wasting IP addresses.
- Assign IP addresses and correct subnet masks to the SFO interfaces connected to the switches (in this order):
- For FastEthernet0/0, use the third possible subnet and the last address on the subnet.
- For FastEthernet0/1, use the next available subnet that does not overlap and the last address on the subnet.
- Enable both interfaces.
- Save your changes to the startup-config file.
and here is the answer
to determine which subnet mask will work for the 172.20.0.0 network, first look at the number of hosts required for each subnet:
Subnet1 (connected to FastEthernet0/0) has 672 hosts. To support 672 hosts, a subnet mask of /22 is required (10 host bits in the 2n-2 formula will afford 1022 host addresses in the subnet).
Subnet2 (connected to FastEthernet0/1) has 258 hosts. To support 258 hosts, a subnet mask of /23 is required (9 host bits in the 2n-2 formula will afford 510 host addresses in the subnet).
With a network address of 172.20.0.0 and the masks needed to fit the requirements, you need to configure the following IP address and subnet masks:
For the FastEthernet0/0 connection:
172.20.8.0/22 is the third possible subnet. (172.20.0.0/22 is the first possible subnet and 172.20.4.0/22 is the second possible subnet.)
172.20.11.254 is the last possible IP address in the subnet.
255.255.252.0 is the decimal version of a 22-bit mask.
For the FastEthernet0/1 connection:
172.20.12.0/23 is the next available subnet that does not overlap.
172.20.13.254 is the last possible IP address in the subnet.
255.255.254.0 is the decimal version of a 23-bit mask.
how is 172.20.8.0 / 22 the third possible subnet. isnt it 172.20.6.0 the third possible subnet?
thanks