Jump to content

Good morning from Germany, 

I would like to connect a physical Maschine to a virtual internal switch (for example in hyper-v) to test software without having multiple machines available to the router. Haven't tried it yet but if I would create a pfSense VM with a physical nic to the PC and a internal one for internet connectivity wouldn't work, right? 

Link to comment
https://linustechtips.com/topic/1019958-physical-pc-connected-to-virtual-switch/
Share on other sites

Link to post
Share on other sites

16 minutes ago, DOM2000js said:

Good morning from Germany, 

I would like to connect a physical Maschine to a virtual internal switch (for example in hyper-v) to test software without having multiple machines available to the router. Haven't tried it yet but if I would create a pfSense VM with a physical nic to the PC and a internal one for internet connectivity wouldn't work, right? 

if you have more than one physical port, you can connect one to a virtual switch that the PFSense uses as its WAN, and the other to a different virtual switch that the PFSense uses as its LAN. Or you can try to pass through that second interface directly to the PFSense VM. If you only have one physical NIC, you can still do the same thing by utilizing different VLANs on each of the virtual interfaces on the same virtual switch.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to post
Share on other sites

2 hours ago, DOM2000js said:

So what you mean is that I should create a pfSense VM with one virtual internal interface for passing through the internet and than secondly the physical nic, right?  

Personally I would create a second vSwitch on the second NIC, and assign the PFSense VM virtual interfaces on both vSwitches. This way you can also have other VMs be connected to the LAN side of the PFSense VM.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to post
Share on other sites

10 hours ago, brwainer said:

Personally I would create a second vSwitch on the second NIC, and assign the PFSense VM virtual interfaces on both vSwitches. This way you can also have other VMs be connected to the LAN side of the PFSense VM.

Well thanks, I'll try that 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×