diff --git a/host_vars/gw0/network.yml b/host_vars/gw0/network.yml new file mode 100644 index 0000000..d284d55 --- /dev/null +++ b/host_vars/gw0/network.yml @@ -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 }} diff --git a/hosts b/hosts index 13e42c0..6cb9ecd 100644 --- a/hosts +++ b/hosts @@ -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