VMware Communities
kcheung
Contributor
Contributor

Need help with setting up wired/wireless networking for Linux vm on laptop

I have VMware Worstation 5.5 installed on my laptop running Windows XP as the host. Currently I already have 2 VMs running on it. One is Windows 2000 guest, and the other is a XP guest. I am setting up a third guest that is running Fedora 7, and am not quite sure how to set up the proper networking configuration. My laptop (a Dell Inspirion 8600) has both a built-in wired ethernet card and a wireless card. The wired card is used primarily at work connecting to the work network (IP assigned) as well as to the internet. The wireless card is used at home (DHCP, via a router to DSL connection) and on travel.

For the two Windows guests, the Ethernet option is set to default NAT setting and it has been working fine - the guests can connect to my work network when I am at work via the wired card, and pick up my wirerless card when at home. I am now, however, having trouble setting up networking for my Fedore 7 guest. I am working on the OS installation and set up at home, but it does not seem to be able to see my wireless card. How can I set up the system so that it will detect and use my wired card when I am at work, and use the wireless card when at home? I am a newbie to this so any help will be greaty appreciated.

As a start, here is the ipconfig from my Windows XP host:

Windows IP Configuration

Host Name . . . . . . . . . . . . : radiohead

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Peer-Peer

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

DNS Suffix Search List. . . . . . : pacbell.net

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for

VMnet8

Physical Address. . . . . . . . . : 00-50-56-C0-00-08

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.127.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for

VMnet1

Physical Address. . . . . . . . . : 00-50-56-C0-00-01

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.126.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected

Description . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Cont

roller

Physical Address. . . . . . . . . : 00-11-43-6A-00-7F

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . : pacbell.net

Description . . . . . . . . . . . : Dell Wireless 1450 Dual Band WLAN Mi

ni-PCI Card

Physical Address. . . . . . . . . : 00-11-F5-22-76-69

Dhcp Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 200.10.10.100

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 200.10.10.1

DHCP Server . . . . . . . . . . . : 200.10.10.1

DNS Servers . . . . . . . . . . . : 68.94.156.1

68.94.157.1

Lease Obtained. . . . . . . . . . : Friday, October 05, 2007 7:58:13 AM

Lease Expires . . . . . . . . . . : Saturday, October 06, 2007 7:58:13 AM

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected

Description . . . . . . . . . . . : Bluetooth Device (Personal Area Netw

ork)

Physical Address. . . . . . . . . : 00-10-C6-5B-7D-8A

******************************************************************************************

Here is the .vmx:

config.version = "8"

virtualHW.version = "4"

scsi0.present = "TRUE"

scsi0.virtualDev = "buslogic"

memsize = "1000"

MemAllowAutoScaleDown = "FALSE"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Other Linux 2.6.x kernel.vmdk"

ide1:0.present = "TRUE"

ide1:0.fileName = "D:"

ide1:0.deviceType = "cdrom-raw"

floppy0.present = "FALSE"

ethernet0.present = "TRUE"

ethernet0.connectionType = "nat"

usb.present = "TRUE"

sound.present = "TRUE"

sound.virtualDev = "es1371"

sound.fileName = "-1"

sound.autodetect = "TRUE"

displayName = "Fedora 7"

guestOS = "other26xlinux"

nvram = "Other Linux 2.6.x kernel.nvram"

ide1:0.autodetect = "FALSE"

scsi0:0.redo = ""

ethernet0.addressType = "generated"

uuid.location = "56 4d 55 1e 50 6e 67 28-a5 ad 0c 01 f1 96 da f8"

uuid.bios = "56 4d 55 1e 50 6e 67 28-a5 ad 0c 01 f1 96 da f8"

ethernet0.generatedAddress = "00:0c:29:96:da:f8"

ethernet0.generatedAddressOffset = "0"

tools.remindInstall = "FALSE"

ide1:0.startConnected = "TRUE"

tools.syncTime = "TRUE"

And finally, here is the ifconfig from my Fedora 7:

eth0 Link encap:Ethernet HWaddr 00:0C:29:96:DA:F8

inet addr:192.168.127.130 Bcast:192.168.127.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe96:daf8/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:103 errors:0 dropped:0 overruns:0 frame:0

TX packets:145 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:12138 (11.8 KiB) TX bytes:18034 (17.6 KiB)

Interrupt:18 Base address:0x1080

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:4851 errors:0 dropped:0 overruns:0 frame:0

TX packets:4851 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:8841998 (8.4 MiB) TX bytes:8841998 (8.4 MiB)

**********************************************************************************

Thanks.

Kenny

Tags (1)
0 Kudos
0 Replies