Home › Forums › Discussions › Support › Use VirtNet to connect to Internet
Tagged: Virtnet
- This topic has 8 replies, 2 voices, and was last updated 2 years, 1 month ago by Vadim Smirnov.
-
AuthorPosts
-
October 17, 2022 at 9:53 am #12702
Hi, I was wondering if each a scenerio is possible.
In my pc I have one physcial network adapter, with it is it possible to link another virtual network adapter – which can connect to the internet as well?
October 17, 2022 at 10:20 am #12703Yes, but you will need to relay packets from the virtual NIC to the real one. For example, you can use the Windows Packet Filter for this purpose.
October 17, 2022 at 2:43 pm #12704Hi Vadim,
Thanks for the reply
Really excited to see that this is possible.
I was looking through the samples of Windows Packet Filter, and I thought the sample “Ethernet Bridge” will be the one that will help fulfill this requirement.
Will installing this program I got an error message saying its only built for x86 architecture. While all my computers are x64 built.
Can you please guide me what can I do, to get this working
Thanks
October 17, 2022 at 5:06 pm #12705October 18, 2022 at 8:10 am #12709Hi Vadim,
I have read the documentation on “https://www.ntkernel.com/bridging-networks-with-windows-packet-filter/” and have understood that this is perfect to get my requirement working.
I was trying to build Ethernet Bridge using vs22, and while doing so I was getting errors, that I am not being able to resolve.
Sorry, this might seem very silly to you, but I am very new to learning about Windows Networking and using Visual Studio, who just happened to come up with such a requirement.
It would be a great help if you can share a built version of the latest Ethernet Bridge.
October 18, 2022 at 8:57 am #12710Sorry to bother, got the exe built
October 18, 2022 at 9:21 am #12712October 18, 2022 at 9:34 am #12713Hi, I have been exploring “Ethernet Bridge” and it works flawlessly.
But on one of my PC I am running a Virtual Machine via VirtualBox, the internet connect of the Virtual Machine gets disconnected as I start to bridge my network with a Virtual NIC.
In another case I bridged 3 Network Adapters, 1.Physcial Lan Adapter 2.VirNet Network Adapter and 3.VirtualBox Host-Only Network
Still same case.Is there a workaround for this?
October 18, 2022 at 10:29 am #12714I have not tried to test compatibility with VirtualBox, in general, Ethernet Bridge is just a sample to demonstrate the capabilities of Windows Packet Filter. But it’s quite possible that VirtualBox is using a similar approach to connect to the host network and there is some conflict. This requires more in-depth research.
-
AuthorPosts
- You must be logged in to reply to this topic.