servers/roles/proxmox/templates/frr.conf.j2
Timotej Lazar 0c1cc14e01 proxmox: add initial support for L2 VXLAN
I heard we like L2 so I put some L2 in our L3 so we can L2 as we L3 on L2.
2023-10-18 15:02:36 +02:00

37 lines
996 B
Django/Jinja

frr defaults datacenter
service integrated-vtysh-config
log syslog
# We only have the default route, so allow talking to BGP peers over it.
ip nht resolve-via-default
router bgp {{ hostvars[inventory_hostname].custom_fields.asn.asn }}
bgp bestpath as-path multipath-relax
neighbor fabric peer-group
neighbor fabric remote-as external
neighbor fabric capability extended-nexthop
{% for iface in hostvars[inventory_hostname].interfaces | selectattr('name', 'match', '^lan') %}
neighbor {{ iface.name }} interface peer-group fabric
neighbor {{ iface.name }} bfd
{% endfor %}
address-family ipv4 unicast
redistribute connected route-map loopback
neighbor fabric activate
exit-address-family
address-family ipv6 unicast
redistribute connected route-map loopback
neighbor fabric activate
exit-address-family
address-family l2vpn evpn
neighbor fabric activate
advertise-all-vni
exit-address-family
route-map loopback permit 1
match interface lo