VMware Communities > VMTN > Desktop Products > VMware Fusion (for the Mac) > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
3 Replies Last post: Dec 6, 2007 10:54 AM by WoodyZ
Reply

2 networks in VM under xUbuntu 7.10

Dec 6, 2007 4:11 AM

Click to view beergut's profile Lurker beergut 4 posts since
Nov 12, 2007

VMWare Version 1.1 (62573)

I am using a MBP running Leopard 10.5 with VMware installed (and running xubuntu as VM). I want to use 2 networksin the VM.

I am using Bridged network.

One is a wireless network which connects to the internet with DHCP address (64.134.54.37 in VM, 64.134.54.16 in Leopard)

the other one is wired network with static IP address ( 192.168.252.101 in VM, 192.168.252.100 in Leopard)

Physically, the wired network is connected to an embedded device with static IP of (192.168.252.102) .

My problem:

When MBP wireless is "ON", the subnet 192.168.252.x won't talk to each other ....

Can someone help to figure out how I can make both subnet talk to each other and able to connect o the internet via the host ?

Thanks.


Reply Re: 2 networks in VM under xUbuntu 7.10 Dec 6, 2007 4:39 AM
Click to view etung's profile Guru etung 11,030 posts since
Oct 15, 2006
VMware
Two things come to mind: Since you want to access two networks simultaneously, you need two virtual NICs in the guest (add another via Virtual Machine > Settings > "+" button > Add Network) and two virtual switches: one to the wireless interface, one to the wired interface. The default setup tracks the host's current network interface (which is why you can't access the 192.168.252.* subnet when wireless is active).

To add a virtual switch, you'll need to edit /Library/Application Support/VMware Fusion/boot.sh (sorry, there's currently no GUI). DaveP wrote a guide for these sorts of edits - if it doesn't cover your exact setup, it's still a good starting point: Scripts to manage Fusion network settings and How to modify Fusion network settings whitepaper
Reply Re: 2 networks in VM under xUbuntu 7.10 Dec 6, 2007 10:23 AM
in response to: etung
Click to view beergut's profile Lurker beergut 4 posts since
Nov 12, 2007

Thank you for pointing that out. I have had a look at those post, and downloaded the stuff, but none of them tells me about creating a virtual switch.

Can you please elaborate ?


Reply Re: 2 networks in VM under xUbuntu 7.10 Dec 6, 2007 10:54 AM
in response to: beergut
Click to view WoodyZ's profile Guru WoodyZ 9,999 posts since
Apr 22, 2004
It's in the post etung referenced: How to modify Fusion network settings whitepaper

You need to read and understand VMware Fusion Network Settings - Part 1.pdf and look farther down the post for "Here's the first quick update on adding a new bridged adapter and configuring the VMX file."


vmnet2 is the additional Virtual Switch.

Actions