nodes/home.backups.py: use own vlan for wakeonlan to not have 2 ips in same network

This commit is contained in:
CroneKorkN 2025-12-03 22:06:22 +01:00
parent 7f43efc857
commit 5a8dc7e313
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
4 changed files with 16 additions and 2 deletions

View file

@ -18,6 +18,7 @@
'iot': '2', 'iot': '2',
'internet': '3', 'internet': '3',
'proxmox': '4', 'proxmox': '4',
'wokeonlan': '5',
'gast': '9', 'gast': '9',
'rolf': '51', 'rolf': '51',
}, },
@ -30,12 +31,17 @@
'proxmox', 'proxmox',
'gast', 'gast',
'rolf', 'rolf',
'wokeonlan',
}, },
}, },
'internet': { 'internet': {
'untagged': 'internet', 'untagged': 'internet',
'tagged': set(), 'tagged': set(),
}, },
'wokeonlan': {
'untagged': 'wokeonlan',
'tagged': set(),
},
}, },
'vlan_ports': {}, 'vlan_ports': {},
}, },

View file

@ -25,7 +25,7 @@
}, },
'wakeonlan': { 'wakeonlan': {
'interface': 'enp0s31f6', 'interface': 'enp0s31f6',
'ipv4': '10.0.0.6/24', 'ipv4': '10.0.5.5/24',
'mac': '4c:cc:6a:d5:96:f8', 'mac': '4c:cc:6a:d5:96:f8',
}, },
}, },

View file

@ -42,6 +42,13 @@
'ipv4': '10.0.4.1/24', 'ipv4': '10.0.4.1/24',
'dhcp_server': True, 'dhcp_server': True,
}, },
'wakeonlan': {
'type': 'vlan',
'vlan_interface': 'internal',
'id': 5,
'ipv4': '10.0.5.1/24',
'dhcp_server': True,
},
'guest': { 'guest': {
'type': 'vlan', 'type': 'vlan',
'vlan_interface': 'internal', 'vlan_interface': 'internal',

View file

@ -27,7 +27,8 @@
'vlan_group': 'infra', 'vlan_group': 'infra',
}, },
'ether5': { 'ether5': {
'vlan_group': 'infra', 'vlan_group': 'wokeonlan',
'comment': 'home.backups wakeonlan',
}, },
'ether6': { 'ether6': {
'vlan_group': 'infra', 'vlan_group': 'infra',