In order to use a sub-interface on a loopback interface as BVI of a BD, the 
sub-interface should be placed in a BD and the IP address configured on the 
sub-interface (in your case, sub-interface with VLAN tag 50 and not the main 
interface).  The sub-interface must be configured as an exact match VLAN 
sub-interface (thus expect packets contain a VLAN tag of ID 50 in your case) 
and all packets received and forwarded in the BD must have one VLAN tag of ID 
50, matching that of the BVI sub-interface VLAN.   –John

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Gudimetla, Leela 
Sankar
Sent: Thursday, March 22, 2018 3:35 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Is IRB feature fully functional?

Hi,

I am trying to configure IRB/BVI feature and see if it works.
I am doing the configuration as per the instructions given in 
‘https://wiki.fd.io/view/VPP/Command-line_Interface_(CLI)_Guide#IRB.2FBVI’.

Instead of configuring a route as per the link, I am configuring an IP address 
on BVI interface.
And I am configuring a sub-interface with vlan-id 50 and attaching it to the 
same bridge-domain.

I am doing the similar configuration on the other box and trying to ping.
But the ARP REQ packets are getting dropped saying that the ‘Interface is not 
IP enabled’. I see that the sub-interface is not in L3 mode since it is 
attached to the bridge. But since the bridge is ‘flood’ enabled, I expect the 
ARP REQ should get flooded and the loop-back interface should respond.

And I also see that there is no command similar to ‘bridge <no> route ip’ to 
enable routing and bridging.

Please let me know that attaching sub-interface to the bridge for IRB is 
supported.
And also please let me know if I am missing anything.

Thanks,
Leela sankar

Reply via email to