Hi,
We are interested in understanding if we can learn mac address on a per VLAN
basis in VPP.
If an interface 'X' is part of VLAN 100, and interface 'Y' is part of VLAN 200
A host 'H' with mac "00:10:94:00:00:33" is behind a switch, ports of which are
part of both VLAN 100 and VLAN 200.
Mac should be learnt for host 'H' on both VLAN's 100 and 200.
Traffic shall be forwarded to host based on the VLAN.
In the current implementation, by default the mac is learnt on the last learnt
interface
DBGvpp# show l2fib verbose
Mac-Address BD-Idx If-Idx BSN-ISN Age(min) static filter bvi
Interface-Name
08:00:27:aa:bb:21 1 4 0/1 - - - -
GigabitEthernet0/8/0.100
L2FIB total/learned entries: 1/1 Last scan time: 0.0000e0sec Learn limit:
4194304
DBGvpp# l2fib add 08:00:27:aa:bb:21 100 GigabitEthernet0/9/0.100
DBGvpp# show l2fib verbose
Mac-Address BD-Idx If-Idx BSN-ISN Age(min) static filter bvi
Interface-Name
08:00:27:aa:bb:21 1 3 0/0 - - - -
GigabitEthernet0/9/0.100
L2FIB total/learned entries: 1/0 Last scan time: 0.0000e0sec Learn limit:
4194304
Expected Table:
Table shall look something like below
Mac-Address BD-Idx If-Idx BSN-ISN Age(min) static filter bvi
Interface-Name
00:10:94:00:00:33 1 4 0/0 - - - -
GigabitEthernet0/8/0.100
00:10:94:00:00:33 1 3 0/0 - - - -
GigabitEthernet0/9/0.200
L2FIB total/learned entries: 2/2 Last scan time: 0.0000e0sec Learn limit:
4194304
Regards,
Subramanya
Radisys