FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.33k stars 1.25k forks source link

Frr 7.0 EVPN L3 vni problem in Ubuntu server 18.04 #4474

Closed wangbaishi closed 3 years ago

wangbaishi commented 5 years ago

I am testing Frr in a setup like this: ce1 -- Frr -- R1 -- R2 -- ce2 I am sending traffic packets from ce2 to ce1 after R2 have received type 5 routes from Frr. The problem is that packets did not get forwarded to ce1 from Frr even though tcpdump shows that packets have arrived at the vxlan interface, but some how it did not get forwarded to the vrf interface. Did I get something wrong? Thanks in advance.

Here is my Linux commands: ip link add vrf 1 type vrf table 123 ip link set ens6 master vrf1 ifconfig vrf1 up ip link add vxlan100 type vxlan id 100001 dstport 4789 local 10.10.10.9 ip link set dev vxlan100 up brctl addbr br100 brctl addif br100 vxlan100 ip a add 10.10.10.94/24 dev br100 ip link set dev br100 up

Here is my bgp configuration: vrf vrf1 vni 100001 exit-vrf router bgp 100 vrf vrf1 neighbor 182.10.12.2 remote-as 150 ! address-family ipv4 unicast redistribute static route-map static-ospf6 exit-address-family ! address-family l2vpn evpn advertise ipv4 unicast route-target import 100:1 route-target export 100:1 exit-address-family ! router bgp 100 bgp router-id 10.10.10.9 neighbor 1.1.1.9 remote-as 100 neighbor 1.1.1.9 update-source lo ! address-family ipv4 unicast redistribute connected exit-address-family ! address-family l2vpn evpn neighbor 1.1.1.9 activate neighbor 1.1.1.9 next-hop-self vni 100001 rd 10.10.10.9:11 route-target import 100:1001 route-target export 100:1001 exit-vni exit-address-family !

ton31337 commented 4 years ago

@wangbaishi still relevant?