Commit a11320ea authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK

Utilise une interface dédiée pour la communication entre les routeurs.

parent 68a6e3f7
......@@ -8,6 +8,7 @@ all:
gateways:
hosts:
10.7.0.57:
router_network_address: 10.3.0.57/24
vlan_7_address: 10.7.0.57/16
vlan_2_address: 192.168.2.57/24
vlan_13_address: 193.48.225.3/24
......@@ -19,6 +20,7 @@ all:
keepalived_virtual_router_id: 1
keepalived_priority: 100
10.7.0.54:
router_network_address: 10.3.0.54/24
vlan_7_address: 10.7.0.54/16
vlan_2_address: 192.168.2.54/24
vlan_13_address: 193.48.225.2/24
......@@ -31,8 +33,8 @@ all:
keepalived_priority: 50
ldap_servers:
hosts:
ldap.rezometz.org:
vars:
main: true
ldap-ro.rezometz.org:
janus.rez:
matrix:
hosts:
belisama.rezometz.org:
server_name: rezometz.org
......@@ -4,7 +4,7 @@
# précisions.
---
- hosts: gateways
- hosts: janus.rez
remote_user: root
vars_prompt:
- name: ldap_password
......
......@@ -16,6 +16,12 @@ iface eno1 inet static
dns-search rez
gateway {{ gateway }}
# Network between the two routers
allow-hotplug eno2
auto eno2
iface eno2 inet static
address {{ router_network_address }}
# LACP
auto bond0
iface bond0 inet manual
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment