CCNA, CCDA, CCNP, CCDP, CCIP, CCVP and CCIE
As far as my understanding goes -- Assume that all the Host_1 and Host_2 are in same subnet (L-3)-- Host_1 send frame to Switch -- when ping to Host_2 IP address-- Switch look into the MAC address table (MAC address table for each VLAN is maintained in the Switch)-- It will not find.. the packet will broadcast within same broadcast domain (VLAN 2) but will not cross to VLAN 5 Hence communication would NOT be possible in the given scenario... If all the ports are in VLAN 2 (assumption that BPDU and other precautions are taken care of) then Ping from Host_1 and Host_2 would be possible. Eventhough you configured the trunk between two switches and Host_2 connected to port with VLAN5 the communication will not happen..
hi Ganesh, you mentioned that "the packet will broadcast within same broadcast domain (VLAN 2) but will not cross to VLAN 5". why exactly do you think this might not happen? if you look at the diagram, a broadcast packet exiting Sw_A from VLAN2 port Gi0/1 can reach Sw_B VLAN5 port Gi0/1. don you think so? packets exiting all Sw_1 VLAN2 ports are untagged, so they are acceppted at Sw_2 as packets from HOST_1. in that case Sw_A will have a MAC address table as: MACPORTVLANHOST_1Fa0/12HOST_2Gi0/12 please explain to me if this is incorrect. thanks,uddika