hosts: add gw0

jenkins-master
Dustin 2018-03-28 19:59:50 -05:00
parent c5e3c861ab
commit da5da95894
2 changed files with 79 additions and 0 deletions

78
host_vars/gw0/network.yml Normal file
View File

@ -0,0 +1,78 @@
network:
ignore_interfaces:
- enp4s0
interfaces:
- ifname: enp1s0
enabled: true
master: bond0
mode: none
- ifname: enp2s0
enabled: true
master: bond0
mode: none
- ifname: enp3s0
enabled: true
master: bond0
mode: none
- ifname: bond0
ignore: false
enabled: true
bond_opts:
mode: 802.3ad
miimon: 100
mode: none
- ifname: vlan1
enabled: true
vlan_id: 1
physdev: bond0
mode: manual
addr: 172.31.0.1
prefix: 27
addr6: fd99:8cd7:6528::1
routes:
- prefix: 172.31.0.64/28
nexthop:
- address: 172.31.0.2
- prefix: 192.168.0.0/16
nexthop:
- address: 172.31.0.2
- prefix: 172.28.33.0/24
nexthop:
- address: 172.31.0.2
- ifname: vlan100
enabled: true
vlan_id: 100
physdev: bond0
mode: manual
addr: 172.24.100.1
prefix: 24
- ifname: vlan101
enabled: true
vlan_id: 101
physdev: bond0
mode: manual
addr: 172.31.1.1
prefix: 24
- ifname: vlan30
enabled: true
vlan_id: 30
physdev: bond0
mode: manual
addr: 172.30.0.1
prefix: 26
dhcpcd_send_hostname: false
dhcpcd_ntp_servers: false
dhcpcd_noipv4: true
dhcpcd_noipv6rs: true
dhcpcd_interfaces:
- name: enp4s0
description: Internet
config:
- ipv4
- noipv4ll
- ipv6rs
- ia_pd 1/::/56
{{ dch_networks.blue.router_iface }}/{{ dch_networks.blue.sla_id }}
{{ dch_networks.red.router_iface }}/{{ dch_networks.red.sla_id }}
{{ dch_networks.jazz.router_iface }}/{{ dch_networks.jazz.sla_id }}

1
hosts
View File

@ -17,6 +17,7 @@ dns0.pyrocufflink.blue ansible_host=2605:6000:3ccc:fb00::4:1
pyrocufflink-dns
[dch-gw]
gw0 ansible_host=172.31.0.1
[dhcpcd:children]
dch-gw