nodes/home.backups.py: use own vlan for wakeonlan to not have 2 ips in same network
This commit is contained in:
parent
7f43efc857
commit
5a8dc7e313
4 changed files with 16 additions and 2 deletions
|
|
@ -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': {},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue