• Home
  • blog
  • about us
    • Our team
    • about us
    • contact us
  • Toolbox
Fa
۱

BGP EVPN with FRR

7 August 2021Hoseini Hamid RezaDatacenter, Public

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

Tags: BGP EVPN, FRR, VXLAN
Hoseini Hamid Reza
Hoseini Hamid Reza
سید حمید رضا حسینی با دو سال سابقه حرفه ای در حوزه های R&S and VOIP شبکه به عنوان یک متخصص در این زمینه ها شناخته می شود. تخصصی که حاصل تجارب عیب یابی و راه اندازی های متعدد در پروژه های مختلف می باشد.روحیه کار تیمی و یادگیری سریع مطالب به صورت خودآموز (self-study) از ویژگی های شخصیتی اوست.

1 comment. Leave new

Avatar
Sirous
22 August 2021 12:24 pm

Well Done, this article was very useful.
thanks.

Reply

Leave a Reply Cancel reply

Your email address will not be published.

Recent Posts

  • BGP EVPN with FRR
  • Automatic Turn off Debugger
  • Python script to create jabber phones
  • CRC Error check Script
  • vPC Types

Categories

  • Datacenter
  • Devnet-English
  • Public
  • Security
  • ِDevnet
default image
BGP EVPN with FRR

I recently need to deploy BGP EVPN and…


Read more
default image
Automatic Turn off Debugger

ِDebug command in cisco devices is one of…


Read more
default image
Python script to create jabber phones

Creating a Jabber in CUCM is a tedious…


Read more
default image
CRC Error check Script

The following script checks the CRC status of…


Read more
‹›
Homeabout usContact usblog
All rights reserved for IP Cafe © 2021