05-28-2012 03:27 AM - edited 03-03-2019 06:36 AM
Hi all. A bit of newbie question this, but I can't get the answer straight in my head!
If I had a subnetted network as below, would I get say in subnets #127 & 128 the IP's marked with the arrows as valid host IP's to use?
10.1.3.65/23 | 255.255.254.0 | ||||
Subnet # | ID | Range | Broadcast | ||
127 | 10.0.254.0 | 10.0.254.1 - 10.0.255.254 | 10.0.255.255 | 10.0.254.1 | |
10.0.254.2 | |||||
10.0.254.3 | |||||
… | |||||
10.0.254.253 | |||||
10.0.254.254 | |||||
10.0.254.255 | |||||
10.0.255.0 | ◄◄ | ||||
10.0.255.1 | |||||
10.0.255.2 | |||||
10.0.255.3 | |||||
… | |||||
10.0.255.252 | |||||
10.0.255.253 | |||||
10.0.255.254 | |||||
10.0.255.255 | Broadcast | ||||
128 | 10.1.0.0 | 10.1.0.1 - 10.1.1.254 | 10.1.1.255 | 10.1.0.1 | |
10.1.0.2 | |||||
10.1.0.3 | |||||
… | |||||
10.1.0.255 | |||||
10.1.1.0 | ◄◄ | ||||
10.1.1.1 | |||||
10.1.1.2 | |||||
… | |||||
10.1.1.253 | |||||
10.1.1.254 | |||||
10.1.1.255 | Broadcast | ||||
05-28-2012 04:17 AM
Hello,
Yes indeed - however you need to make sure mask consistency across all devices within this subnet for it to work.
Nik
06-05-2012 05:23 AM
Hello Daran,
i asume you are using the following networks:
subnet 127 with network 10.0.254.0/23
subnet 128 with network 10.1.0.0/23
In a /23 network (or 255.255.254.0) you can change the full last byte and the last bit of the third octect so you can have 1 or 0 in X:
in subnet 127 00001010 00000000 1111111X XXXXXXXX
so range from 00001010 00000000 11111110 00000000 (network) 10.0.254.0
to 00001010 00000000 11111111 11111111 (broadcast) 10.0.255.255
the rest of combinations are hosts so 2^9-2 = 510 hosts
in subnet 128 00001010 00000001 0000000X XXXXXXXX
so range from 00001010 00000001 00000000 00000000 (network) 10.1.0.0
to 00001010 00000001 00000001 11111111 (broadcast) 10.1.1.255
the rest of combinations are hosts so 2^9-2 = 510 hosts
just make sure that your hosts use the same /23 mask.
If in doubt google for ipcalc.
My 2 cents,
Hernán Márquez
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide