Hetzner servers connected to same switch - no connection between them

Both servers are connected to the same switch. If you need a connection between the servers, you have to set a static route on each server (if using DHCP) or change their netmask to /32 (if using static IP configuration). This is necessary as we use the "protected ports" security feature on our switches.

Any idea how to "change their netmask to /32" ?

I tried:

ifconfig_igb0="inet {MY-IP} netmask 255.255.255.255"

but network is not accessible with this setting.
 
but network is not accessible with this setting.
You might have some issues setting your default gateway. FreeBSD really doesn't want to set a gateway to an address that's outside of the host's IP/netmask range. With a /32 everything is outside of that 'network'.

You might need to resort to setting a gateway like this: route add default -iface igb0 to force it out of igb0.
 
Back
Top