免费注册 查看新帖 |

Chinaunix

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

求救!linux 做好的网关预见的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-30 09:20 |只看该作者 |倒序浏览
我是adsl 2M的带宽,做了一个nat

论坛徽章:
0
2 [报告]
发表于 2007-03-30 09:22 |只看该作者
是这样的问题C:\Documents and Settings\Administrator>tracert www.sina.com.cn

Tracing route to jupiter.sina.com.cn [202.108.33.32]
over a maximum of 30 hops:

  1     1 ms    <1 ms     1 ms  192.168.0.100
  2     *        *        *     Request timed out.
  3    17 ms    17 ms    17 ms  61.148.92.9
  4    17 ms    17 ms    21 ms  bt-229-081.bta.net.cn [202.106.229.81]
  5    16 ms    17 ms    16 ms  202.106.193.1
  6    16 ms    16 ms    16 ms  202.106.193.250
  7    28 ms    17 ms    17 ms  210.74.176.154
  8    77 ms    45 ms    21 ms  202.108.33.32

Trace complete.

C:\Documents and Settings\Administrator>
为什么总是在第二跳不通呢请高手给指点一下原因。谢谢

论坛徽章:
0
3 [报告]
发表于 2007-03-30 16:53 |只看该作者

回复 #2 okhaoabc123 的帖子

贴一下linux网关上运行iptables -t nat -L -v的结果

论坛徽章:
0
4 [报告]
发表于 2007-03-30 17:00 |只看该作者
[root@ns ~]# iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 24M packets, 1907M bytes)
pkts bytes target     prot opt in     out     source               destination

Chain POSTROUTING (policy ACCEPT 411K packets, 89M bytes)
pkts bytes target     prot opt in     out     source               destination
2998K  173M MASQUERADE  all  --  any    any     192.168.0.0/24       anywhere   

Chain OUTPUT (policy ACCEPT 478K packets, 40M bytes)
pkts bytes target     prot opt in     out     source               destination
随便问一下你们上网是用adsl吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP