I am running Ubunty 10.04 as a guest on Windows 7 Workstation x64 using VMWare Workstation 7.1.
My networking is configured as Bridged (VMNet0), and I have disabled the VMNet1 and VMNet8 devices just to make sure they don't accidentally interfere.
The host can ping the guest by IP, and get to ports exposed by the guest. This is good. The host can also get to other hosts, on local and internet addresses.
The guest can get to other hosts, on local and internet addresses. However, it cannot get to the host (by IP or by name, although only by IP matters).
The host is assigned address 192.168.1.103 by the DHCP server in the local network; the guest 192.168.1.109.
Here are host networking details:
The host has a few installed network adapters:
- wireless (generally in use, and in use in this case)
- wired (sometimes in use, not in use in this case)
- VPN (not in use at this time)
- WLAN (not in use at this time)
Plus the Windows Teredo tunneling ipv6 stuff and whatnot. Seems you can't throw a rock around here without hitting yet another virtual network adapter these days 😕
Microsoft Windows [http://Version 6.1.7600|http://Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\jwatte>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : jwatte-laptop Primary Dns Suffix . . . . . . . : corp.imvu.com Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : corp.imvu.com mindcontrol.org hsd1.ca.comcast.net. Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : corp.imvu.com Description . . . . . . . . . . . : TAP-Win32 Adapter V9 Physical Address. . . . . . . . . : 00-FF-3F-AD-F6-0B DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Wireless LAN adapter Wireless Network Connection 4: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter #3 Physical Address. . . . . . . . . : 90-4C-E5-3F-0A-E7 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : mindcontrol.org Description . . . . . . . . . . . : Dell Wireless 1510 Wireless-N WLAN Mini-Card Physical Address. . . . . . . . . : 90-4C-E5-3F-0A-E7 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::b1dd:7b72:97f0:c37d%18(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.103(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Saturday, June 05, 2010 12:16:37 PM Lease Expires . . . . . . . . . . : Monday, June 07, 2010 9:03:17 PM Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 546327781 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-8E-7E-B0-00-26-B9-0A-FE-91 DNS Servers . . . . . . . . . . . : 68.87.76.182 68.87.78.134 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Local Area Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : hsd1.ca.comcast.net. Description . . . . . . . . . . . : NVIDIA nForce 10/100/1000 Mbps Ethernet Physical Address. . . . . . . . . : 00-26-B9-10-E7-EE DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::6006:aa6d:298c:33e1%11(Deprecated) IPv4 Address. . . . . . . . . . . : 10.0.0.15(Deprecated) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Sunday, June 06, 2010 12:25:39 PM Lease Expires . . . . . . . . . . : Sunday, June 06, 2010 11:10:00 PM Default Gateway . . . . . . . . . : 10.0.0.1 DNS Servers . . . . . . . . . . . : 68.87.76.182 68.87.78.134 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.mindcontrol.org: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : mindcontrol.org Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.hsd1.ca.comcast.net.: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Teredo Tunneling Pseudo-Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:14ed:28e3:3f57:fe98(Preferred) Link-local IPv6 Address . . . . . : fe80::14ed:28e3:3f57:fe98%14(Preferred) Default Gateway . . . . . . . . . : :: NetBIOS over Tcpip. . . . . . . . : Disabled Tunnel adapter isatap.corp.imvu.com: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{9DF003A3-9F9D-4CB0-B645-590EF2A4BB06}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes C:\Users\jwatte>route print =========================================================================== Interface List 20...00 ff 3f ad f6 0b ......TAP-Win32 Adapter V9 19...90 4c e5 3f 0a e7 ......Microsoft Virtual WiFi Miniport Adapter #3 18...90 4c e5 3f 0a e7 ......Dell Wireless 1510 Wireless-N WLAN Mini-Card 11...00 26 b9 10 e7 ee ......NVIDIA nForce 10/100/1000 Mbps Ethernet 1...........................Software Loopback Interface 1 22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2 24...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface 29...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4 30...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 25 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.1.0 255.255.255.0 On-link 192.168.1.103 281 192.168.1.103 255.255.255.255 On-link 192.168.1.103 281 192.168.1.255 255.255.255.255 On-link 192.168.1.103 281 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.103 281 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.103 281 =========================================================================== Persistent Routes: None IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 14 58 ::/0 On-link 1 306 ::1/128 On-link 14 58 2001::/32 On-link 14 306 2001:0:4137:9e74:14ed:28e3:3f57:fe98/128 On-link 18 281 fe80::/64 On-link 14 306 fe80::/64 On-link 14 306 fe80::14ed:28e3:3f57:fe98/128 On-link 18 281 fe80::b1dd:7b72:97f0:c37d/128 On-link 1 306 ff00::/8 On-link 14 306 ff00::/8 On-link 18 281 ff00::/8 On-link =========================================================================== Persistent Routes: None C:\Users\jwatte>ping 192.168.1.109 Pinging 192.168.1.109 with 32 bytes of data: Reply from 192.168.1.109: bytes=32 time<1ms TTL=64 Reply from 192.168.1.109: bytes=32 time<1ms TTL=64 Reply from 192.168.1.109: bytes=32 time<1ms TTL=64 Ping statistics for 192.168.1.109: Packets: Sent = 3, Received = 3, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Control-C ^C C:\Users\jwatte>
And here are guest details:
jwatte@jwatte-hello-ubuntu:~$ sudo ifconfig -a [sudo] password for jwatte: eth0 Link encap:Ethernet HWaddr 00:0c:29:07:49:96 inet addr:192.168.1.109 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe07:4996/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:348 errors:0 dropped:0 overruns:0 frame:0 TX packets:177 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:48968 (48.9 KB) TX bytes:22201 (22.2 KB) Interrupt:19 Base address:0x2024 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:86 errors:0 dropped:0 overruns:0 frame:0 TX packets:86 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5967 (5.9 KB) TX bytes:5967 (5.9 KB) jwatte@jwatte-hello-ubuntu:~$ sudo route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 jwatte@jwatte-hello-ubuntu:~$ ping 192.168.1.103 PING 192.168.1.103 (192.168.1.103) 56(84) bytes of data. ^C --- 192.168.1.103 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1009ms jwatte@jwatte-hello-ubuntu:~$ lsmod Module Size Used by iptable_filter 2271 0 ip_tables 9991 1 iptable_filter x_tables 14299 1 ip_tables binfmt_misc 6587 1 vmblock 10766 1 vsock 37070 0 vmmemctl 7296 0 vmhgfs 48933 1 acpiphp 18284 0 snd_ens1371 18814 2 gameport 9089 1 snd_ens1371 snd_ac97_codec 100646 1 snd_ens1371 ac97_bus 1002 1 snd_ac97_codec snd_pcm_oss 35308 0 snd_mixer_oss 13746 1 snd_pcm_oss snd_pcm 70662 3 snd_ens1371,snd_ac97_codec,snd_pcm_oss snd_seq_dummy 1338 0 snd_seq_oss 26726 0 snd_seq_midi 4557 0 snd_rawmidi 19056 2 snd_ens1371,snd_seq_midi ppdev 5259 0 snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi fbcon 35102 71 tileblit 2031 1 fbcon font 7557 1 fbcon bitblit 4707 1 fbcon softcursor 1189 1 bitblit psmouse 63245 0 serio_raw 3978 0 parport_pc 25962 1 snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 19098 2 snd_pcm,snd_seq snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 54148 14 snd_ens1371,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 6620 1 snd snd_page_alloc 7076 1 snd_pcm vga16fb 11385 1 vmci 26826 1 vsock intel_agp 24177 1 agpgart 31724 1 intel_agp i2c_piix4 8335 0 shpchp 28820 0 vgastate 8961 1 vga16fb lp 7028 0 parport 32635 3 ppdev,parport_pc,lp mptspi 14652 2 mptscsih 31325 1 mptspi mptbase 83022 2 mptspi,mptscsih scsi_transport_spi 21096 1 mptspi floppy 53016 0 vmxnet 15418 0 jwatte@jwatte-hello-ubuntu:~$ lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10) 00:0f.0 VGA compatible controller: VMware SVGA II Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) 00:11.0 PCI bridge: VMware PCI bridge (rev 02) 00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01) 02:00.0 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB 02:01.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10) 02:02.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02) 02:03.0 USB Controller: VMware USB2 EHCI Controller jwatte@jwatte-hello-ubuntu:~$
I have installed the VMWare Additions on the guest.
I need for the guest to be able to see the host (and, specifically, services on ports exposed on the host), in addition to the host seeing the guest. How do I make that happen?
You can use "bridged", no need to use custom. It is a good practise to change automatic bridging for VMnet0 to a fixed adapter like you have it.
Change it to bridged, now and report the status.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
The problem seems to be related to the "automatic bridging" option.
When I specified my wireless hardware interface in the bridging options, I can now connect using HTTP from the guest to a server running on the host. Ping still doesn't work. Also, trying to connect to addresses of other interfaces on the host from the guest doesn't work.
This is enough for me to limp along for now, even though it's still somewhat broken.
And this has now broken again.
I'm running 7.1, Windows 7 x64 host, Ubuntu 10.04 LTS x64 guest.
The configuration is Dell 1510 wireless network adapter as specified bridged adapter.
The guest gest an IP (192.168.1.107) and can talk to the world.
The host has an IP (192.168.1.105) and can talk to the world.
However, the two cannot talk to each other. Specifically, services running on the guest aren't seen by the host, and the host cannot ping the guest.
I've also tried using a private network (VMNet1), and they still can't talk to each other.
I'm attaching my vmware.log from the guest install directory on the host, on the off chance that it might help.
It seems that you have changed the defaults. You use a custom network and it ius called VMnet0. By default VMnet0 is the bridge, so to use a bridged connection you just have to choose "bridge" as the virtual NIC type.
Can you post screenshots of the single tabs in the virtual network editor, please?
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
hi all. I have exactly the same problem.
But I have some clarification:The problem is the network connection of the real host on which you installed VMware Workstation and virtual hosts on it.
A network connection virtual host with other hosts on a real network, the bridge is functioning normally.
But between the carrier and VMware Workstation virtual host as follows:
Any ideas why this is happening?
P.S.
Virtual Network Editor settings:
Or
Virtual host settings:
Or
And sorry for my english.
Message was edited by: ZloyOs
Yes, I have changed the default bridging, because "automatic bridging" didn't work at all. I think it picked up an unconnected wired network adapter, or perhaps my WAN card.
Here is a screen shot of the virtual network editor. As you can see, VMnet0 is still bridged, tied specifically to the Dell Wireless 1510 Wireless network adapter.
I also include a screen shot of the configuration for the VM, to show that it's connected to this virtual network.
You can use "bridged", no need to use custom. It is a good practise to change automatic bridging for VMnet0 to a fixed adapter like you have it.
Change it to bridged, now and report the status.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Yep, works now. Thanks!