bird + ifupdown2: fix IP addrs + iBGP for isp-{1,2}
This commit is contained in:
parent
9f850aa4da
commit
48deabba50
2 changed files with 94 additions and 22 deletions
|
@ -5,8 +5,8 @@
|
|||
- isp-2.rtr.infra.auro.re
|
||||
vars:
|
||||
bird__router_ids:
|
||||
isp-1.rtr.infra.auro.re: 10.203.0.5
|
||||
isp-2.rtr.infra.auro.re: 10.203.0.6
|
||||
isp-1.rtr.infra.auro.re: 10.203.1.5
|
||||
isp-2.rtr.infra.auro.re: 10.203.1.6
|
||||
bird__router_id: "{{ bird__router_ids[inventory_hostname] }}"
|
||||
bird__radv_interfaces:
|
||||
client-0:
|
||||
|
@ -36,6 +36,42 @@
|
|||
- client-4.isp.auro.re
|
||||
bird__radv_dns_servers:
|
||||
- 2a09:6840:128::10:3
|
||||
bird__asn:
|
||||
aurore: 43619
|
||||
bird__bgp_addresses:
|
||||
isp-1.rtr.infra.auro.re:
|
||||
- 2a09:6840:203:1:5::1
|
||||
- 10.203.1.5
|
||||
isp-2.rtr.infra.auro.re:
|
||||
- 2a09:6840:203:1:5::1
|
||||
- 10.203.1.5
|
||||
bird__bgp_sessions:
|
||||
- name: edge1
|
||||
local:
|
||||
address: "{{ bird__bgp_addresses[inventory_hostname] }}"
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
remote:
|
||||
address:
|
||||
- 2a09:6840:203:1:1::1
|
||||
- 10.203.1.1
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
import:
|
||||
- accept: true
|
||||
export:
|
||||
- accept: false
|
||||
- name: edge2
|
||||
local:
|
||||
address: "{{ bird__bgp_addresses[inventory_hostname] }}"
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
remote:
|
||||
address:
|
||||
- 2a09:6840:203:1:2::1
|
||||
- 10.203.1.2
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
import:
|
||||
- accept: true
|
||||
export:
|
||||
- accept: false
|
||||
bird__ospf_broadcast_interfaces:
|
||||
ens19: null
|
||||
bird__ospf_stub_interfaces:
|
||||
|
@ -52,8 +88,8 @@
|
|||
- infra-2.rtr.infra.auro.re
|
||||
vars:
|
||||
bird__router_ids:
|
||||
infra-1.rtr.infra.auro.re: 10.203.0.3
|
||||
infra-2.rtr.infra.auro.re: 10.203.0.4
|
||||
infra-1.rtr.infra.auro.re: 10.203.1.3
|
||||
infra-2.rtr.infra.auro.re: 10.203.1.4
|
||||
bird__router_id: "{{ bird__router_ids[inventory_hostname] }}"
|
||||
bird__ospf_broadcast_interfaces:
|
||||
ens19: null
|
||||
|
@ -81,8 +117,8 @@
|
|||
as: "{{ bird__asn.aurore }}"
|
||||
remote:
|
||||
address:
|
||||
- 2a09:6840:203:0:1::1
|
||||
- 10.203.0.1
|
||||
- 2a09:6840:203:1:1::1
|
||||
- 10.203.1.1
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
import:
|
||||
- accept: true
|
||||
|
@ -94,8 +130,8 @@
|
|||
as: "{{ bird__asn.aurore }}"
|
||||
remote:
|
||||
address:
|
||||
- 2a09:6840:203:0:2::1
|
||||
- 10.203.0.2
|
||||
- 2a09:6840:203:1:2::1
|
||||
- 10.203.1.2
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
import:
|
||||
- accept: true
|
||||
|
@ -109,8 +145,8 @@
|
|||
- edge-2.rtr.infra.auro.re
|
||||
vars:
|
||||
bird__router_ids:
|
||||
edge-1.rtr.infra.auro.re: 10.203.0.1
|
||||
edge-2.rtr.infra.auro.re: 10.203.0.2
|
||||
edge-1.rtr.infra.auro.re: 10.203.1.1
|
||||
edge-2.rtr.infra.auro.re: 10.203.1.2
|
||||
bird__asn:
|
||||
aurore: 43619
|
||||
crans: 204515
|
||||
|
@ -155,11 +191,11 @@
|
|||
bird__router_id: "{{ bird__router_ids[inventory_hostname] }}"
|
||||
bird__bgp_addresses:
|
||||
edge-1.rtr.infra.auro.re:
|
||||
- 2a09:6840:203:0:1::1
|
||||
- 10.203.0.1
|
||||
- 2a09:6840:203:1:1::1
|
||||
- 10.203.1.1
|
||||
edge-2.rtr.infra.auro.re:
|
||||
- 2a09:6840:203:0:2::1
|
||||
- 10.203.0.2
|
||||
- 2a09:6840:203:1:2::1
|
||||
- 10.203.1.2
|
||||
bird__bgp_sessions:
|
||||
- name: edge
|
||||
local:
|
||||
|
@ -212,6 +248,42 @@
|
|||
- zayo
|
||||
accept: true
|
||||
- accept: false
|
||||
- name: isp1
|
||||
local:
|
||||
address: "{{ bird__bgp_addresses[inventory_hostname] }}"
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
remote:
|
||||
address:
|
||||
- 2a09:6840:203:1:5::1
|
||||
- 10.203.1.5
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
import:
|
||||
- accept: false
|
||||
export:
|
||||
- bgp_proto:
|
||||
- crans
|
||||
- viarezo
|
||||
- zayo
|
||||
accept: true
|
||||
- accept: false
|
||||
- name: isp2
|
||||
local:
|
||||
address: "{{ bird__bgp_addresses[inventory_hostname] }}"
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
remote:
|
||||
address:
|
||||
- 2a09:6840:203:1:6::1
|
||||
- 10.203.1.6
|
||||
as: "{{ bird__asn.aurore }}"
|
||||
import:
|
||||
- accept: false
|
||||
export:
|
||||
- bgp_proto:
|
||||
- crans
|
||||
- viarezo
|
||||
- zayo
|
||||
accept: true
|
||||
- accept: false
|
||||
- name: zayo
|
||||
local:
|
||||
address:
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
forward: true
|
||||
ens22:
|
||||
addresses:
|
||||
- 2a09:6840:203:0:1::1/56
|
||||
- 10.203.0.1/16
|
||||
- 2a09:6840:203:1:1::1/56
|
||||
- 10.203.1.1/16
|
||||
forward: true
|
||||
edge-2.rtr.infra.auro.re:
|
||||
ens18:
|
||||
|
@ -46,8 +46,8 @@
|
|||
forward: true
|
||||
ens22:
|
||||
addresses:
|
||||
- 2a09:6840:203:0:2::1/56
|
||||
- 10.203.0.2/16
|
||||
- 2a09:6840:203:1:2::1/56
|
||||
- 10.203.1.2/16
|
||||
forward: true
|
||||
dns-1.int.infra.auro.re:
|
||||
ens18:
|
||||
|
@ -157,8 +157,8 @@
|
|||
gateways: "{{ ifupdown2__gateways.adm }}"
|
||||
ens19:
|
||||
addresses:
|
||||
- 2a09:6840:203:0:5::1/56
|
||||
- 10.203.0.5/16
|
||||
- 2a09:6840:203:1:5::1/56
|
||||
- 10.203.1.5/16
|
||||
forward: true
|
||||
ens20:
|
||||
ipv6_addrgen: false
|
||||
|
@ -204,8 +204,8 @@
|
|||
gateways: "{{ ifupdown2__gateways.adm }}"
|
||||
ens19:
|
||||
addresses:
|
||||
- 2a09:6840:203:0:5::1/56
|
||||
- 10.203.0.5/16
|
||||
- 2a09:6840:203:1:6::1/56
|
||||
- 10.203.1.6/16
|
||||
forward: true
|
||||
ens20:
|
||||
ipv6_addrgen: false
|
||||
|
|
Loading…
Reference in a new issue