<div dir="ltr">Could it be that you have a lot of traffic coming out of your station and you are running out of available tcp/udp ports (in bridged mode the VMs would not be using ports as their traffic is practically direct with the NIC, but in NAT mode they would be taking up TCP/UDP ports on your host machine) ?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/22 Shachar Shemesh <span dir="ltr">&lt;<a href="mailto:shachar@shemesh.biz" target="_blank">shachar@shemesh.biz</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
    
  
  <div style="direction:ltr" text="#000000" bgcolor="#FFFFFF"><div class="im">
    <div>On 01/22/2013 04:22 PM, Baruch Shpirer
      wrote:<br>
    </div>
    <blockquote type="cite">
      <p>Are all vms running same os?<br>
      </p>
    </blockquote></div>
    My host machine is Debian Squeeze with kernel from backports. My VM
    is an Ubuntu server 12.10 (kernel 3.4, IIRC).<br>
    <br>
    Also, I have some more orderly collected information. All attempts
    are for connecting to my own server (<a href="http://han.lingnu.com" target="_blank">han.lingnu.com</a>):<br>
    <ul>
      <li>DNS resolution works fine</li>
      <li>Ping works fine</li>
      <li>Ssh hangs</li>
      <li>Sniffing shows that a SYN is sent, a SYN-ACK that seems
        correct is received, and my computer sends a RST<br>
      </li>
      <li>The same happens to my web connections</li>
    </ul>
    <p>Also, when connecting from the VM:<br>
    </p>
    <ul>
      <li>When the VM&#39;s eth0 is bridged to the host&#39;s wlan0, all is
        working fine.</li>
      <li>When the VM&#39;s eth0 is connect via NAT, the VM cannot connect
        either (didn&#39;t check with sniffer, but ping works and ssh hangs)</li>
    </ul>
    <p>I tried stopping network-manager, switching off the interface
      (through the laptop&#39;s switch) and unloading the kernel module for
      the wifi. I then re-enabled everything. The problem remained.<br>
    </p>
    <p>My iptables is devoid of rules.<br>
    </p>
    <p>I could not, this time, check whether cabled connection worked in
      parallel, as the house was asleep. I&#39;ll check next time.<span class="HOEnZb"><font color="#888888"><br>
    </font></span></p><span class="HOEnZb"><font color="#888888">
    <p>Shachar<br>
    </p>
    <pre cols="72">-- 
Shachar Shemesh
</pre>
  </font></span></div>

<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>