I got 2 VLANs: eth0.1, eth0.2 in a bridge br0 eth0.1 receives packages and learns the remote MAC addresses however eth0.2 never receives any pkgs from the same hosts as eth0.1 Looking into the bride one can see that the bridge has not learned any MAC addresses over eth0.2 so I cannot send any pkgs back to the host over eth0.2(except broadcast). Is this expected? I had hoped that the MAC learning in the bridge was global so any MACs learned over eth0.1 could be used by eth0.2 too. Jocke
Joakim Tjernlund <joakim.tjernlund at transmode.se> writes:> Is this expected? I had hoped that the MAC learning in the bridge was global > so any MACs learned over eth0.1 could be used by eth0.2 too.eth0.1 and eth0.2 are entirely separate interfaces. The behaviour is exactly the same whether you use two VLAN's or two physical interfaces. Imagine replacing eth0.1 with eth1 and eth0.2 with eth2. If a certain MAC address is learned on eth1, it would be wrong to send packets destined for that MAC address through eth2. That's pretty much the point of bridging. /Benny