Files
configpolicy/host_vars/gw0/network.yml
Dustin C. Hatch d811a9fe22 dch-gw: Add Management network
The Management network (VLAN 10, 172.30.0.240/28) will be used for
communication with and configuration of network devices including
switches and access points. This keeps configuration separate from
normal traffic, and allows complete isolation of infrastructure devices.
2018-07-15 09:15:26 -05:00

81 lines
1.6 KiB
YAML

internet_iface: enp4s0
network:
ignore_interfaces:
- '{{ internet_iface }}'
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
- 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
addr6: fd99:8cd7:6528:fe1e::1
- ifname: vlan10
enabled: true
vlan_id: 10
physdev: bond0
mode: manual
addr: 172.30.0.241
prefix: 28
dhcpcd_send_hostname: false
dhcpcd_ntp_servers: false
dhcpcd_noipv4: true
dhcpcd_noipv6rs: true
dhcpcd_interfaces:
- name: '{{ internet_iface }}'
description: Internet
config:
- ipv4
- static domain_name_servers=172.30.0.4
- static domain_name=pyrocufflink.blue
- 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 }}