免费注册 查看新帖 |

Chinaunix

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

ip route 问题 求解 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2011-01-25 22:52 |只看该作者
添加table ppp0的时候指定src试试,我个人感觉是由于回应包无法到达造成的吧。

论坛徽章:
0
2 [报告]
发表于 2011-01-26 14:48 |只看该作者
本帖最后由 tianer 于 2011-01-27 18:03 编辑

回复 2# net-pedestrian


现在在192.168.3.79上ping 某个ip
网关机用tcpdump抓包 结果如下

tcpdump -i eth0 dst 67.xx.xx.xx
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
17:53:06.975588 IP 192.168.3.79 > 67.xx.xx.xx: ICMP echo request, id 512, seq 20393, length 40
17:53:12.485963 IP 192.168.3.79 > 67.xx.xx.xx: ICMP echo request, id 512, seq 20649, length 40

tcpdump -i ppp0                  
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
17:53:39.995992 IP 192.168.1.13 > 67.xx.xx.xx: ICMP echo request, id 512, seq 21929, length 40
17:53:45.510431 IP 192.168.1.13 > 67.xx.xx.xx: ICMP echo request, id 512, seq 22185, length 40

查看路由
ip route ls
192.168.0.78 dev ppp0  proto kernel  scope link  src 10.0.0.4
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.x
169.254.0.0/16 dev eth0  scope link
default via 192.168.1.254 dev eth0

论坛徽章:
0
3 [报告]
发表于 2011-02-20 17:19 |只看该作者
还是没解决

论坛徽章:
0
4 [报告]
发表于 2011-02-22 15:49 |只看该作者
路过看看

论坛徽章:
0
5 [报告]
发表于 2011-02-24 08:59 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP