Routing different subnets across hyper-V virtual switch

Our server has two NICs each on a different subnet, we want traffic to cross between the two subnets. By default if these are two base NICs then this seems to work. Problem comes when one of them is bound to a Hyper-V switch. Traffic then does not seem to pass between the two subnets.

Further description of our network:

Subnet 192.168.1/24 is ADSL, 192.168.0/24 is Internal company network

The following network map describes from ADSL router, to hyper-V host, to virtualized server.

ADSL router
192.168.1.1

Hyper-V physical Host

NIC 2
192.168.1.5
gateway: 192.168.1.1

NIC 1 / hyper-V switch
192.168.0.5
gateway: 192.168.1.5
DNS: 192.168.0.10

Virtualized server

NIC 1
192.168.0.10
gateway: 192.168.0.5
DNS: 192.168.0.10

Problem is the Hyper-V switch doesn’t appear to route traffic across to the other subnet on NIC 1 as would normally happen if it were a physical network.

Any suggestions what I have got wrong here?

Related:


Leave a Reply