WOL on second nic

Thierry Reijnhout

New Member
May 5, 2021
3
0
1
37
i have a proxmox cluster with 6 machines. machine 2st nic with a gateway address 10.0.4.254 to (my local network) and a 1nd nic without gateway address:

root @ prox1: ~ # cat / etc / network / interfaces

auto lo
iface lo inet loopback

iface enp3s0 inet manual

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.20.0.21/24
bridge ports enp3s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge vids 2-4094
post-up echo 1> / proc / sys / net / ipv4 / ip_forward
post-up iptables -t nat -A POSTROUTING -s '10 .20.0.0 / 24 '-o vmbr1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTIG -s '10 .20.0.0 / 24 '-o vmbr1 -j MASQUERADE

auto vmbr1
iface vmbr1 inet static
address 10.0.4.21/24
gateway 10.0.4.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
post-up echo 1> / proc / sys / net / ipv4 / conf / vmbr1 / prox_arp

I suspect when I run a wakeuponlan with the web interface that the magic packet disappears towards 10.0.4.255 where i dont need it. my problem is the other 5 servers are behind the "main" proxmox host 10.20.0.255. so the magic package never gets to the right destination.

with: etherwake -i vmbr0 00: 22: 4d: 99: xx: xx I can get the relevant servers online ...

the question is is there a way to configure the correct network to power up the 5 machines true the web interface?????

(Ps i run this whole post true googletranslate including the cat / etc / network / interfaces dont bother to find typos"

thanks for your effort
 
Last edited:
if some one could point me to something like sourcecode ,a section of it. I like to contibute... or find a way to give input to the proxmox project! so we can select a non default gateway wol subnet thingy true the webinterface????
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!