hi,
please make it possible to configure bgp address-family l2vpn evpn.
frr has support for it. See bgp documentation
rherold | |
Mar 25 2019, 8:40 PM |
F497529: right-r1 | |
Mar 29 2020, 1:44 PM |
F497527: left-r1.txt | |
Mar 29 2020, 1:44 PM |
F497525: bottom.txt | |
Mar 29 2020, 1:44 PM |
F497489: l2vpn-evpn-scheme.png | |
Mar 29 2020, 1:44 PM |
F497528: rr.txt | |
Mar 29 2020, 1:44 PM |
F497526: left-r2.txt | |
Mar 29 2020, 1:44 PM |
F497524: right-r2 | |
Mar 29 2020, 1:44 PM |
hi,
please make it possible to configure bgp address-family l2vpn evpn.
frr has support for it. See bgp documentation
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In progress | FEATURE REQUEST | None | T3355 Remove all remaining legacy Vyatta code | ||
Resolved | c-po | T2175 Rewriting all FRR processes allow for reloading and to XML/Python style | |||
Resolved | FEATURE REQUEST | c-po | T2174 Rewrite protocol BGP to new XML/Python style | ||
Resolved | FEATURE REQUEST | c-po | T1315 Allow BGP to use address-family l2vpn evpn | ||
Resolved | FEATURE REQUEST | c-po | T2172 Enable conf VXLAN without remote address | ||
Resolved | FEATURE REQUEST | c-po | T3391 Add CLI support for specifying maximum-paths per address family ipv4 unicast and ipv6 unicast |
I created a network diagram for "l2vpn evpn" implementation.
I used this instruction vxlan-bgp-vpn
Each VTEP opens a BGP session with central Route-Reflector (RR), sends its information (MACs and VNIs) and receives others.
On RR we use the feature "bgp listen range 22.22.22.0/24 peer-group fabric". Therefore, we don't need to configure each neighbor, they have connected via BGP automatically.
Because At this stage, the VyOS doesn't support all the necessary commands, some of them are loaded from the "/config/scripts/vyos-postconfig-bootup.script".
These are mainly such commands:
sudo ip link add vxlan14 type vxlan id 14 dstport 8472 local 22.22.22.5 nolearning vtysh -c "conf t" -c "router bgp 65001" -c " address-family l2vpn evpn" -c " neighbor fabric activate" -c " advertise-all-vni "
In the configuration, I don't use default routes.
Router configurations below.
So we can ping from VPC11 = > VPC12
l-11> ping 10.11.11.102 -c 3 84 bytes from 10.11.11.102 icmp_seq=1 ttl=64 time=3.777 ms 84 bytes from 10.11.11.102 icmp_seq=2 ttl=64 time=3.134 ms 84 bytes from 10.11.11.102 icmp_seq=3 ttl=64 time=3.109 ms l-11>
Show routes from "left-r1":
left-r1# show ip bgp l2vpn evpn neighbors 22.22.22.254 routes BGP table version is 5, local router ID is 22.22.22.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: ip 22.22.22.2:2 *>i[3]:[0]:[32]:[22.22.22.2] 22.22.22.2 0 100 0 i RT:65001:14 ET:8 *>i[2]:[0]:[48]:[00:50:79:66:68:0c] 22.22.22.3 0 100 0 i RT:65001:11 ET:8 *>i[3]:[0]:[32]:[22.22.22.3] 22.22.22.3 0 100 0 i RT:65001:11 ET:8 Route Distinguisher: ip 22.22.22.4:2 *>i[3]:[0]:[32]:[22.22.22.4] 22.22.22.4 0 100 0 i RT:65001:12 ET:8 Route Distinguisher: ip 22.22.22.5:2 *>i[3]:[0]:[32]:[22.22.22.5] 22.22.22.5 0 100 0 i RT:65001:14 ET:8 Displayed 5 out of 8 total prefixes left-r1#
left-r1# show evpn vni VNI Type VxLAN IF # MACs # ARPs # Remote VTEPs Tenant VRF 12 L2 vxlan12 1 1 1 default 11 L2 vxlan11 1 1 1 default left-r1# show evpn vni 11 VNI: 11 Type: L2 Tenant VRF: default VxLAN interface: vxlan11 VxLAN ifIndex: 8 Local VTEP IP: 22.22.22.1 Mcast group: 0.0.0.0 Remote VTEPs for this VNI: 22.22.22.3 flood: HER Number of MACs (local and remote) known for this VNI: 1 Number of ARPs (IPv4 and IPv6, local and remote) known for this VNI: 1 Advertise-gw-macip: No
If someone has experience in this or uses a different scheme, please contact.