04-15-2019 10:10 AM
Could someone please explain me as to how to find the IP address range of a specific VLAN
Below is an example which you can use for reference.
How will I find the IP address range of VLAN 100, VLAN 200 and VLAN 300.
172.29.6.2/25 vlan 100
172.29.7.66/26 vlan 200
172.29.7.135/25 vlan 300
Solved! Go to Solution.
04-15-2019 10:29 AM - edited 04-15-2019 10:37 AM
@nabeelkhan8086 hello,
Check steps below;
How will I find the IP address range of VLAN 100, VLAN 200 and VLAN 300.
172.29.6.2/25 vlan 100 = 172.29.6.0 255.255.255.128
1 1 1 1 1 1 1 1
128 64 32 16 8 4 2 1
128 192 224 240 248 252 254 255
/25 /26 /27 /28 /29 /30 /31 /32
NETWORK: 172.29.6.0/25 = 172.29.6.0 255.255.255.128
NETWORK FIRST IP VALID LAST IP VALID BROADCAST
REDE1 - 172.29.6.0 172.29.6.1 172.29.6.126 172.29.6.127 < VLAN100
REDE2 - 172.29.6.128 172.29.6.129 172.29.6.254 172.29.6.255
NETWORK: 172.29.7.62/26
NETWORK FIRST IP VALID LAST IP VALID BROADCAST
REDE1 - 172.29.7.0 172.29.7.1 172.29.7.62 172.29.7.63
REDE2 - 172.29.7.64 172.29.7.65 172.29.7.126 172.29.7.127 < VLAN 200
REDE3 - 172.29.7.128 172.29.7.129 172.29.7.190 172.29.7.191 < VLAN 300
REDE4 - 172.29.7.192 172.29.7.193 172.29.7.254 172.29.7.255
i wrote in portuguese, sorry ^^
obs: change mask of vlan from 300 /25 to /26
Regards,
04-15-2019 10:39 AM - edited 04-15-2019 10:46 AM
Hi @nabeelkhan8086 ,
Just to add a little to what has already been said.
To find the networks associated with a specific host, you can change that host to bit and mark the location of the mask.
This process will indicate the associated network and the ranges of each one:
172.29.6.2/25 = 172.29.6.0|000 0010
Network: 172.29.6.0 = 172.29.6.0|000 0000
Range: 172.29.6.0|000 0001(172.29.6.1) - 172.29.6.0|111 1111(172.29.6.127)
172.29.7.66/26 = 172.29.7.01|00 0010
Network: 172.29.7.64 = 172.29.7.01|00 0000
Range: 172.29.7.01|00 0001(172.29.7.65) - 172.29.6.01|11 1111(172.29.7.127)
172.29.7.135/25 = 172.29.7.1|000 0111
Network: 172.29.7.128 = 172.29.7.1|000 0000
Range: 172.29.7.1|000 0001(172.29.7.129) - 172.29.6.1|111 1111(172.29.7.255)
You should consider that the last IP of each range corresponds to the broadcast address of that network, so it cant be used to address any host.
Regards
04-15-2019 10:19 AM
- The question does not correlate , a VLAN when it is being used as an ip-subnet can have ip address range(s) assigned provided the network manager (role) does a proper job.
M.
04-15-2019 10:21 AM - edited 04-15-2019 10:27 AM
172.29.6.2/25 vlan 100 range is 172.29.6.1-126
172.29.7.135/25 vlan 300 range is 172.29.7.1-126
172.29.7.66/26 is already covered in the other range
So, vlan 200 needs a different subnet that is not covered under vlan 300
HTH
04-15-2019 10:29 AM - edited 04-15-2019 10:37 AM
@nabeelkhan8086 hello,
Check steps below;
How will I find the IP address range of VLAN 100, VLAN 200 and VLAN 300.
172.29.6.2/25 vlan 100 = 172.29.6.0 255.255.255.128
1 1 1 1 1 1 1 1
128 64 32 16 8 4 2 1
128 192 224 240 248 252 254 255
/25 /26 /27 /28 /29 /30 /31 /32
NETWORK: 172.29.6.0/25 = 172.29.6.0 255.255.255.128
NETWORK FIRST IP VALID LAST IP VALID BROADCAST
REDE1 - 172.29.6.0 172.29.6.1 172.29.6.126 172.29.6.127 < VLAN100
REDE2 - 172.29.6.128 172.29.6.129 172.29.6.254 172.29.6.255
NETWORK: 172.29.7.62/26
NETWORK FIRST IP VALID LAST IP VALID BROADCAST
REDE1 - 172.29.7.0 172.29.7.1 172.29.7.62 172.29.7.63
REDE2 - 172.29.7.64 172.29.7.65 172.29.7.126 172.29.7.127 < VLAN 200
REDE3 - 172.29.7.128 172.29.7.129 172.29.7.190 172.29.7.191 < VLAN 300
REDE4 - 172.29.7.192 172.29.7.193 172.29.7.254 172.29.7.255
i wrote in portuguese, sorry ^^
obs: change mask of vlan from 300 /25 to /26
Regards,
04-15-2019 10:39 AM - edited 04-15-2019 10:46 AM
Hi @nabeelkhan8086 ,
Just to add a little to what has already been said.
To find the networks associated with a specific host, you can change that host to bit and mark the location of the mask.
This process will indicate the associated network and the ranges of each one:
172.29.6.2/25 = 172.29.6.0|000 0010
Network: 172.29.6.0 = 172.29.6.0|000 0000
Range: 172.29.6.0|000 0001(172.29.6.1) - 172.29.6.0|111 1111(172.29.6.127)
172.29.7.66/26 = 172.29.7.01|00 0010
Network: 172.29.7.64 = 172.29.7.01|00 0000
Range: 172.29.7.01|00 0001(172.29.7.65) - 172.29.6.01|11 1111(172.29.7.127)
172.29.7.135/25 = 172.29.7.1|000 0111
Network: 172.29.7.128 = 172.29.7.1|000 0000
Range: 172.29.7.1|000 0001(172.29.7.129) - 172.29.6.1|111 1111(172.29.7.255)
You should consider that the last IP of each range corresponds to the broadcast address of that network, so it cant be used to address any host.
Regards
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