Page 1 of 1

Tunneling eth port to Virtual Machine

Posted: 3. Dec 2013, 12:03
by palemmo
Hello, sorry for my english!

I have two connections in my office and instead of using two different pc for each connection i would like to use a VB Machine, seeing that i have wifi and eth in my pc...

I would like to do something like sharing an usb device...

It's possibile? Map eth connection directly to virtual machine?

Thank you

Re: Tunneling eth port to Virtual Machine

Posted: 3. Dec 2013, 12:25
by Martin
If you look at the networking chapter of the manual you will see that "Bridging" is exactly what you are looking for.

Re: Tunneling eth port to Virtual Machine

Posted: 3. Dec 2013, 13:17
by palemmo
Martin wrote:If you look at the networking chapter of the manual you will see that "Bridging" is exactly what you are looking for.
Ok, well the connection i want to redirect to VB is 192.168.0.X and i'm linked with that router via eth cable
Wile the main pc have to surf with a 10.1.1.X via wifi

I set

Image

But when i plug the eth cable i loss connection in the main pc...or better...the main pc use the same 192.168.0.X instead of wifi...

Where is the wrong?

Thank you again

Re: Tunneling eth port to Virtual Machine

Posted: 3. Dec 2013, 14:39
by noteirak
Sounds like some software that automatically turn on or off your Wifi, depending on the link status of your eth.
If you don't have your VM running, and you connect your host to the wifi, then plug your cable, what happens?

Re: Tunneling eth port to Virtual Machine

Posted: 4. Dec 2013, 10:06
by palemmo
Thank you again,


<<If you don't have your VM running, and you connect your host to the wifi, then plug your cable, what happens?>>

WiFi connects to 10.1.1.1 Eth connected to 192.168.1.1
Eth connection overwrite wifi and the phisical pc navigate with 192.168.1.1

Re: Tunneling eth port to Virtual Machine

Posted: 4. Dec 2013, 11:37
by noteirak
You tell 192.168.1.1, but in your previous post you talk about 19.168.0.x, was that a typo or you do get a wrong IP?