

I recently need to deploy BGP EVPN and it was expensive to use devices like juniper and cisco.
I used “FRRouting” that is open-source and free for use. FRR command line is very similar to cisco CLI but creating interface VLAN, NVE and VRF should be done in Linux itself.
To simulate FRR you can use GNS-3, I have found this link helpful in this case: https://www.gns3.com/marketplace/appliances/frr
Here is configurations related to creating a VXLAN interface, adding VXLAN and eth1 to the bridge interface. These settings are done in the Linux environment.
FRR1:
ip link add br0 type bridge
ip link set dev br0 up
ip link add vxlan11 type vxlan id 111 dstport 4789
ip link set dev vxlan11 up
brctl addif br0 vxlan11
brctl addif br0 eth1
FRR2:
ip link add br0 type bridge
ip link set dev br0 up
ip link add vxlan11 type vxlan id 111 dstport 4789
ip link set dev vxlan11 up
brctl addif br0 vxlan11
brctl addif br0 eth1
Now we can configure BGP VPN which is completely the same as cisco CLI:
FRR1:
router bgp 1
neighbor 1.1.1.1 remote-as 1
neighbor 1.1.1.1 update-source lo
address-family l2vpn evpn
neighbor 1.1.1.1 activate
advertise-all-vni
exit-address-family
FRR2:
router bgp 1
neighbor 1.1.1.2 remote-as 1
neighbor 1.1.1.2 update-source lo
address-family l2vpn evpn
neighbor 1.1.1.2 activate
advertise-all-vni
exit-address-family
You can find the code thoroughly in below link:
https://github.com/HamidHosseini74/BGP-EVPN-FRR
References:
https://frrouting.org/doc/
https://www.youtube.com/watch?v=Ek7kFDwUJBM
https://man7.org/linux/man-pages/man8/ip-link.8.html
1 comment. Leave new
Well Done, this article was very useful.
thanks.