i was given a network that i needed to use vlsm on. which i did and got these vaules:

Address   | Mask| Assignable Range        | Broadcast | /22 | - | | /24 | - | | /26 | -  || /28 | -  || /28 | -  |

The network consists of 3 switches and 1 router.

The router ip i just given the first usable after the last broadcast so:

So my question is how do i determine the ip address for the switches? can i just use any usable address in the subnet?

Thanks for taking the time to read this! Any guidance would be appreciated

1 Answer 1


If your switches are unmanaged, layer-2 switches, then the switches do not get IP addresses. If the switches need management addresses then they can be any valid host address on a network to which the switch is connected, the same way that the router interface address can be any valid host address for the network connected to which the router interface is connected. The switch management is really just another host on the network, and it is only used to manage the switch; it has nothing to do with the switching function. Switching happens at the data-link layer, but IP is at the network layer.

If you have multiple networks connected to the router, the router will need an address for each network to which the router is connected. The way traffic gets from one network to another network is through a router. If you only have one router, then it will need an interface in each network, and each interface will need an address in the network to which it is connected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.