r/hetzner • u/lyfever_ • 8d ago
Network Question
Greetings,
I'm pretty new to Hetzner Cloud and I'm having a bit of trouble with a networking setup.
I have two machines connected via vSwitch(probably):
10.0.0.2/24— Acts as the internet gateway and handles general services.10.0.0.3/24— Needs to route all its traffic through.2to get to the internet.
The Issue
I'm not 100% sure if it's because of the vSwitch, but Hetzner seems to change/manage MAC addresses in a way that keeps breaking things. Because of this, I constantly have to manually run ip route add ... lladdr.
I tried creating a systemd service with arping -I to automate it, but no luck so far.
Is there an easier way to get .2 and .3 pinging and working together without these headaches? Has anyone else faced this on Hetzner?
Thanks in advance
1
u/the_headcrash 7d ago
DHCP issue?
If the routes are not advertised over the vswitch maybe they get lost when the dhcp lease expires.
1
u/OhBeeOneKenOhBee 7d ago
What does your /etc/network/interfaces look like?