VMware Communities > VMTN > Desktop Products > VMware Fusion > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next
15 Replies Last post: Oct 3, 2007 3:34 PM by DaveP
Reply

Choosing which network to join virtual NICs to?

Sep 29, 2007 5:54 PM

Click to view TheITguru's profile Lurker TheITguru 4 posts since
Dec 3, 2006

I'm using VMware Fusion, and I find that I cannot pick which network to connect virtual interfaces to. I have 2 networks that I am connected to, a wireless on, and the one via my ethernet, and sometimes, I need a VM to connect to the ethernet, and sometimes to my wireless network.

How do I get to chose?

Reply Re: Choosing which network to join virtual NICs to? Sep 30, 2007 5:22 PM
Click to view rcardona2k's profile Champion rcardona2k 4,691 posts since
Oct 20, 2005
In bridge mode VMware does automatic bridging to the host's 'primary' network interface. This usually means to the "active" NIC, i.e. wired (en0) or wireless (en1). If both are active, I guess en0 is favored? NAT is able to access all connections (including USB, expresscard, etc) using any of the host IP respective addresses.

On other platforms there's a VMware tool called vmnetcfg which allows you to turn off Automatic Bridging and pick a specific interface. I don't see that tool is available for Fusion.
Reply Re: Choosing which network to join virtual NICs to? Sep 30, 2007 10:13 PM
Click to view bragi0's profile Lurker bragi0 1 posts since
Sep 11, 2007

This thread has all the answers to your question. Specifically the long post about halfway down talks about how to set up multiple bridged NICs.
Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 3:32 AM
in response to: bragi0
Click to view rcardona2k's profile Champion rcardona2k 4,691 posts since
Oct 20, 2005
The two bridged NICs solution should work.

This is far cry from vmnetcfg, but it's all there in gory code. I would recommend backing up or archiving Application Support/VMware Fusion with tar. Any mistake editing Fusion's shell scripts and/or config files without backups and you'll have to re-install. :(
Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 4:50 AM
in response to: rcardona2k
Click to view DaveP's profile Master DaveP 1,360 posts since
Aug 30, 2003

I have some new scripts that would do all of this, but am waiting to hear from Vmware as they are taking a look at it before I release.

Dave

Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 4:56 AM
in response to: DaveP
Click to view rcardona2k's profile Champion rcardona2k 4,691 posts since
Oct 20, 2005
Glad to hear this Dave. Your networking PDF is good work. I'll be sure to point advanced users to it and any scripts you develop. I do recommend in your scripts backing up original product files so users have a way to rollback without re-installing.
Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 6:24 AM
in response to: DaveP
Click to view jonesmf's profile Lurker jonesmf 3 posts since
Oct 1, 2007

Would it be possible to get a copy of your script to correct this> I converted from Parallels to VM Fusion over the weekend, and use the exact configuration noted here in the office every day. I must be able to run on two networks for this to even be viable for me.

Thanks,

Mike

Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 6:26 AM
in response to: jonesmf
Click to view DaveP's profile Master DaveP 1,360 posts since
Aug 30, 2003
Sorry not just yet as I need permission from VMware to distribute. I have re-used parts of the Linux version of Workstation in it. Pat Lee said it should be OK but until I hear back, I will have to keep them to myself.
Reply Re: Choosing which network to join virtual NICs to? Oct 3, 2007 3:34 PM
in response to: DaveP
Click to view jonesmf's profile Lurker jonesmf 3 posts since
Oct 1, 2007
Thanks for the follow-up. I am booting natively to uninstall Fusion and return to Parallels. Performace hasn't been that impressive and I feel s though I lost too much functionality anyways.

Thanks,

Mike
Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 6:37 AM
in response to: DaveP
Click to view TheITguru's profile Lurker TheITguru 4 posts since
Dec 3, 2006
Hi Dave - what exactly does your script do, please elaborate
Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 10:17 AM
in response to: TheITguru
Click to view DaveP's profile Master DaveP 1,360 posts since
Aug 30, 2003
Configure number of network adapters, what is bridged and to what, DHCP and NAT IP addresses. Basically re-creates the Linux VMware scripts on Fusion.
Reply Re: Choosing which network to join virtual NICs to? Oct 1, 2007 10:44 AM
in response to: DaveP
Click to view TheITguru's profile Lurker TheITguru 4 posts since
Dec 3, 2006
Oh, great! That is exactly the functionality I need - maybe we should
start an online petition to get VMware to accept it :)

Good going dave !
Reply Re: Choosing which network to join virtual NICs to? Oct 3, 2007 12:26 AM
in response to: TheITguru
Click to view DaveP's profile Master DaveP 1,360 posts since
Aug 30, 2003

Ok I have had permission from VMware to go ahead with this. What I want to do intially is run it by a few beta testers, especially as I need to write some documentation for it. I will PM you.

Dave

Reply Re: Choosing which network to join virtual NICs to? Oct 3, 2007 1:45 AM
in response to: DaveP
Click to view TheITguru's profile Lurker TheITguru 4 posts since
Dec 3, 2006
I am happy to be a guinea pig for this one dave, it's good news to
hear Vmware allowing you to go ahead with it.
Reply Re: Choosing which network to join virtual NICs to? Oct 3, 2007 4:09 AM
in response to: TheITguru
Click to view jonesmf's profile Lurker jonesmf 3 posts since
Oct 1, 2007
Happy to test as well. Can't hurt anymore than it already has.
1 2 Previous Next
Actions