Link to home
Start Free TrialLog in
Avatar of Citrusmoose
CitrusmooseFlag for United States of America

asked on

Can Ping Guest Bridged VM from Everywhere But Host

I've got a VMware Server 1.0.4 running on WinXP SP2.  I've got a virtual machine running Ubuntu 7.1 with a bridged network connection.  The host has the static IP 172.30.45.38 and the vm has a dynamically assigned IP 172.30.45.152.  The vm can ping the host and all other machines on the network.  All other machines on the network can ping the vm.  The host can also ping all other machines on the network, but can't ping the vm.  Any idea what's wrong?
Avatar of Michael Worsham
Michael Worsham
Flag of United States of America image

A couple of questions...

1) What brand/model # of NIC do you have on your host machine?
2) Do you have IPTables running on your Linux guest that might be filtering for ping or ICMP?
3) Do you have the Windows Firewall running on the XP Host system?

Avatar of Citrusmoose

ASKER

The machine I'm working with is a work machine, and I'm on vacation so I'll do my best with the answers.

1) It's just an onboard nvidia nforce nic
2) Nope, no iptables
3) Nope, the firewall is off.
On the Ubuntu environment, post the following:

ifconfig -a
route -n

On the Windows XP environment, post the following:

ipconfig /all

Also post the .vmx file from the virtual machine.
ifconfig -a:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:CE:EF:73  
          inet addr:172.30.45.152  Bcast:172.30.45.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fece:ef73/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:223416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:133346229 (127.1 MB)  TX bytes:3337225 (3.1 MB)
          Interrupt:16 Base address:0x1400

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:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:656 (656.0 b)  TX bytes:656 (656.0 b)

route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.30.45.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         172.30.45.1     0.0.0.0         UG    0      0        0 eth0

ipconfig /all:
Windows IP Configuration

        Host Name . . . . . . . . . . . . : blah
        Primary Dns Suffix  . . . . . . . : blah.blah
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . .: blah.com

Ethernet adapter VMware Network Adapter VMnet1:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
        Physical Address. . . . . . . . . : 00-50-56-C0-00-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.145.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter Network Bridge:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : MAC Bridge Miniport
        Physical Address. . . . . . . . . : 42-32-0F-39-24-6C
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 172.30.45.38
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 172.30.45.1
        DNS Servers . . . . . . . . . . . : 172.30.50.100
                                            172.30.50.80

Forgot the vmx file...
Ubuntu.vmx.txt
Turn of the IPv6. This is known to cause issues in VM environments from time to time.
Sorry for the delay in response, I'm back from vacation.

I tried turning ipv6 off, but that didn't help.

I have a co-worker that has the opposite setup, but same problem.  He's running a linux (I'm not sure what distro), but has winxp virtual machine running.  He can't ping the virtual machine from the host (linux).
Apparently, the network bridge between my nic and firewire was what was causing the problem.  I removed the bridge and I could ping the virtual machine.  Unfortunately, I would still like to have the nic and firewire bridged.  Can this be done?
As this is not something I have encountered, I recommend also checking out the VMware Community forum as well to see if anyone there might know of a work around.

http://communities.vmware.com/
ASKER CERTIFIED SOLUTION
Avatar of Citrusmoose
Citrusmoose
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial