+ -
当前位置:首页 → 问答吧 → 问个关于fb7 ping 网关丢包的问题

问个关于fb7 ping 网关丢包的问题

时间:2010-08-25

来源:互联网

使用的是ipfw防火墙,没做NAT,规则也非常简单,但ping 网关的时候老是丢包,ssh非常慢,敲个字母需要等半分钟,网段内的流量非常小,用别的机器(windows xp系统)连上我那根线,ping 网关没有丢包,远程连接的速度也很理想,希望各位能告诉我下可能造成这种情况的原因,我的QQ号:355528446
  1. ipfw add allow tcp any to me 53 in via bge1 setup
  2. ipfw add allow tcp me to any 53 out via bge1 keep-state
  3. ipfw add allow udp any to me 53 in via bge1 setup
  4. ipfw add allow udp me to any 53 out via bge1 keep-state

  5. ipfw add allow tcp any to me 80 in via bge1 setup
  6. ipfw add allow tcp me to any 80 out via bge1 keep-state

  7. ipfw add allow tcp any to me 22 in via bge1 setup
  8. ipfw add allow tcp me to any 22 out via bge1 keep-state

  9. ipfw add pass icmp any to any
复制代码
  1. net.inet.ip.fw.dyn_keepalive: 1
  2. net.inet.ip.fw.dyn_short_lifetime: 5
  3. net.inet.ip.fw.dyn_udp_lifetime: 10
  4. net.inet.ip.fw.dyn_rst_lifetime: 1
  5. net.inet.ip.fw.dyn_fin_lifetime: 1
  6. net.inet.ip.fw.dyn_syn_lifetime: 20
  7. net.inet.ip.fw.dyn_ack_lifetime: 300
  8. net.inet.ip.fw.static_count: 11
  9. net.inet.ip.fw.dyn_max: 4096
  10. net.inet.ip.fw.dyn_count: 0
  11. net.inet.ip.fw.curr_dyn_buckets: 256
  12. net.inet.ip.fw.dyn_buckets: 256
  13. net.inet.ip.fw.verbose_limit: 5
  14. net.inet.ip.fw.verbose: 1
  15. net.inet.ip.fw.debug: 1
  16. net.inet.ip.fw.one_pass: 1
  17. net.inet.ip.fw.autoinc_step: 100
  18. net.inet.ip.fw.enable: 1
复制代码

作者: cszx2007   发布时间: 2010-08-25

1) 升级
2) 禁用防火墙
3) 换网卡
4) 无解,RPWT

作者: langue   发布时间: 2010-08-25

谢谢哥们

作者: cszx2007   发布时间: 2010-08-25