05-03-2016 10:45 AM - edited 03-08-2019 05:36 AM
Hello,
Can someone please help me with the following situation:
Having 4 hosts (C1, C2, C3 and C4), C1 and C2 connected to SW1; C3, C4 connected to SW2; C1 and C3 in VLAN1; C2 and C4 in VLAN2.
Both SW1 and SW2 are connected through a trunk port.
If C2 sends ICMP Echo Request to C3, will C2 receive ICMP Echo Reply?
Thank you very much.
Solved! Go to Solution.
05-03-2016 03:00 PM
Hi!
No. They need a default-gateway which will route the packets to the other subnet. The two switches by itself will not be able to communicate.
This can be achieved with a router or as Reza said, using inter-vlan routing.
Hope it helps, best regards!
JC
05-03-2016 11:42 AM
Hi,
Yes, as long as inter-vlan routing is configured for vlan 1 and 2.
Here is doc for reference:
http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-121-mainline/12778-ping-traceroute.html
HTH
05-03-2016 03:00 PM
Hi!
No. They need a default-gateway which will route the packets to the other subnet. The two switches by itself will not be able to communicate.
This can be achieved with a router or as Reza said, using inter-vlan routing.
Hope it helps, best regards!
JC
05-04-2016 04:27 AM
If the switch is layer 2 only, the icmp won't get through because C2 and C3 reside on different vlans.
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