Re: [vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev

2022-02-25 Thread Pim van Pelt
Hoi Suresh,

As I said - it is *not* implemented. The things that VPP's Linux CP plugin
support are:
- create interface in Linux (lcp create)
- copy forward IP addresses, link state and MTU values from VPP to Linux
- copy forward routes, IP addresses, link state and MTU values from Linux
into VPP

To answer your question more explicitly: It *does not* implement creation
or synchronization of bridge-domains from VPP to Linux, and it *does not*
implement creation or synchronization of Linux bridges into VPP.
Contributions for your use case in VPP are, of course, welcome.

groet,
Pim

On Fri, Feb 25, 2022 at 10:34 PM suresh vuppala  wrote:

> Hi Pim,
>
>   Thanks for the response. Is evpn auto-creating the bridge for Linux, and
> plumbing it through to FRR functionality supported currently on VPP code ?
> if Yes can you point me to the steps to achieve this
>
> Thanks,
> Suresh
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20920): https://lists.fd.io/g/vpp-dev/message/20920
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev

2022-02-25 Thread suresh vuppala
Hi Pim,

Thanks for the response. Is evpn auto-creating the bridge for Linux, and 
plumbing it through to FRR functionality supported currently on VPP code ? if 
Yes can you point me to the steps to achieve this

Thanks,
Suresh

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20919): https://lists.fd.io/g/vpp-dev/message/20919
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev

2022-02-25 Thread Pim van Pelt
Hoi,

The bridge you created on the Linux side is not the same bridge as the one
you created in VPP. You should expect inconsistent/undetermined behavior,
because the functionality you seek (evpn auto-creating the bridge for
Linux, and plumbing it through to FRR) is not implemented.

groet,
Pim

On Fri, Feb 25, 2022 at 7:34 PM suresh vuppala  wrote:

> Can someone please help out here.
>
> Just to make things work using VPP as the way kernal works, I created a BD
> in VPP but I dont see lcp cli for BD so Linux learns about the bridge?
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20917): https://lists.fd.io/g/vpp-dev/message/20917
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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev

2022-02-25 Thread suresh vuppala
Can someone please help out here.

Just to make things work using VPP as the way kernal works, I created a BD in 
VPP but I dont see lcp cli for BD so Linux learns about the bridge?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20916): https://lists.fd.io/g/vpp-dev/message/20916
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]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] EVPN mac/IP routes are advertised when tunnel in created on kernal but not working when vxlan tunnel is on VPP #vpp-dev

2022-02-24 Thread suresh vuppala
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 namebridge idSTP enabled      interfaces

br150138000.56d6dcd7f60anoloop1

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]
-=-=-=-=-=-=-=-=-=-=-=-