cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
219
Views
0
Helpful
3
Replies

Switching

mbawar677
Level 1
Level 1

How to connect two different VLANs in same subnet by using Router or L3 Switch?

example; 

Pc1: 10.0.0.1——vlan 10

pc2: 10.0.0.50——vlan 20

 

2 Accepted Solutions

Accepted Solutions

@mbawar677 

 You can not. Vlan needs to have different IPs.

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

If the same subnet, VLAN should be same number.

If different VLANs, should be different subnets.

Technically, you can interconnect different VLANs, to host same subnet, but it's bad practice and causes some gotchas on Cisco equipment.

Why do you wish to do this?

 

View solution in original post

3 Replies 3

@mbawar677 

 You can not. Vlan needs to have different IPs.

Joseph W. Doherty
Hall of Fame
Hall of Fame

If the same subnet, VLAN should be same number.

If different VLANs, should be different subnets.

Technically, you can interconnect different VLANs, to host same subnet, but it's bad practice and causes some gotchas on Cisco equipment.

Why do you wish to do this?

 

Thanks for the information 

I just practiced and arise this question 

Review Cisco Networking for a $25 gift card