This question already has an answer here:
In my problem I have a company to which was given the block of addresses 220.127.116.11/26 and the whole network is connected like this:
The objective is to figure out the L1, L2 and L3 subnet addresses.
Since it's a 26 bit mask I assume I should be able to create 4 subnets with 62 hosts each.
What's throwing me off here is the 192, because 18.104.22.168 -> 172.14.200.|11|000000|, makes it so that the bits borrowed to create subnets are filled already.
I did another exercise where the address block was 22.214.171.124/26, so 3 subnets could be 126.96.36.199, 188.8.131.52 and 184.108.40.206. Did I do that one right? What am I getting wrong here?
I mean, can I even create subnets? Or do I have only one, the .192 with 62 hosts and broadcast at .255?
EDIT: I just thought that the point might be to borrow the first 2 from the last 6 bits to be able to create 4 networks. But those would only be able to have 14 hosts each, so even though the provided link below teaches to create subnetworks, I still can't answer the question.
EDITthe2nd: As sugested below, the answer could be (and most likely is) to borrow one bit and create two /27, each with 30 hosts and borrow another bit in one of those to create two /28, each with 14 hosts. The /27 would go to L2, with 29 computers and the /28's would go to L1 and L3.
L2 -> 172.14.200.|11|0|00000 / 27 -> 220.127.116.11/27 L1 -> 172.14.200.|11|10|0000 / 28 -> 18.104.22.168/28 L3 -> 172.14.200.|11|11|0000 / 28 -> 22.214.171.124/28
EDITthe3rd: The above was a nice step, but I failed to take into account the 126.96.36.199/30 segment, which takes away the .212 - .215 block. As such, the .192/27 block is the one to be divided:
L2: 188.8.131.52/27 -> gives me 30 hosts L3: 184.108.40.206/28 -> gives me 14 hosts
The last block is divided again:
L1: 220.127.116.11/29 -> gives me 6 hosts
The remaining block, 18.104.22.168/29 will overlap with the .212 - .215 block, but I only need 3 subnets.