<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span style="line-height: 1.7;">Hi all:</span><br><div id="isForwardContent"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div><span class="Apple-tab-span" style="white-space:pre">     </span>I have some kvm host(rhel 6.4, 2.6.32-358.0.1.el6.x86_64), I ran several windows guest on it(more than 10 guest on one host and the guest os are win7-32/win7-64/win2k8), but the guest network kept down automatically, lost package. I tried virtio drive and e1000 drive,but it didn't work. However, if I use cmd.exe kept "ping" some other subnet ip <span style="line-height: 1.7;">the network no problem.</span><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>T<span style="line-height: 1.7;">he host and guest are connected by bridge.</span></div><div>Here is some configure infomation of my guest:</div><div><div>  &n!
 bsp; <span style="color: rgb(136, 0, 0);"><interface type='bridge'></span></div><span style="color: rgb(136, 0, 0);"><div style="color: rgb(136, 0, 0);">      <mac address='aa:aa:aa:49:39:71'/></div><div style="color: rgb(136, 0, 0);">      <source bridge='kvmbr3'/></div><div style="color: rgb(136, 0, 0);">      <model type='e1000'/></div><div style="color: rgb(136, 0, 0);">      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div style="color: rgb(136, 0, 0);">    </interface></div></span><div></div></div><div>brctl show as follow:</div><div><div style="color: rgb(136, 0, 0);"><span style="color: rgb(136, 0, 0);">kvmbr2</span><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">              </span><span style="color: rgb(136, 0, 0);">8000.b8ca3a5cbea2</span><span class="Apple-tab-span" style="white-space: pre; color: rgb(!
 136, 0, 0);">  </span><span style="color: rgb(136, 0, 0);">no</!
 span><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">               </span><span style="color: rgb(136, 0, 0);">eth2</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                     </span><span style="color: rgb(136, 0, 0);">vnet0</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                    </span><span style="color: rgb(136, 0, 0);">vnet11</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet13</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet15</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0!
 , 0);">                                                        </span><span style="color: rgb(136, 0, 0);">vnet17</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet19</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet2</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                    </span><span style="color: rgb(136, 0, 0);">vnet21</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet23</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet25</spa!
 n></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span!
 " style="white-space: pre; color: rgb(136, 0, 0);">                                                  </span><span style="color: rgb(136, 0, 0);">vnet27</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet29</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                   </span><span style="color: rgb(136, 0, 0);">vnet5</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                    </span><span style="color: rgb(136, 0, 0);">vnet7</span></div><div style="color: rgb(136, 0, 0);"><span class="Apple-tab-span" style="white-space: pre; color: rgb(136, 0, 0);">                                                    </span><span style="color: rgb(136, 0, 0);">vnet9</span></div><div style="color: rgb(0, 0, 0);">The /etc/sysctl.conf configure as follow:</div><div><div><font color="#880000"># Kernel sysctl !
 configuration file for Red Hat Linux</font></div><div><font color="#880000">#</font></div><div><font color="#880000"># For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and</font></div><div><font color="#880000"># sysctl.conf(5) for more details.</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls IP packet forwarding</font></div><div><font color="#880000">net.ipv4.ip_forward = 0</font></div><div><font color="#880000">#net.ipv4.ip_forward = 1</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls source route verification</font></div><div><font color="#880000">net.ipv4.conf.default.rp_filter = 1</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Do not accept source routing</font></div><div><font color="#880000">net.ipv4.conf.default.accept_source_route = 0</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Co!
 ntrols the System Request debugging functionality of the kernel</font><!
 /div><div><font color="#880000">kernel.sysrq = 0</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls whether core dumps will append the PID to the core filename.</font></div><div><font color="#880000"># Useful for debugging multi-threaded applications.</font></div><div><font color="#880000">kernel.core_uses_pid = 1</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls the use of TCP syncookies</font></div><div><font color="#880000">net.ipv4.tcp_syncookies = 1</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Disable netfilter on bridges.</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls the default maxmimum size of a mesage queue</font></div><div><font color="#880000">kernel.msgmnb = 65536</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls the maximum size of a message, in !
 bytes</font></div><div><font color="#880000">kernel.msgmax = 65536</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls the maximum shared segment size, in bytes</font></div><div><font color="#880000">kernel.shmmax = 68719476736</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"># Controls the maximum number of shared memory segments, in pages</font></div><div><font color="#880000">kernel.shmall = 4294967296</font></div><div><font color="#880000">########### add by operation V1.0 begin ############</font></div><div><font color="#880000">net.ipv4.ip_local_port_range = 32768 65000</font></div><div><font color="#880000">net.core.rmem_max = 8388608</font></div><div><font color="#880000">net.core.wmem_max = 8388608</font></div><div><font color="#880000">net.ipv4.tcp_rmem = 4096 87380 8388608</font></div><div><font color="#880000">net.ipv4.tcp_wmem = 4096 65536 8388608</font></div><div><font color="#880000">!
 net.ipv4.tcp_max_syn_backlog = 8192</font></div><div><font color="#8800!
 00">net.ipv4.tcp_window_scaling = 0</font></div><div><font color="#880000">net.ipv4.tcp_sack = 0</font></div><div><font color="#880000">net.ipv4.tcp_timestamps = 0</font></div><div><font color="#880000">kernel.panic = 5</font></div><div><font color="#880000">vm.swappiness = 51</font></div><div><font color="#880000">########### add by operation V1.0 end ############</font></div><div><font color="#880000"><br></font></div><div><font color="#880000">net.bridge.bridge-nf-call-ip6tables = 0</font></div><div><font color="#880000">net.bridge.bridge-nf-call-iptables = 0</font></div><div><font color="#880000">net.bridge.bridge-nf-call-arptables = 0</font></div><div><font color="#880000"><br></font></div><div><font color="#880000"><br></font></div><div><font color="#880000">#add by wdh</font></div><div><font color="#880000">#net.ipv4.conf.all.proxy_arp = 1</font></div></div></div><div><font color="#880000"><br></font></div><div><div style="font-family: Helvetica, 'Microsoft Yahei', v!
 erdana;">Best Regards,</div><div style="font-family: Helvetica, 'Microsoft Yahei', verdana;">cochen</div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>