[bird] Use Bird to do BGP with Zayo and Crans
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
9ff166b1b7
commit
6f4c39dbd8
10 changed files with 116 additions and 322 deletions
|
@ -24,7 +24,7 @@
|
||||||
- hosts: ~routeur-aurore.*\.adm\.auro\.re
|
- hosts: ~routeur-aurore.*\.adm\.auro\.re
|
||||||
roles:
|
roles:
|
||||||
- router
|
- router
|
||||||
- ipv6_edge_router
|
- bird
|
||||||
|
|
||||||
# Radius (backup only for now)
|
# Radius (backup only for now)
|
||||||
- hosts: radius-*.adm.auro.re
|
- hosts: radius-*.adm.auro.re
|
||||||
|
|
8
roles/bird/handlers/main.yml
Normal file
8
roles/bird/handlers/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
- name: Reload Bird
|
||||||
|
systemd:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: reloaded
|
||||||
|
loop:
|
||||||
|
- bird
|
||||||
|
- bird6
|
28
roles/bird/tasks/main.yml
Normal file
28
roles/bird/tasks/main.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
- name: Install Bird
|
||||||
|
apt:
|
||||||
|
name: bird
|
||||||
|
update_cache: true
|
||||||
|
register: apt_result
|
||||||
|
retries: 3
|
||||||
|
until: apt_result is succeeded
|
||||||
|
|
||||||
|
- name: Configure Bird
|
||||||
|
template:
|
||||||
|
src: "bird/{{ item }}.conf.j2"
|
||||||
|
dest: "/etc/bird/{{ item }}.conf"
|
||||||
|
owner: bird
|
||||||
|
group: bird
|
||||||
|
mode: '0600'
|
||||||
|
loop:
|
||||||
|
- bird
|
||||||
|
- bird6
|
||||||
|
notify: Reload Bird
|
||||||
|
|
||||||
|
- name: Start Bird
|
||||||
|
systemd:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: started
|
||||||
|
loop:
|
||||||
|
- bird
|
||||||
|
- bird6
|
39
roles/bird/templates/bird/bird.conf.j2
Normal file
39
roles/bird/templates/bird/bird.conf.j2
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
log syslog all;
|
||||||
|
|
||||||
|
router id 45.66.111.254;
|
||||||
|
|
||||||
|
# Zayo
|
||||||
|
listen bgp address 83.167.52.69 port 179;
|
||||||
|
# Crans
|
||||||
|
listen bgp address 185.230.77.253 port 179;
|
||||||
|
|
||||||
|
protocol kernel {
|
||||||
|
scan time 60;
|
||||||
|
import none;
|
||||||
|
export filter {
|
||||||
|
if ( net ~ [ 45.66.108.0/22 ] ) then reject;
|
||||||
|
accept;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
protocol device {
|
||||||
|
scan time 60;
|
||||||
|
};
|
||||||
|
|
||||||
|
protocol static {
|
||||||
|
route 45.66.108.0/22 reject;
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol bgp zayo {
|
||||||
|
local as 43619;
|
||||||
|
neighbor 83.167.52.68 as 8218;
|
||||||
|
import all;
|
||||||
|
export all;
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol bgp crans {
|
||||||
|
local as 43619;
|
||||||
|
neighbor 185.230.77.254 as 204515;
|
||||||
|
import all;
|
||||||
|
export all;
|
||||||
|
}
|
40
roles/bird/templates/bird/bird6.conf.j2
Normal file
40
roles/bird/templates/bird/bird6.conf.j2
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
router id 45.66.111.254;
|
||||||
|
|
||||||
|
# Zayo
|
||||||
|
listen bgp address 2001:1b48:2:103::d7:2 port 179;
|
||||||
|
# Crans
|
||||||
|
listen bgp address 2a0c:700:2001::1 port 179;
|
||||||
|
|
||||||
|
log syslog all;
|
||||||
|
|
||||||
|
protocol kernel {
|
||||||
|
persist;
|
||||||
|
scan time 60;
|
||||||
|
import none;
|
||||||
|
export filter {
|
||||||
|
if ( net ~ [ 2a09:6840::/29 ] ) then reject;
|
||||||
|
accept;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol device {
|
||||||
|
scan time 60;
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol static {
|
||||||
|
route 2a09:6840::/29 reject;
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol bgp zayo {
|
||||||
|
local as 43619;
|
||||||
|
neighbor 2001:1b48:2:103::d7:1 as 8218;
|
||||||
|
import all;
|
||||||
|
export all;
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol bgp crans {
|
||||||
|
local as 43619;
|
||||||
|
neighbor 2a0c:700:2001::2 as 204515;
|
||||||
|
import all;
|
||||||
|
export all;
|
||||||
|
}
|
|
@ -1,186 +0,0 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFvRo7oBEADH/lEeQBaRW4Lpmzhpn7W53hhMUefgj1bJ7ISpMC3qOlgSIeof
|
|
||||||
sQjZ5Hr0RHxz5bRVRtcOhPhKRvL0wCmTpROvKBVyrOHDn4AAh+D7bqhzrEZezJwu
|
|
||||||
on2fBRA5prT97r99WKpIPjyqeKHWY3GsbkKMYAcFMGNwYZudEm9bqFaZ9F1CX96i
|
|
||||||
VHTArZiZZgPPycOW6fZzrdPDa5/07WA4tJ4PXnMFEd3bLpRDW/t46XqBeNOitBcN
|
|
||||||
TrRY7LY/rLnfAUfTWlQVm1wb5gl1E0e4LDlaAysqZCVDriAUwNzk9aRnLQw14h18
|
|
||||||
af3sIi649fQ/uv/JwQ9hc1os/gu23N4wKSwSvQGYo3V6oqbxkhIQ5TR0MgXIxfF9
|
|
||||||
LoSFgnrXvUpUc+V4qXJJV+hLbTEoAKrHaON0f7BQHAiTsKB1R7FLVCMFIRtuZ1RD
|
|
||||||
iUCL9jFFXmAikHsTUFE2EOCW7+kqRSQ5ICu3IqMbXXA1dHz4tN2ji5LPZ4OKh/1O
|
|
||||||
zZQCBev4IZ3KWibFZwNxDwWFSoFQeuNKnVujsfR31SuFRWmASqZGGpN/Jr+zVNsb
|
|
||||||
iUXUBrnSj8PXYs1zSLrfVVlaga6EI29o5ozUweZDvn5Vn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Oa3sNV+FnsaQARAQABiQI2
|
|
||||||
BBgBCAAgFiEEPZlorJrnvhFpKI3bH9WDmJX1f9oFAlvRpAsCGwwACgkQH9WDmJX1
|
|
||||||
f9p6+Q/+N97F+PW383hTi84JMyiQsX0mJrvDjt5hkkdN+7u0tUNL0l3AACQ7b85/
|
|
||||||
ofJsGnfh8kYlB2nCP+gaNQU03qqbcyMLHsuwB+ULG0izbREb7aK02RBluFpIbgdV
|
|
||||||
rFrgrUkLiSsuQLdReQYRTP1tU0peosBPxhhb1alAGhkPebWx+MLlbtiyg/j4pu8+
|
|
||||||
oFirrJ5WEltamGt8OSbdLGNS22PuwxV8VDo/Xbi57P1VBglCpgG1nWDEN8+i5nHh
|
|
||||||
8OKWZmvRhih1F89BR7U14OET+EENrZd8YRF2KOvOAM0eR1aIK/AilbINVZV0girt
|
|
||||||
B/rYFhwi9i7Fyo3gEtPRRZpzcQ7V0VZiBlpEAbjgqwe1XDVNJYquM7E4S2jBidR6
|
|
||||||
XJaYQImiwzMcyFopZZgD0F46xSI3O8zZp21g7Dq4pv6wRXGU+L639u+X5INDtJ7s
|
|
||||||
kykwrYzmeGg/Mp0Mseiqq7iIJXrbP4dL1+Ck9alSGCe0p5vd3CIeBR3pFeSDG6yI
|
|
||||||
2DiRzDfzbkIuUdIOAjXWjIl+XWfsFc/Znnux3UcAGec4Nhe3JvKEy5keDpXZGSaZ
|
|
||||||
JaFJ3WJl8uQfJjO8n8M+P2lxmrpaErqkMk0+SC3DcSSZFEDigD6flMvfdVnOqdLa
|
|
||||||
R1K6skDZkO+PQYqSydf9erO6+YgEjJB0/uCMXgHDVsmO3uKLOTg=
|
|
||||||
=IWDv
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFyFXCQBEADengbfRCSixqjsBj7hnRsjDMihbgfolZe4asVd/JNh4xWqs5+z
|
|
||||||
Q+vZUNwluJa6hYrgFW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||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFyVPosBEADMyAbmmfo6x7e/dly+yQk1BuWUDbvMHFX9coCSItNxVvvIVzYJ
|
|
||||||
Bw9pp4kJsTeqTI1cNQcCCjaeWbWevINCD5yFGN25xNPz2s1lgHCpJQzs/1qMKuE8
|
|
||||||
vrHkEpJZTrdPSl8J8VdjQDCIh0NrLss1VzoPpFbm7lIkuN/6tl87hsyUyedd/0bY
|
|
||||||
KkNVZfOW4UAjJFWQakofhTVifHqozb6wu+SYtPFnP/yBJdsYwrKlyyhR8hIIjyAK
|
|
||||||
sxpKz6Dym6tHoDNLIcPy1Q3uNUaYdN2pXXRqzLTIKq7M7RhgY1W7QO7VFtkaG74j
|
|
||||||
tmjbJYsX6nBGSlGE5cmlSz8N+D+uR/0NPMvgKOwI38joIT5/Sii/jgZUuX4Mz9Zk
|
|
||||||
7Rh/C+P906dJpjbCbEPYSxVnZC4fHJZ0ezSEgrFKZ4QGoViNJEcc6jwNkgTM7jdz
|
|
||||||
0e/xMKu4Ed30jLO7TvnwmcGWF/m2DZIgIMu9rhNHUaKeGRKo+Daf/x1naRbht/a/
|
|
||||||
uSyukGJA5koipy8XxmJorx7MdIa9ekYPJaHM3eOcE1fxn7IcOwoqn0piB4lllq2r
|
|
||||||
akLif195eFIcdI/cRfCX2fgQxBbgAAolUCqguJfus7cQCkn9Fr0cDgq7c0s0dQEw
|
|
||||||
0kofqGUq6/fpdqxadRdPlYXS3BIvrWA99zOVCzxaccvKaMZxaKauc/rKbQARAQAB
|
|
||||||
tDNKYWZhciBBbC1HaGFyYWliZWggKGxhdW5jaHBhZCkgPHRvLmphZmFyQGdtYWls
|
|
||||||
LmNvbT6JAk4EEwEKADgWIQSpD8NtlClAl5jpwth03u1DqxlNvwUCXJU+iwIbAwUL
|
|
||||||
CQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRB03u1DqxlN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7PaJCM8qrFtkWlu
|
|
||||||
cYntgBhLW1KY9dWkCtZ7ML70n8FyIyHMD35mZb3lw+c1dBusuwGwZLSksH9ucOQz
|
|
||||||
Zh3+rlZ8PkYXXosKTkp9qBDVoSgNU5AH8F+K/Uw1uVm+JqqFP/ieQQydS8wAVYAv
|
|
||||||
ax/ZP+wTHhLvmHUoI70K51osk+sLcFh+h9L6sK+kq9i2mrJs/d2Sk6jau96RJCFe
|
|
||||||
pHI+29yZoK5ZpOkvFAFvbNXMFd2sn5O60y9LAvr9u2QRNlTvmQ7B1o2/US62SoD4
|
|
||||||
HGxIKIAggOUujclydhvu
|
|
||||||
=+/L/
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
- name: restart frr
|
|
||||||
service:
|
|
||||||
name: frr
|
|
||||||
state: restarted
|
|
|
@ -1,39 +0,0 @@
|
||||||
---
|
|
||||||
- name: install GPG
|
|
||||||
apt:
|
|
||||||
name: gnupg
|
|
||||||
|
|
||||||
- name: Add FRR repo key
|
|
||||||
apt_key:
|
|
||||||
data: "{{ lookup('file', 'frr-apt-key.asc') }}"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Add FRR apt repository
|
|
||||||
apt_repository:
|
|
||||||
repo: deb https://deb.frrouting.org/frr buster frr-stable
|
|
||||||
state: present
|
|
||||||
notify: restart frr
|
|
||||||
|
|
||||||
- name: Install frr
|
|
||||||
apt:
|
|
||||||
name: frr
|
|
||||||
|
|
||||||
- name: setup frr daemons
|
|
||||||
template:
|
|
||||||
src: daemons.j2
|
|
||||||
dest: /etc/frr/daemons
|
|
||||||
mode: 0644
|
|
||||||
notify: restart frr
|
|
||||||
|
|
||||||
- name: setup frr.conf
|
|
||||||
template:
|
|
||||||
src: frr.conf.j2
|
|
||||||
dest: /etc/frr/frr.conf
|
|
||||||
mode: 0644
|
|
||||||
notify: restart frr
|
|
||||||
|
|
||||||
- name: enable+start frr
|
|
||||||
service:
|
|
||||||
name: frr
|
|
||||||
state: started
|
|
||||||
enabled: true
|
|
|
@ -1,67 +0,0 @@
|
||||||
# This file tells the frr package which daemons to start.
|
|
||||||
#
|
|
||||||
# Sample configurations for these daemons can be found in
|
|
||||||
# /usr/share/doc/frr/examples/.
|
|
||||||
#
|
|
||||||
# ATTENTION:
|
|
||||||
#
|
|
||||||
# When activation a daemon at the first time, a config file, even if it is
|
|
||||||
# empty, has to be present *and* be owned by the user and group "frr", else
|
|
||||||
# the daemon will not be started by /etc/init.d/frr. The permissions should
|
|
||||||
# be u=rw,g=r,o=.
|
|
||||||
# When using "vtysh" such a config file is also needed. It should be owned by
|
|
||||||
# group "frrvty" and set to ug=rw,o= though. Check /etc/pam.d/frr, too.
|
|
||||||
#
|
|
||||||
# The watchfrr and zebra daemons are always started.
|
|
||||||
#
|
|
||||||
{% if 'backup' in inventory_hostname %}
|
|
||||||
bgpd=no
|
|
||||||
{% else %}
|
|
||||||
bgpd=yes
|
|
||||||
{% endif %}
|
|
||||||
ospfd=no
|
|
||||||
ospf6d=no
|
|
||||||
ripd=no
|
|
||||||
ripngd=no
|
|
||||||
isisd=no
|
|
||||||
pimd=no
|
|
||||||
ldpd=no
|
|
||||||
nhrpd=no
|
|
||||||
eigrpd=no
|
|
||||||
babeld=no
|
|
||||||
sharpd=no
|
|
||||||
pbrd=no
|
|
||||||
bfdd=no
|
|
||||||
|
|
||||||
#
|
|
||||||
# If this option is set the /etc/init.d/frr script automatically loads
|
|
||||||
# the config via "vtysh -b" when the servers are started.
|
|
||||||
# Check /etc/pam.d/frr if you intend to use "vtysh"!
|
|
||||||
#
|
|
||||||
vtysh_enable=yes
|
|
||||||
zebra_options=" -A 127.0.0.1 -s 90000000"
|
|
||||||
bgpd_options=" -A 127.0.0.1"
|
|
||||||
ospfd_options=" -A 127.0.0.1"
|
|
||||||
ospf6d_options=" -A ::1"
|
|
||||||
ripd_options=" -A 127.0.0.1"
|
|
||||||
ripngd_options=" -A ::1"
|
|
||||||
isisd_options=" -A 127.0.0.1"
|
|
||||||
pimd_options=" -A 127.0.0.1"
|
|
||||||
ldpd_options=" -A 127.0.0.1"
|
|
||||||
nhrpd_options=" -A 127.0.0.1"
|
|
||||||
eigrpd_options=" -A 127.0.0.1"
|
|
||||||
babeld_options=" -A 127.0.0.1"
|
|
||||||
sharpd_options=" -A 127.0.0.1"
|
|
||||||
pbrd_options=" -A 127.0.0.1"
|
|
||||||
staticd_options="-A 127.0.0.1"
|
|
||||||
bfdd_options=" -A 127.0.0.1"
|
|
||||||
|
|
||||||
# The list of daemons to watch is automatically generated by the init script.
|
|
||||||
#watchfrr_options=""
|
|
||||||
|
|
||||||
# for debugging purposes, you can specify a "wrap" command to start instead
|
|
||||||
# of starting the daemon directly, e.g. to use valgrind on ospfd:
|
|
||||||
# ospfd_wrap="/usr/bin/valgrind"
|
|
||||||
# or you can use "all_wrap" for all daemons, e.g. to use perf record:
|
|
||||||
# all_wrap="/usr/bin/perf record --call-graph -"
|
|
||||||
# the normal daemon command is added to this at the end.
|
|
|
@ -1,24 +0,0 @@
|
||||||
log syslog informational
|
|
||||||
log stdout
|
|
||||||
|
|
||||||
hostname routeur-aurore
|
|
||||||
password Tux
|
|
||||||
enable password Tux
|
|
||||||
|
|
||||||
interface lo
|
|
||||||
line vty
|
|
||||||
|
|
||||||
|
|
||||||
# Aurore AS.
|
|
||||||
router bgp 43619
|
|
||||||
#no synchronization
|
|
||||||
bgp router-id 45.66.111.254
|
|
||||||
|
|
||||||
# Remote-AS: Zayo.
|
|
||||||
neighbor 2001:1b48:2:103::d7:1 remote-as 8218
|
|
||||||
address-family ipv6
|
|
||||||
network 2a09:6840::/29
|
|
||||||
neighbor 2001:1b48:2:103::d7:1 activate
|
|
||||||
exit-address-family
|
|
||||||
!
|
|
||||||
|
|
Loading…
Reference in a new issue