VMware Communities
snowboarder
Contributor
Contributor

2 virtual hosts cannot ping each other

Hi all,

I have this very strange problem with ping command between 2 virtual hosts. What i have done is:

  • installed VmWare Workstation 9
  • installed 2 virtual hosts running Windows XP
  • 2 virtual hosts are bridged to 2 ethernet NIC cards - both Realtek
  • both NIC cards are connected to Cisco 2950 Switch
  • switch is connected to Cisco Router

network settings on host1 and host2 are:

IP address 192.168.1.3  and 192.168.1.4

subnet     255.255.255.0

default gateway 192.168.1.1

setting on switch are with all links up:

VLAN1 IP: 192.168.1.2

Default-Gateway 192.168.1.1

fa0/1 switchport  is connected to  fa0/0 on the router

fa0/2 is connected to host1 - duplex auto

fa0/3 is connected to hos2 - duplex auto

I can ping from host1 and host2 VLAN1 and Default-Gateway

I cannot ping from switch host1 and host2

I cannot ping host1 from host2 and vice versa

Any ideas?

Reply
0 Kudos
7 Replies
WoodyZ
Immortal
Immortal

Just a FYI the term Host is the Physical Machine not the Virtual Machine.  The Virtual Machine is referred to as Guest or VM or Virtual Machine! Smiley Wink

Reply
0 Kudos
snowboarder
Contributor
Contributor

the terminal Host is the physical machine. I connect switch, router  through serial interface to my USB port. I can also telnet them.

Reply
0 Kudos
jsa
Enthusiast
Enthusiast

Wait, What?

First, why does your host have two nics, both on the same subnet?

You can bridge many different VMs to the same physical nic on the host.  There no need or advantage to putting two nics on the same subnet and then bridging each VM to a separate nic. 

Inability to ping could simply be firewall issues.

Why are you connected to your switch with USB?

snowboarder
Contributor
Contributor

the reason why do i have more than 1 NIC card is simple, i'm studying to take CCNA, CCNP and so on certificates. I know i can bridge multiple guests to the same NIC card but i need more than just 1 MAC address physically connected to switchport. It make sense when you put some restrictions or secure switchport or create different VLAN's and ping hosts on different network.

That could be the reason - firewall. Good thinking i'm gonna check this out.

I use adapter which convert D9 interface to USB.

Cheers

Reply
0 Kudos
Scorpion99
Enthusiast
Enthusiast

As you are using VLAN It seems it is a routing issue in your Cisco , you have to permit the ping from 192.168.1.3 to 192.168.1.4 and vice versa. Did you try the same scenario without having a VLAN?

Reply
0 Kudos
snowboarder
Contributor
Contributor

it was a firewall!!!!!!

be default all switchports belong to VLAN1

Reply
0 Kudos
Scorpion99
Enthusiast
Enthusiast

you are totally right , We forgot that Windows XP firewall is enable by default.

Reply
0 Kudos