<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - BUG: sometimes UDP packets aren't passed from guest to host machine over vmware network interface</title>
    <link>http://communities.vmware.com/community/vmtn/desktop/workstation?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 22 Jun 2009 11:00:16 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-06-22T11:00:16Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: BUG: sometimes UDP packets aren't passed from guest to host machine over vmware network interface</title>
      <link>http://communities.vmware.com/message/1290950?tstart=0#1290950</link>
      <description>either that or use a VM like m0n0wall to run a NAT-service&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
___________________________________ &lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://sanbarrow.com/vmx.html"&gt;VMX-parameters&lt;/a&gt;- &lt;a class="jive-link-external" href="http://sanbarrow.com/moa.html"&gt; VMware-liveCD&lt;/a&gt; - &lt;a class="jive-link-external" href="http://sanbarrow.com/sickbay.html"&gt; VM-Sickbay&lt;/a&gt;</description>
      <pubDate>Mon, 22 Jun 2009 11:00:16 GMT</pubDate>
      <author>continuum</author>
      <guid>http://communities.vmware.com/message/1290950?tstart=0#1290950</guid>
      <dc:date>2009-06-22T11:00:16Z</dc:date>
      <clearspace:dateToText>5 months, 4 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: BUG: sometimes UDP packets aren't passed from guest to host machine over vmware network interface</title>
      <link>http://communities.vmware.com/message/1290663?tstart=0#1290663</link>
      <description>&lt;br /&gt;
Are you suggesting to used bridged networking for guest VM's instead, as bridged mode is not flaky like NAT is?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Sun, 21 Jun 2009 23:33:51 GMT</pubDate>
      <author>shandee</author>
      <guid>http://communities.vmware.com/message/1290663?tstart=0#1290663</guid>
      <dc:date>2009-06-21T23:33:51Z</dc:date>
      <clearspace:dateToText>5 months, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: BUG: sometimes UDP packets aren't passed from guest to host machine over vmware network interface</title>
      <link>http://communities.vmware.com/message/1290527?tstart=0#1290527</link>
      <description>do you need to use vmnet8 for the VMs ?&lt;br /&gt;
There has been several issues reported with unstable NAT-service.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
___________________________________ &lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://sanbarrow.com/vmx.html"&gt;VMX-parameters&lt;/a&gt;- &lt;a class="jive-link-external" href="http://sanbarrow.com/moa.html"&gt; VMware-liveCD&lt;/a&gt; - &lt;a class="jive-link-external" href="http://sanbarrow.com/sickbay.html"&gt; VM-Sickbay&lt;/a&gt;</description>
      <pubDate>Sun, 21 Jun 2009 17:24:33 GMT</pubDate>
      <author>continuum</author>
      <guid>http://communities.vmware.com/message/1290527?tstart=0#1290527</guid>
      <dc:date>2009-06-21T17:24:33Z</dc:date>
      <clearspace:dateToText>5 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>BUG: sometimes UDP packets aren't passed from guest to host machine over vmware network interface</title>
      <link>http://communities.vmware.com/message/1290446?tstart=0#1290446</link>
      <description>&lt;br /&gt;
BUG: sometimes UDP packets aren't passed from guest to host machine over vmware network interface&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
Since vmware 5.5 DNS resolution under the guest VM randomly stops working.  Under version&lt;br /&gt;
5.5 I recall this issue occuring every few months, when I upgraded to v6.0&lt;br /&gt;
the frequency of the problem increased to every few weeks.  Having recently upgraded&lt;br /&gt;
to v6.5.2-build156735 this issue happens multiple times per day.&lt;br /&gt;
&lt;br /&gt;
Through the use of tcpdump the problem has been tracked down to failure of the&lt;br /&gt;
UDP packets being passed from the guest machine to host machine, although TCP or&lt;br /&gt;
ICMP packets pass without issue.  This results in DNS lookups to fail, but ping&lt;br /&gt;
testing (ICMP) directly to an external IP address works, as well as telnet (TCP).&lt;br /&gt;
&lt;p /&gt;
Details&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
VMware workstation 6.5.2-builld156735 is running on host operating system&lt;br /&gt;
CentOS 5.3 (x86_64), having recently upgraded from v6.0.x  The guest VM&lt;br /&gt;
instances use a combination of various linux distributions, windows XP, and&lt;br /&gt;
openBSD.  This bug affects all guest operating systems, where DNS lookups&lt;br /&gt;
fail.&lt;br /&gt;
&lt;br /&gt;
To immediately and temporarily fix this problem all guest VM instances are&lt;br /&gt;
suspended and vmware workstation is quit.  Then the vmware service is restarted on the host&lt;br /&gt;
machine using "/etc/init.d/vmware restart".  This has the affect of restarting&lt;br /&gt;
the vmware virtual network interface.&lt;br /&gt;
&lt;br /&gt;
Once the vmware service has been restarted, vmware workstation application is&lt;br /&gt;
started again and all suspended guest VM's are resumed.  Upon resume DNS resolution&lt;br /&gt;
under the guest VM's works again.&lt;br /&gt;
&lt;br /&gt;
Note that when DNS resolution fails to work under the guest, it works without&lt;br /&gt;
issue on the host machine.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
System Architechture&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
A linksys router with IP address 192.168.1.1 acts as the "real" internet gateway.&lt;br /&gt;
&lt;br /&gt;
The host server is plugged into the linksys router and has IP address 192.168.1.104&lt;br /&gt;
The host server has vmnet8 interface with IP address 172.16.237.1&lt;br /&gt;
&lt;br /&gt;
The guest VM instance has IP address 172.16.237.132&lt;br /&gt;
On the guest VM instance in /etc/resolv.conf the nameserver is set to 192.168.1.1&lt;br /&gt;
for DNS lookups.&lt;br /&gt;
&lt;br /&gt;
NAT networking is using for guest VM's.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Testing&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
By using tcpdump on both host and guest instances when DNS resolution fails and&lt;br /&gt;
when it works, it can be clearly seen that when DNS resolution fails&lt;br /&gt;
the UDP packets and not been transmitted over the vmware network from the guest VM&lt;br /&gt;
to host machine.&lt;br /&gt;
&lt;br /&gt;
tcpdump is started on both guest and host instances using command "tcpdump udp".&lt;br /&gt;
then in the guest, command "host ann.lu" is executed to perform a DNS lookup.&lt;br /&gt;
&lt;p /&gt;
The following output demonstrates the issue when DNS resolution is NOT working.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li&gt;GUEST MACHINE&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
$ tcpdump udp&lt;br /&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;br /&gt;
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes&lt;br /&gt;
22:43:20.912071 IP 172.16.237.132.44731 &amp;gt; 192.168.1.1.domain:  32076+ A? ann.lu. (24)&lt;br /&gt;
22:43:25.911861 IP 172.16.237.132.44731 &amp;gt; 192.168.1.1.domain:  32076+ A? ann.lu. (24)&lt;br /&gt;
22:43:37.966990 IP 172.16.237.132.44736 &amp;gt; 192.168.1.1.domain:  21156+ A? ann.lu. (24)&lt;br /&gt;
22:43:42.967224 IP 172.16.237.132.44736 &amp;gt; 192.168.1.1.domain:  21156+ A? ann.lu. (24)&lt;br /&gt;
22:44:21.773888 IP 172.16.237.132.44738 &amp;gt; 192.168.1.1.domain:  33711+ A? ann.lu. (24)&lt;br /&gt;
22:44:26.773992 IP 172.16.237.132.44738 &amp;gt; 192.168.1.1.domain:  33711+ A? ann.lu. (24)&lt;br /&gt;
&lt;hr /&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li&gt;HOST MACHINE&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
$ tcpdump udp&lt;br /&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;br /&gt;
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;NOTHING CAPTURED **&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;p /&gt;
The following output demonstrates when DNS resolution IS working.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li&gt;GUEST MACHINE&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
$ tcpdump udp&lt;br /&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;br /&gt;
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes&lt;br /&gt;
22:46:27.267874 IP 172.16.237.132.44750 &amp;gt; 192.168.1.1.domain:  3108+ A? ann.lu. (24)&lt;br /&gt;
22:46:27.401527 IP 192.168.1.1.domain &amp;gt; 172.16.237.132.44750:  3108 1/0/0 A apache2-argon.thorin.dreamhost.com (40)&lt;br /&gt;
22:46:27.401809 IP 172.16.237.132.44751 &amp;gt; 192.168.1.1.domain:  32521+ PTR? 251.218.113.208.in-addr.arpa. (46)&lt;br /&gt;
22:46:27.403831 IP 172.16.237.132.44752 &amp;gt; 192.168.1.1.domain:  43254+ AAAA? ann.lu. (24)&lt;br /&gt;
22:46:27.540549 IP 192.168.1.1.domain &amp;gt; 172.16.237.132.44752:  43254 0/1/0 (88)&lt;br /&gt;
22:46:27.540892 IP 172.16.237.132.44753 &amp;gt; 192.168.1.1.domain:  3675+ MX? ann.lu. (24)&lt;br /&gt;
22:46:27.670054 IP 192.168.1.1.domain &amp;gt; 172.16.237.132.44753:  3675 2/0/1 MX&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=domain"&gt;domain&lt;/a&gt;&lt;br /&gt;
22:46:27.683845 IP 192.168.1.1.domain &amp;gt; 172.16.237.132.44751:  32521 1/0/0 (94)&lt;br /&gt;
&lt;hr /&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li&gt;HOST MACHINE&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
$ tcpdump udp&lt;br /&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;br /&gt;
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes&lt;br /&gt;
22:46:27.267992 IP 192.168.1.104.36424 &amp;gt; 192.168.1.1.domain:  3108+ A? ann.lu. (24)&lt;br /&gt;
22:46:27.401318 IP 192.168.1.1.domain &amp;gt; 192.168.1.104.36424:  3108 1/0/0 A apache2-argon.thorin.dreamhost.com (40)&lt;br /&gt;
22:46:27.401488 IP 192.168.1.104.54345 &amp;gt; 192.168.1.1.domain:  5305+ PTR? 251.218.113.208.in-addr.arpa. (46)&lt;br /&gt;
22:46:27.401909 IP 192.168.1.104.36304 &amp;gt; 192.168.1.1.domain:  32521+ PTR? 251.218.113.208.in-addr.arpa. (46)&lt;br /&gt;
22:46:27.403943 IP 192.168.1.104.55388 &amp;gt; 192.168.1.1.domain:  43254+ AAAA? ann.lu. (24)&lt;br /&gt;
22:46:27.540421 IP 192.168.1.1.domain &amp;gt; 192.168.1.104.55388:  43254 0/1/0 (88)&lt;br /&gt;
22:46:27.541043 IP 192.168.1.104.49960 &amp;gt; 192.168.1.1.domain:  3675+ MX? ann.lu. (24)&lt;br /&gt;
22:46:27.669933 IP 192.168.1.1.domain &amp;gt; 192.168.1.104.49960:  3675 2/0/1 MX&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=domain"&gt;domain&lt;/a&gt;&lt;br /&gt;
22:46:27.682846 IP 192.168.1.1.domain &amp;gt; 192.168.1.104.54345:  5305 1/0/0 (94)&lt;br /&gt;
22:46:27.683736 IP 192.168.1.1.domain &amp;gt; 192.168.1.104.36304:  32521 1/0/0 (94)&lt;br /&gt;
&lt;hr /&gt;
&lt;p /&gt;
&lt;br /&gt;
Conclusion&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
The tcpdump output shows that when DNS resolution fails to work in the guest&lt;br /&gt;
instances this is due to vmware networking failing to pass UDP packets back&lt;br /&gt;
to the host machine.&lt;br /&gt;
&lt;br /&gt;
As mentioned above TCP and ICMP packets pass normally when UDP packets fail.</description>
      <pubDate>Sun, 21 Jun 2009 14:55:04 GMT</pubDate>
      <author>shandee</author>
      <guid>http://communities.vmware.com/message/1290446?tstart=0#1290446</guid>
      <dc:date>2009-06-21T14:55:04Z</dc:date>
      <clearspace:dateToText>5 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
  </channel>
</rss>

