Switch ipv6_edge_router to quagga #8
3 changed files with 9 additions and 23 deletions
|
@ -6,18 +6,18 @@
|
|||
- name: Tweak sysctl for table size
|
||||
ansible.posix.sysctl:
|
||||
name: net.ipv6.route.max_size
|
||||
value: 500000
|
||||
value: '500000'
|
||||
sysctl_set: yes
|
||||
|
||||
- name: Setup Quagga configuration
|
||||
template:
|
||||
src: "{{ item }}.j2"
|
||||
dest: "/etc/quagga/{{ item.dest }}"
|
||||
dest: "/etc/quagga/{{ item }}"
|
||||
mode: u=rw,g=r,o=r
|
||||
loop:
|
||||
- daemons.j2
|
||||
- zebra.conf.j2
|
||||
- bgpd.conf.j2
|
||||
- daemons
|
||||
- zebra.conf
|
||||
- bgpd.conf
|
||||
notify:
|
||||
- restart bgpd
|
||||
- restart zebra
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
router bgp 43619
|
||||
#no synchronization
|
||||
no synchronization
|
||||
bgp router-id 45.66.111.254
|
||||
|
||||
# Remote-AS: Zayo.
|
||||
|
@ -9,5 +9,5 @@ router bgp 43619
|
|||
neighbor 2001:1b48:2:103::d7:1 activate
|
||||
exit-address-family
|
||||
!
|
||||
log file /var/log/quagga/bgpd.conf
|
||||
log file /var/log/quagga/bgpd.log
|
||||
log stdout
|
||||
|
|
|
@ -1,22 +1,8 @@
|
|||
# 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 %}
|
||||
zebra=yes
|
||||
bgpd=yes
|
||||
{% endif %}
|
||||
ospfd=no
|
||||
|
|
Loading…
Reference in a new issue