Thanks John for quick response.
Yes. I placed sub-interface in the BD that the BVI is associated. My intention
is to keep L2 functionality (vlan edits, etc) intact and add L3 to it.
So this is what I am doing.
vpp# loopback create-interface
loop0
vpp# set interface state loop0 up
vpp# set interface mac address loop0 0000.0b51.0001
vpp# set interface l2 bridge loop0 5 bvi
vpp# set interface ip table loop0 0
vpp# set interface l2 learn loop0 disable
vpp# set interface ip address loop0 10.10.10.44/24
vpp#
vpp#
vpp#
vpp# create sub-interfaces GigabitEthernet5/0/0 50
GigabitEthernet5/0/0.50
vpp# set interface state GigabitEthernet5/0/0.50 up
vpp# set interface l2 bridge GigabitEthernet5/0/0.50 5
vpp#
I have similar configuration on the other box with the ip address configured on
the bvi in the same sub-net.
But the ping does not go through saying the below reason.
vpp# show errors
Count Node Reason
5 arp-input Interface is not IP enabled
vpp#
I think the IP address is to be configured on the loop-back interface (as it is
the bvi that connects the bridging domain and routing domain) and not on the
sub-interface ‘GigabitEthernet5/0/0.50’.
The APR REQs are getting received on the physical interface
‘GigabitEthernet5/0/0 and getting dropped on sub-interface.
vpp# show interface
Name Idx State Counter Count
GigabitEthernet5/0/0 3 up rx packets
5
rx bytes
300
drops
5
GigabitEthernet5/0/0.50 6 up
GigabitEthernet5/0/1 4 up
TenGigabitEthernet3/0/0 1 down
TenGigabitEthernet3/0/1 2 down
local0 0 down
loop0 5 up
vpp#
Should there be any configuration to enable routing on the BD? Like ‘bridge 1
route ip’ on cisco router.
Thanks,
Leela sankar
From: "John Lo (loj)" <[email protected]>
Date: Thursday, March 22, 2018 at 1:19 PM
To: Leela Gudimetla <[email protected]>, "[email protected]"
<[email protected]>
Subject: [**EXTERNAL**] RE: [vpp-dev] Is IRB feature fully functional?
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: [email protected] <[email protected]> On Behalf Of Gudimetla, Leela
Sankar
Sent: Thursday, March 22, 2018 3:35 PM
To: [email protected]
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