Quantcast
Viewing all articles
Browse latest Browse all 8743

Adding routes to Hyper-V

Hi,

I have 2 Hyper-V 2012 R2 servers. 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).

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
security issues. 

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, so I am not sure how to add route entries as I keep getting paremeter incorrect, eg:

route add 10.0.0.0 mask 255.0.0.0 192.168.0.1

Thanks


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>