VMware Communities
tjc000
Contributor
Contributor
Jump to solution

One PC, two NIC's, Linux Host on one NIC, WinXP guest on the other NIC ???

Hi All,

Happy to be aboard ... My first post.

As the subject line indicates, I've got a PC with two NIC's

I need to direct/isolate the host (Linux) to a single NIC and have the guest (WinXP) isolated to the other.

I cannot have the host (Linux) appear on the "work" LAN and I cannot have the guest (WinXP) appear on the "DMZ" LAN.

DHCP servers exist on both LANs.

Is this possible? How to ???

Thanks,

T.

0 Kudos
1 Solution

Accepted Solutions
KevinG
Immortal
Immortal
Jump to solution

You need to run the vmware-config.pl script and select the "Editor" option when making network changes

Below is an example of how it may look like if you wanted eth1 to be Bridged to vmnet0

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?

(yes/no) \[yes] no

Do you want networking for your virtual machines? (yes/no/help) \[yes]

Would you prefer to modify your existing networking configuration using the

wizard or the editor? (wizard/editor/help) \[wizard] editor

The following virtual networks have been defined:

. vmnet0 is bridged to eth0

. vmnet1 is a host-only network on private subnet 172.16.222.0.

. vmnet8 is a NAT network on private subnet 192.168.158.0.

Do you wish to make any changes to the current virtual networks settings?

(yes/no) \[no] yes

Which virtual network do you wish to configure? (0-99) 0

( This is the virtual switch number vmnet0, vmnet1, vmnet2...etc )

What type of virtual network do you wish to set vmnet0?

(bridged,hostonly,nat,none) \[bridged] bridged

Configuring a bridged network for vmnet0.

Your computer has multiple ethernet network interfaces available: vmnet1, vmnet8, eth0, eth1.

Which one do you want to bridge to vmnet0? \[eth0] eth1

________________

You do not want to use vmnet1 or vmnet8 in a Bridged configuration.

View solution in original post

0 Kudos
8 Replies
Dave_Mishchenko
Immortal
Immortal
Jump to solution

It sounds like you're using VMware Server so you may want to post this question in this forum: http://www.vmware.com/community/forum.jspa?forumID=219

Using bridged networking you'll be able to configure the WinXP guest to appear only on the LAN, but I think the host will still need an IP presence on the LAN as well. You could try configuring that NIC with an IP that is not part of the LAN or DMZ subnets.

But if you absolutely need the host to have no presence on the LAN you should consider using ESX server.

0 Kudos
tjc000
Contributor
Contributor
Jump to solution

Hi Dave,

Thanks for replying ...

Actually, I'm using just VMWare Player for linux.

I'll test you suggestions and let you know how it goes.

Thanks again,

T.

0 Kudos
RDPetruska
Leadership
Leadership
Jump to solution

Moved to Player forum.

You can do what you want. On Linux, to reconfigure the virtual networks, you need to re-run the configuration script. When it gets to the networking section, select Editor.

0 Kudos
tjc000
Contributor
Contributor
Jump to solution

Thanks for the info RDP ...

I get to the section you mention but am unsure of what settings to choose.

Thanks in advance for any further info or pointers to related docs.

Cheers,

T.

0 Kudos
RDPetruska
Leadership
Leadership
Jump to solution

It's probably best to read the Workstation documentation on networking http://www.vmware.com/support/ws55/doc/ws_net.html

KevinG
Immortal
Immortal
Jump to solution

You need to run the vmware-config.pl script and select the "Editor" option when making network changes

Below is an example of how it may look like if you wanted eth1 to be Bridged to vmnet0

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?

(yes/no) \[yes] no

Do you want networking for your virtual machines? (yes/no/help) \[yes]

Would you prefer to modify your existing networking configuration using the

wizard or the editor? (wizard/editor/help) \[wizard] editor

The following virtual networks have been defined:

. vmnet0 is bridged to eth0

. vmnet1 is a host-only network on private subnet 172.16.222.0.

. vmnet8 is a NAT network on private subnet 192.168.158.0.

Do you wish to make any changes to the current virtual networks settings?

(yes/no) \[no] yes

Which virtual network do you wish to configure? (0-99) 0

( This is the virtual switch number vmnet0, vmnet1, vmnet2...etc )

What type of virtual network do you wish to set vmnet0?

(bridged,hostonly,nat,none) \[bridged] bridged

Configuring a bridged network for vmnet0.

Your computer has multiple ethernet network interfaces available: vmnet1, vmnet8, eth0, eth1.

Which one do you want to bridge to vmnet0? \[eth0] eth1

________________

You do not want to use vmnet1 or vmnet8 in a Bridged configuration.

0 Kudos
tjc000
Contributor
Contributor
Jump to solution

Thanks to Kevin and RD \!!!

I'll give it a whip and see how it goes !!

Cheers,

T.

0 Kudos
tjc000
Contributor
Contributor
Jump to solution

Thanks a ton Guys \!!!

I connected the NIC to a hub and with ethereal I watched for both the physical and virtual MAC's to appear. I installed XP from our MS Remote Installation Server and never captured the physical MAC of the host.

Of course, the virtual MAC was very busy.

Thanks again,

T.

0 Kudos