VMware Communities
CharlyAR
Contributor
Contributor

Virtual NIC with different IP?

Hi guys,

Is there a way to create a "virtual NIC", so the VMware machine looks as it was a real PC in the LAN, including a DIFFERENT MAC? I know the bridge networking can make the virtual machine look like a real one, but I have some problems when the server detects two identical mac address and tries to assign the IP... (nothing I can do about it).

I'm using a wireless network, dunno if changes anything.

Thanks a lot.

edited by CharlyAR, info added

0 Kudos
6 Replies
ypeace
Enthusiast
Enthusiast

my virtual NICs all have different MAC addresses...

could you post your hosts ifconfig or ipconfig /all?

i am using Workstation 6 as well...

Message was edited by:

ypeace

0 Kudos
KevinG
Immortal
Immortal

You should never have identical mac address on the host with physical or virtual network adapters.

What is your host OS?

Can you post the output from ifconfig -a or ipconfig /all from your host

0 Kudos
CharlyAR
Contributor
Contributor

Thanks for your replies. I didn't make my self very clear. My apologies...

The MAC \*INSIDE* the virtual machines are different. But for the router, they are all one and the same, so there is no way to tell it what to do with them.

I'm posting the info from the host (Charly), the client (Monch), and what the router sees. The host is a WinXP SP2.

Host:

Windows IP Configuration

Host Name . . . . . . . . . . . . : charly

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Unknown

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

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

Ethernet adapter Wireless:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : 802.11g/b Wireless LAN Client Adapter

Physical Address. . . . . . . . . : 00-40-F4-F0-E7-AF

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

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.0.1

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

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

DHCP Server . . . . . . . . . . . : 192.168.0.27

DNS Servers . . . . . . . . . . . : 192.168.0.27

Lease Obtained. . . . . . . . . . : Friday, May 04, 2007 21:37:49

Lease Expires . . . . . . . . . . : Saturday, May 05, 2007 21:37:49[/code]

Client:

Windows IP Configuration

Host Name . . . . . . . . . . . . : Monch

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Unknown

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

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

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter

Physical Address. . . . . . . . . : 00-0C-29-BB-34-54

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

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.0.4

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

IP Address. . . . . . . . . . . . : fe80::20c:29ff:febb:3454%4

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

DHCP Server . . . . . . . . . . . : 192.168.0.27

DNS Servers . . . . . . . . . . . : 192.168.0.27

fec0:0:0:ffff::1%1

fec0:0:0:ffff::2%1

fec0:0:0:ffff::3%1

Lease Obtained. . . . . . . . . . : Saturday, May 05, 2007 3:08:09

Lease Expires . . . . . . . . . . : Sunday, May 06, 2007 3:08:09

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

Physical Address. . . . . . . . . : FF-FF-FF-FF-FF-FF-FF-FF

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

IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5

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

NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter 6to4 Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : 6to4 Tunneling Pseudo-Interface

Physical Address. . . . . . . . . : C0-4E-02-04

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

IP Address. . . . . . . . . . . . : 2002:c04e:204::c04e:204

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

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

fec0:0:0:ffff::2%1

fec0:0:0:ffff::3%1

NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Automatic Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

Physical Address. . . . . . . . . : C0-4E-02-04

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

IP Address. . . . . . . . . . . . : fe80::5efe:192.168.0.4%2

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

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

fec0:0:0:ffff::2%1

fec0:0:0:ffff::3%1

NetBIOS over Tcpip. . . . . . . . : Disabled[/code]

Router:

Attached Devices

\# IP Address Device Name MAC Address

1 192.168.0.1 CHARLY 00:40:F4:F0:E7:AF

2 192.168.0.4 MONCH 00:40:F4:F0:E7:AF

0 Kudos
CharlyAR
Contributor
Contributor

my virtual NICs all have different MAC addresses...

could you post your hosts ifconfig or ipconfig /all?

i am using Workstation 6 as well...

Thanks.

I posted all the info. But I'm using the last 5.5 release...

0 Kudos
devzero
Expert
Expert

can you try using a different wireless nic ?

some models have problems with forwarding arbitrary mac adresses and only allow their own mac adress - so this is sort of a hardware problem you have.

take a look at:

http://www.vmware.com/community/thread.jspa?messageID=364081

http://www.vmware.com/community/thread.jspa?messageID=419332

http://www.extremetech.com/article2/0,1697,1156371,00.asp

KevinG
Immortal
Immortal

The MAC address is from the host because you are using a physical wireless network adapter, but the payload contains the MAC address of the VM.

0 Kudos