• 0

VMWare networking question


Question

Hi guys,

I have a question about networking in vmware. On my host I have 2 internet sources, LAN and a 3G USB stick. Is it possible to use the LAN connection on the host and the 3G connection on the virtual machine? If so, how can I set up the vm?

Thank you. :)

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Yes, (assuming you're using windows) go to network connections, click the 'advanced' menu and change your 3G connection to be the lowest (it should be anyway) then add the 3G network connection as dedicated to the VMware host under networking and you're good to go.

Link to comment
Share on other sites

  • 0

Yes, (assuming you're using windows) go to network connections, click the 'advanced' menu and change your 3G connection to be the lowest (it should be anyway) then add the 3G network connection as dedicated to the VMware host under networking and you're good to go.

And how does Windows (or Windows apps, like Chrome, or whatever) know how to use the LAN connection and not the 3G connection?

Link to comment
Share on other sites

  • 0

And how does Windows (or Windows apps, like Chrome, or whatever) know how to use the LAN connection and not the 3G connection?

Add a new default route to the gateway IP on the LAN connection

Link to comment
Share on other sites

  • 0

You've set the TCP stack's priority to be lower for the 3G connection (it uses the connection with the lowest metric, ethernet is 10 by default, etc.) and if you understand cisco/linux networking basically changes the 0.0.0.0 address to the ethernet connection over the 3G connection.

Give it a try, you don't need to set up a VM to change the priority to the ethernet connection.

Link to comment
Share on other sites

  • 0

You've set the TCP stack's priority to be lower for the 3G connection (it uses the connection with the lowest metric, ethernet is 10 by default, etc.) and if you understand cisco/linux networking basically changes the 0.0.0.0 address to the ethernet connection over the 3G connection.

Give it a try, you don't need to set up a VM to change the priority to the ethernet connection.

I don't want to set up a VM for this, I need a VM with a different IP than the host. :) That's why I need the host and the VM to use separate Internet connections.

Link to comment
Share on other sites

  • 0

remove the virtual network adapter from the VMware config (or disable within the guest OS like you would do on a real machine). then add the usb device to it and the VM will have exclusive use.

Link to comment
Share on other sites

  • 0

remove the virtual network adapter from the VMware config (or disable within the guest OS like you would do on a real machine). then add the usb device to it and the VM will have exclusive use.

this... vmware has full USB support. it should detect the 3g device and install that and use it's own networking.

Link to comment
Share on other sites

This topic is now closed to further replies.