Link : http://www.compa.nl/hetznervmware
In our setup (EQ4) we have a different IP for the dedicated rootserver (the EQ4) than our subnet.
As Hetzner routes subnets and doesn't provide them 'just' available you can't use bridged networking in a normal way.
The network at Hetzner is setup that ONLY the MAC-address (physical network adapter so to speak) of the EQ4 machine is allowed on the network.
Their solution, provided through their wiki, is to use NAT.
Our professionals in networking don't like NAT, certainly not on dedicated hardware and there is an easy way around this.
We got our details from;
Assumptions
Helpfull
Syntax
Setup of the Host
# device: eth0 auto eth0 iface eth0 inet static address 1.2.3.4 broadcast 1.2.3.31 netmask 255.255.255.224 gateway 1.2.3.1 # default route to access subnet up route add -net 1.2.3.192 netmask 255.255.255.224 gw 1.2.3.1 eth0
# Virtual subnet hosts routing up ip addr add 5.6.7.32/255.255.255.240 dev eth0 # Virtual hosts dedicated routing up route add -host 5.6.7.33 gw 5.6.7.33 up route add -host 5.6.7.34 gw 5.6.7.34 up route add -host 5.6.7.35 gw 5.6.7.35 up route add -host 5.6.7.36 gw 5.6.7.36 up route add -host 5.6.7.37 gw 5.6.7.37 up route add -host 5.6.7.38 gw 5.6.7.38 up route add -host 5.6.7.39 gw 5.6.7.39 up route add -host 5.6.7.40 gw 5.6.7.40 up route add -host 5.6.7.41 gw 5.6.7.41 up route add -host 5.6.7.42 gw 5.6.7.42 up route add -host 5.6.7.43 gw 5.6.7.43 up route add -host 5.6.7.44 gw 5.6.7.44 up route add -host 5.6.7.45 gw 5.6.7.45 up route add -host 5.6.7.46 gw 5.6.7.46
Setup of the Guest
ifconfig_em0="5.6.7.33" # Static routes static_routes="direct default" route_direct="1.2.3.4 -iface em0" route_default="default 1.2.3.4"