suppose we have 3 switches that are connected to a router , and we have 3 VLans defined on each switch.
VLan1 connected Hosts are in the range 192.168.1.0/24
VLan2 connected Hosts are in the range 192.168.2.0/24
VLan3 connected Hosts are in the range 192.168.3.0/24
switch A --> Has VLan1,VLan2 and VLan3 .
switch B --> Has VLan1,VLan2 and VLan3 .
switch C --> Has VLan1,VLan2 and VLan3 .
suppose that a host that is connected to switch A through a port that is in VLan1 sent data to a host that is connected to switch C through a port that is in VLan2 . How will the router know on which interface he must forward the data to ?? each interface is connected to a switch that has VLAN2 ??
Does the router - in this situation - keeps the information in its routing table per host ??
I mean , for example :
192.168.2.1 via interface 1
192.168.2.2 via interface 2
192.168.2.3 via interface 3 and so on ..
or does it forward data on each interface??
See this image for more explanation:
https://www.tntup.com/photo/view7.ph...913154d3b83ede
Hope i cleared my Question
Thanks in advance
المفضلات