Over a month and no answer?
Unacceptable as Seven of Nine would have put it :)
The trick is to see the virtual switches as physical ones and treat them the same way.
If we would build this in a server rack with physical stuff we would need
1. one wan switch
2. One incoming wan connection
3. One internal switch
4. One outgoing connection to the internal network
5. One server
6. One firewall
Lets do the same thing in the virtual world…..
The first thing to do is to create the wan swtich (nr 1 above). Do that by going into virtual Network Manager in the Hyper-V console.
Create a new External network and call it Wan.
It now should be Connected to the wan connection (nr 2 above). Do this by Selecting the right Intel adapter in the drop down list (i guess you get two there).
Make sure that allow management operating system …. is NOT Selected. You dont plug a Cable from the wan switch into an internal server in the physical world and neither should we do it in the virtual world.
Now we have an wan switch and we have a Connection from it to the Wan
The next step is to create a the internal switch (nr 3 above)
Create a new External network (Yes it should be external since exteranl in hyper-v means allowed to use physicall nics).
I call my one internal network.
It should now be connected to the outgoing connection (4). This is done by selecting the Realtec card.
Now make sure that allow management operating system …. is Selected. This equals putting a cable between the internal switch (3) and the server (5)
The last thing is to install and connect the firewall box.
Create a Virtual machine with two legacy network adapters.
Connect them to wan and internal (just like we would plug in two cables on a physical switch)
Install Pfsense on it
Done!