cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8752
Views
20
Helpful
4
Replies

How to find the IP address range of a specific VLAN

nabeelkhan8086
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

Jaderson Pessoa
VIP Alumni
VIP Alumni

@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,

 

Jaderson Pessoa
*** Rate All Helpful Responses ***

View solution in original post

luis_cordova
VIP Alumni
VIP Alumni

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/26172.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

 

View solution in original post

4 Replies 4

marce1000
VIP
VIP

 

 - 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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Reza Sharifi
Hall of Fame
Hall of Fame

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

 

Jaderson Pessoa
VIP Alumni
VIP Alumni

@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,

 

Jaderson Pessoa
*** Rate All Helpful Responses ***

luis_cordova
VIP Alumni
VIP Alumni

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/26172.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

 

Review Cisco Networking for a $25 gift card