cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
0
Helpful
4
Replies

Different vlan has same subnet connection

Leftz
Level 4
Level 4

Hi Two switches SW1 and SW2 are connected with trunk together. vlan 10 with its ip address 10.10.10.1 is configured at SW1, and vlan 20 with ip address 10.10.10.2 is at SW2. How to let the two SW can ping each other if we do not change vlan? Thank you

4 Replies 4

how this happen two different VLAN for same subnet ? can you more elaborate?
I am sorry this is impossible (for me).

Hi

 You need inter vlan routing. You can do it on the switch,  if supported Layer3 or you can use a router on a stick with subinterface and dot1q

Leftz
Level 4
Level 4

Thanks for your reply.  SW1 ---------SW2 Two switches are connected with trunk. How to make SW1 ping SW2 without change vlan number? 

 

SW1:

vlan 10 ip add 10.10.10.1/24

 

SW2:

vlan 20 ip add 10.10.10.2/24

 

On SW1 add this to the trunk port - 

 

switchport trunk native vlan 10 

 

and on SW2 add this - 

 

switchport trunk native vlan 20 

 

note, this is presumably a lab test ie. you would not want to do this in production. 

 

Jon