global_defs { notification_email { monitoring.aurore@lists.crans.org } notification_email_from routeur-aurore{% if 'backup' in inventory_hostname %}-backup{% endif %}@auro.re smtp_server smtp.crans.org } vrrp_instance VI_ROUT_aurore_IPv4 { {% if 'backup' in inventory_hostname %} state BACKUP priority 100 {% else %} state MASTER priority 150 {% endif %} # Interface used for VRRP communication. interface ens19 # Shared by MASTER and BACKUP virtual_router_id 40 # Timeout in seconds before failover kicks in. advert_int 2 # Used to authenticate VRRP communication between master and backup. authentication { auth_type PASS auth_pass {{ keepalived_password }} } smtp_alert virtual_ipaddress { # Hello Zayo 83.167.52.69/31 dev ens1 scope global # Routing 10.129.0.254/16 brd 10.129.255.255 dev ens18 scope global # Adm 10.128.0.254/16 brd 10.128.255.255 dev ens19 scope global # Switches 10.130.0.254/16 brd 10.130.255.255 dev ens20 scope global # IPs publiques serveurs 45.66.111.254/24 brd 45.66.111.255 dev ens21 scope global # IPs publiques adhérents 45.66.110.254/24 brd 45.66.110.255 dev ens22 scope global # VLAN 131: Onduleurs et PDUs 10.131.0.254/16 brd 10.131.255.255 dev ens23 scope global # VLAN 121: Interco Crans 185.230.79.254/29 brd 185.230.79.255 dev ens2 scope global } virtual_routes { src 10.129.0.254 to 10.129.0.0/16 dev ens18 # Fleming NAT src 10.129.0.254 to 10.10.0.0/16 via 10.129.1.254 dev ens18 src 10.129.0.254 to 10.11.0.0/16 via 10.129.1.254 dev ens18 src 10.129.0.254 to 45.66.108.0/27 via 10.129.1.254 dev ens18 src 10.129.0.254 to 45.66.108.32/29 via 10.129.1.254 dev ens18 src 10.129.0.254 to 45.66.108.251 via 10.129.1.254 dev ens18 src 10.129.0.254 to 45.66.109.0/27 via 10.129.1.254 dev ens18 src 10.129.0.254 to 45.66.109.32/29 via 10.129.1.254 dev ens18 src 10.129.0.254 to 45.66.109.251 via 10.129.1.254 dev ens18 # Pacaterie NAT src 10.129.0.254 to 10.20.0.0/16 via 10.129.2.254 dev ens18 src 10.129.0.254 to 10.21.0.0/16 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.108.40/29 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.108.48/28 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.108.64/28 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.108.252 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.109.40/29 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.109.48/28 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.109.64/28 via 10.129.2.254 dev ens18 src 10.129.0.254 to 45.66.109.252 via 10.129.2.254 dev ens18 # Rives NAT src 10.129.0.254 to 10.30.0.0/16 via 10.129.3.254 dev ens18 src 10.129.0.254 to 10.31.0.0/16 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.108.80/28 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.108.96/28 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.108.112/29 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.108.253 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.109.80/28 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.109.96/28 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.109.112/29 via 10.129.3.254 dev ens18 src 10.129.0.254 to 45.66.109.253 via 10.129.3.254 dev ens18 # EDC NAT src 10.129.0.254 to 10.40.0.0/16 via 10.129.4.254 dev ens18 src 10.129.0.254 to 10.41.0.0/16 via 10.129.4.254 dev ens18 src 10.129.0.254 to 45.66.108.120/29 via 10.129.4.254 dev ens18 src 10.129.0.254 to 45.66.108.128/27 via 10.129.4.254 dev ens18 src 10.129.0.254 to 45.66.108.254 via 10.129.4.254 dev ens18 src 10.129.0.254 to 45.66.109.120/29 via 10.129.4.254 dev ens18 src 10.129.0.254 to 45.66.109.128/27 via 10.129.4.254 dev ens18 src 10.129.0.254 to 45.66.109.254 via 10.129.4.254 dev ens18 # George Sand NAT src 10.129.0.254 to 10.50.0.0/16 via 10.129.5.254 dev ens18 src 10.129.0.254 to 10.51.0.0/16 via 10.129.5.254 dev ens18 src 10.129.0.254 to 45.66.108.160/27 via 10.129.5.254 dev ens18 src 10.129.0.254 to 45.66.108.192/29 via 10.129.5.254 dev ens18 src 10.129.0.254 to 45.66.108.255 via 10.129.5.254 dev ens18 src 10.129.0.254 to 45.66.109.160/27 via 10.129.5.254 dev ens18 src 10.129.0.254 to 45.66.109.192/29 via 10.129.5.254 dev ens18 src 10.129.0.254 to 45.66.109.255 via 10.129.5.254 dev ens18 } } vrrp_instance VI_ROUT_aurore_IPv6 { {% if 'backup' in inventory_hostname %} state BACKUP priority 100 {% else %} state MASTER priority 150 {% endif %} # Interface used for VRRP communication. interface ens19 # Shared by MASTER and BACKUP virtual_router_id 60 # Timeout in seconds before failover kicks in. advert_int 2 # Used to authenticate VRRP communication between master and backup. authentication { auth_type PASS auth_pass {{ keepalived_password }} } smtp_alert virtual_ipaddress { # Hello zayo 2001:1b48:2:103::d7:2/126 dev ens1 scope global # Routing 2a09:6840:129::254/64 dev ens18 scope global # Adm 2a09:6840:128::254/64 dev ens19 scope global # Switches 2a09:6840:130::254/64 dev ens20 scope global # IPs publiques serveurs 2a09:6840:111::254/64 dev ens21 scope global # IPs publiques adhérents 2a09:6840:110::254/64 dev ens22 scope global # VLAN 131: Onduleurs et PDUs 2a09:6840:131::254/64 dev ens23 scope global # VLAN 121: Interco Crans 2a0c:700:28::2/64 dev ens2 scope global } virtual_routes { # Routes return for ipv6 connectivity 2a09:6840:10::/64 via 2a09:6840:129::1:254 dev ens18 2a09:6840:11::/64 via 2a09:6840:129::1:254 dev ens18 2a09:6840:20::/64 via 2a09:6840:129::2:254 dev ens18 2a09:6840:21::/64 via 2a09:6840:129::2:254 dev ens18 2a09:6840:40::/64 via 2a09:6840:129::4:254 dev ens18 2a09:6840:41::/64 via 2a09:6840:129::4:254 dev ens18 2a09:6840:50::/64 via 2a09:6840:129::5:254 dev ens18 2a09:6840:51::/64 via 2a09:6840:129::5:254 dev ens18 } }