06-03-2022 12:55 PM - edited 06-03-2022 12:56 PM
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
06-03-2022 01:18 PM - edited 06-03-2022 01:35 PM
how this happen two different VLAN for same subnet ? can you more elaborate?
I am sorry this is impossible (for me).
06-03-2022 01:29 PM
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
06-03-2022 01:29 PM
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
06-03-2022 01:55 PM
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
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