Created
February 15, 2018 09:20
-
-
Save sridhargaddam/9330fecaef7b3cde414375bb91706130 to your computer and use it in GitHub Desktop.
CumulusConfig-EVPNWithODL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File /etc/network/interfaces | |
----------------------------- | |
# Loopback interface | |
auto lo | |
iface lo inet loopback | |
address 2.2.2.2/32 | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet dhcp | |
# Uplink | |
#auto swp1 | |
#iface swp1 | |
# Bridge to Hosts | |
auto swp2 | |
iface swp2 | |
auto bridge | |
iface bridge | |
bridge-ports swp2 vni-5000 vni-10001 | |
bridge-vids 1 4001 | |
bridge-vlan-aware yes | |
bridge-pvid 1 | |
auto vni-5000 | |
iface vni-5000 | |
bridge-access 4001 | |
mstpctl-bpduguard yes | |
mstpctl-portbpdufilter yes | |
vxlan-id 5000 | |
vxlan-local-tunnelip 2.2.2.2 | |
auto vni-10001 | |
iface vni-10001 | |
bridge-access 1 | |
mstpctl-bpduguard yes | |
mstpctl-portbpdufilter yes | |
vxlan-id 10001 | |
vxlan-local-tunnelip 2.2.2.2 | |
File: /etc/frr/frr.conf | |
----------------------- | |
frr version 3.2+cl3u1 | |
frr defaults datacenter | |
hostname cumulus2 | |
username cumulus nopassword | |
! | |
service integrated-vtysh-config | |
! | |
log syslog | |
! | |
interface eth0 | |
ipv6 nd ra-interval 10 | |
no ipv6 nd suppress-ra | |
! | |
router bgp 64604 | |
bgp router-id 2.2.2.2 | |
coalesce-time 1050 | |
bgp bestpath as-path multipath-relax | |
neighbor 192.168.124.30 remote-as external | |
! | |
address-family ipv4 unicast | |
network 2.2.2.2/32 | |
exit-address-family | |
! | |
address-family l2vpn evpn | |
neighbor 192.168.124.30 activate | |
advertise-all-vni | |
vni 5000 | |
rd 100:100 | |
route-target import 100:100 | |
route-target export 100:100 | |
exit-address-family | |
! | |
line vty | |
! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment