Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set up a Debian LAMP stack using this tutorial. Now I want to switch over to Hyper-V, but the networking won't work. Here's what I've done:

  1. I've added a Virtual Switch using my external LAN network card in Hyper-V.
  2. I've added a Legacy Network Adapter to the Debian VM and set it up to use the correct Virtual Switch.

This results in seeing an eth2 connection that's unconnected and won't connect when trying. The goal is obviously an eth1 that's bound to my host's network. How can I achieve this?

share|improve this question

You need to setup a second switch, this needs to be an external switch and has to bound to network card that is on your local network.

Then you need to assign each network card to a different virtual switch. This should allow you to achieve what you want.

share|improve this answer
    
Can you clarify what the full virtual switch/network card combo would be? I've created a Virtual Switch for every network card and a network card in the VM for every Virtual Switch, but no luck. – David M Mar 10 '13 at 22:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .