Virtual Switch (external) and Routing

I'm new to Hyper-V, so it will be difficult for me to describe the problem. But i'll try to :)

There's Server 2012 with 2 NICs: one looking to lan, another is connected to ADSL modem. RRAS is already configured on the server, with Remote Router interface (on-demand PPPoE connection). Everything works fine: lan clients have access to internet through the server. Now we are installing Hyper-V. To give access from VMs to lan and Internet we have to add External Virtual Switch over the NIC, which looks into lan, yes? But in that case client computers from local network do not have access to Internet.

Any ideas?

March 29th, 2013 12:00am

  Why would the vm clients not have Internet access? The virtual switch is effectively a bridge between the physical and virtual networks. The vm clients should behave exactly as the physical LAN clients do (provided that the switch is correctly configured). If RRAS is acting as a NAT router for your LAN, the vm clients should get their network config from RRAS just like the physical clients.

Free Windows Admin Tool Kit Click here and download it now
March 29th, 2013 2:12am

Hi,

> RRAS is already configured on the server, with Remote Router interface (on-demand PPPoE connection).
> Everything works fine: lan clients have access to internet through the server

On the physical Hyper-V host server, its no need to configure RRAS for internet connection, since the server can connect to internet through the ADSL NIC connection. While, for guest VMs in the Hyper-V host, you can configure RRAS as a LAN and WAN router establish internet connection. So if the RRAS configured correct, the guest VMs should have internet connection.

Check your RRAS settings or refer to following articles to configure RRAS:

Enable RRAS as a LAN and WAN Router
http://technet.microsoft.com/en-us/library/dd458974.aspx
How to Use Static Routes with Routing and Remote Access Service
http://support.microsoft.com/kb/178993

Also you may try following workaround:

Remove RRAS in Hyper-V host server, since you have already configured External virtual network switch, you can find a virtual External network adapter on the Hyper-V host (the NIC connect to Lan). Create a network bridge between the virtual network adapter and the ADSL NIC. Assign proper Lan IP address for your guest VMs and these VMs will have internet connection.

For more information please refer to following MS articles:

Bringing Hyper-V to Windows 8
http://blogs.msdn.com/b/b8/archive/2011/09/07/bringing-hyper-v-to-windows-8.aspx

Hope this helps!

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.

March 29th, 2013 5:40am

  Why would the vm clients not have Internet access? The virtual switch is effectively a bridge between the physical and virtual networks. The vm clients should behave exactly as the physical LAN clients do (provided that the switch is correctly configured). If RRAS is acting as a NAT router for your LAN, the vm clients should get their network config from RRAS just like the physical clients.

Free Windows Admin Tool Kit Click here and download it now
March 29th, 2013 10:20am

Hi,

> RRAS is already configured on the server, with Remote Router interface (on-demand PPPoE connection).
> Everything works fine: lan clients have access to internet through the server

On the physical Hyper-V host server, its no need to configure RRAS for internet connection, since the server can connect to internet through the ADSL NIC connection. While, for guest VMs in the Hyper-V host, you can configure RRAS as a LAN and WAN router establish internet connection. So if the RRAS configured correct, the guest VMs should have internet connection.

Check your RRAS settings or refer to following articles to configure RRAS:

Enable RRAS as a LAN and WAN Router
http://technet.microsoft.com/en-us/library/dd458974.aspx
How to Use Static Routes with Routing and Remote Access Service
http://support.microsoft.com/kb/178993

Also you may try following workaround:

Remove RRAS in Hyper-V host server, since you have already configured External virtual network switch, you can find a virtual External network adapter on the Hyper-V host (the NIC connect to Lan). Create a network bridge between the virtual network adapter and the ADSL NIC. Assign proper Lan IP address for your guest VMs and these VMs will have internet connection.

For more information please refer to following MS articles:

Bringing Hyper-V to Windows 8
http://blogs.msdn.com/b/b8/archive/2011/09/07/bringing-hyper-v-to-windows-8.aspx

Hope this helps!

TechNet Subscriber Support

If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.

March 29th, 2013 10:25am

Hi,

Thank you for your post.

I am trying to involve someone familiar with this topic to further look at this issue.

Free Windows Admin Tool Kit Click here and download it now
April 1st, 2013 9:24am

Hi,

Could you please try to ping the ip address of physical computer to check the result? Thanks.

Kevin Ni

April 12th, 2013 6:30am

Could you please try to ping the ip address of physical computer to check the result?

From the VM or from local network machine?
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2013 9:35am

From VM, thanks.

Kevin Ni

July 12th, 2013 3:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics