When I create vxlan tunnel in VPP, loop1 and add them to bridge-domain,  I 
dont't see mac/ip routes adv to the remote VTEP. But If I do same steps in 
linux kernal that seems to work fine and mac/ip routes are adv to remote VTEP 
as expected.  Can you please let me know why VPP is not working int this case ? 
FRR is similar for both the scenerios.

ubuntu 20.04
vpp v22.06-rc0~79-g48bdf24ad
FRRouting (version 8.1)

On VPP

=======

create vxlan tunnel src 172.16.1.1 dst 172.31.100.2 vni 15013

lcp create vxlan_tunnel0 host-if vxlan15013

create loopback interface instance 0

lcp create loop0 host-if loop0

set interface state loop0 up

create bridge-domain 15013 learn 1 forward 1 flood 1 arp-term 0 bd-tag bd-15013

set interface l2 bridge loop1 15013

set interface l2 bridge vxlan_tunnel0 15013

vpp# show bridge-domain 15013 detail

BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  
ARP-Term  arp-ufwd Learn-co Learn-li   BVI-Intf

15013     1      0     off        on        on       flood        on       off  
     off        1    16777216     N/A

Interface           If-idx ISN  SHG  BVI  TxFlood        VLAN-Tag-Rewrite

tap8                11    1    0    -      *                 none

vxlan_tunnel0           10    1    0    -      *                 none

loop1               14    1    0    -      -                 none

vpp# *show vxlan tunnel*

[0] instance 0 src 172.16.100.229 dst 172.31.1.1  src_port 4789 dst_port 4789 
vni 15013 fib-idx 0 sw-if-idx 10 encap-dpo-idx 0 l3 0

vpp# show evpn mac vni 15013

vpp#

On Linux Kernal

=============

sudo ip netns exec dataplane ip link add vxlan15013 type vxlan id 15013 dstport 
4789 local 172.16.1.1 nolearning

sudo ip netns exec dataplane brctl addbr br15013

sudo ip netns exec dataplane brctl addif br15013 vxlan15026

sudo ip netns exec dataplane brctl stp br15013 off

sudo ip netns exec dataplane brctl addif br15013 loop1

sudo ip netns exec dataplane ip link set up dev br15013

sudo ip netns exec dataplane brctl show

bridge name        bridge id                STP enabled              interfaces

br15013                8000.56d6dcd7f60a        no                loop1

vxlan15013

show evpn mac vni 15013

Number of MACs (local and remote) known for this VNI: 1

Flags: N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy

MAC               Type   Flags Intf/Remote ES/VTEP            VLAN  Seq #'s

56:d6:dc:d7:f6:0a local        br15013                        1     0/0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20910): https://lists.fd.io/g/vpp-dev/message/20910
Mute This Topic: https://lists.fd.io/mt/89374653/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to