I have 2 Hyper-V 2012 R2 servers with Hetzner. They have 4 nics each, which is fine.
Now they are in their own vlan so my host has told me I need to add routes to each server.
So I have:
A (physical server)
B (physical server)
A1, A2, A3 and so forth (VMs on A)
B1, B2, B3 and so forth (VMs on B)
A and B can ping each other, but B cannot ping A1 etc, despite being in the same subnet in terms of ip config settings (same switch etc). Firewalls also completely disabled.
The host has said this:
You need to setup static routes on both servers, if both servers are in the same
subnet. You need to do that, because our switches are configured with vlans for
route add -host xxx.xxx.xxx.xxx (=IP of the server you want to reach) gw
xxx.xxx.xxx.xxx (gateway of the subnet) eth0
Note that I use Hyper-V server so I can't add things like RRAS role to the parent OS.
The servers A1, A2, A3 etc do not have gateway IPs as they are not on public IPs. I've added route entries but still no luck.
It is possible to add route entries without using gateway ips, but I don't see how this would achieve anything? You need to know the gateway traffic flows through, and if you have a gateway ip set, why would you need routes, anyway?
If anyone can help me with being able to get everything to ping everything, that would be great!