免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1596 | 回复: 0
打印 上一主题 下一主题

[FreeBSD] freebsd做NAT的一个问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-03-25 16:32 |只看该作者 |倒序浏览
原先一直通过freebsd+ipf做网关上网,最近硬盘坏了,重新装了freebsd10.0,结果发现上网会莫名其妙的断流,在内网ping外网,有时候会收到网关直接回复的目标地址不可达的消息。用systat -ip查看,确实有unreachable dests的包:
   507370 total packets received      497104 total packets sent
        0 - with bad checksums          1674 - generated locally
        0 - too short for header           0 - output drops
        0 - too short for data             0 output fragments generated
        0 - with invalid hlen              0 - fragmentation failed
        0 - with invalid length            0 destinations unreachable
        0 - with invalid version           0 packets output via raw IP
        0 - jumbograms
        0 total fragments received           UDP Statistics
        0 - fragments dropped           3311 total input packets
        0 - fragments timed out            0 - too short for header
        0 - packets reassembled ok         0 - invalid checksum
   495430 packets forwarded                0 - no checksum
     6675 - unreachable dests              0 - invalid length
        0 - redirects generated            1 - no socket for dest port
        0 option errors                 1976 - no socket for broadcast
        0 unwanted multicasts              0 - socket buffer full
     3568 delivered to upper layer      1328 total output packets
问题是我已经配了默认路由的情况下为什么会存在目标不可达的情况呢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP