summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-router-orpheum.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-03-09 23:03:39 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-03-09 23:03:39 +0100
commitdf22cc55175eeda05c843763b9a21e2226e5fea6 (patch)
tree875a5738ca5f3f4d89dc7ec3955641f07edaebf4 /inventory/host_vars/ele-router-orpheum.yml
parentelevate: switch back chaos-at-home internal addresses (diff)
ele-router: cleanup some stuff
Diffstat (limited to 'inventory/host_vars/ele-router-orpheum.yml')
-rw-r--r--inventory/host_vars/ele-router-orpheum.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/inventory/host_vars/ele-router-orpheum.yml b/inventory/host_vars/ele-router-orpheum.yml
index 7aaf4fee..6dfe2db9 100644
--- a/inventory/host_vars/ele-router-orpheum.yml
+++ b/inventory/host_vars/ele-router-orpheum.yml
@@ -44,9 +44,16 @@ openwrt_network_base:
ipaddr: 127.0.0.1
netmask: 255.0.0.0
+ - name: device
+ options:
+ type: bridge
+ name: "br-mgmt"
+ ports:
+ - "eth0.{{ network_mgmt_zone.vlan }}"
+
- name: interface 'mgmt'
options:
- device: "eth0.{{ network_mgmt_zone.vlan }}"
+ device: "br-mgmt"
proto: static
ipaddr: "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}"
netmask: "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr('netmask') }}"
@@ -182,7 +189,7 @@ openwrt_mixin:
define nic_citycom = eth1
define ip_citycom = {{ network_zones.cc_orpheum.prefix | ansible.utils.ipaddr(network_zones.cc_orpheum.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}
- define nic_mgmt = "eth0.{{ network_mgmt_zone.vlan }}"
+ define nic_mgmt = "br-mgmt"
define prefix_mgmt = {{ network_mgmt_zone.prefix }}
{% for zone_name in network_internal_zone_names %}