LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1031|回复: 8

求助:L2TP client in Fedora Core 6, connected but no ping

[复制链接]
发表于 2006-10-31 12:38:37 | 显示全部楼层 |阅读模式
After l2tp conneting , I tried to ping the remote IP. In Network Tool, both the number of RX and TX packets increased one by one , but no ping received.

Here is the message:
Oct 31 09:57:58 localhost l2tpd[5290]: This binary does not support kernel L2TP.
Oct 31 09:57:58 localhost l2tpd[5291]: l2tpd version 0.69-FedoraExtra started on localhost.kinsprite PID:5291
Oct 31 09:57:58 localhost l2tpd[5291]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Oct 31 09:57:58 localhost l2tpd[5291]: Forked by Scott Balmos and David Stipp, (C) 2001
Oct 31 09:57:58 localhost l2tpd[5291]: Inherited by Jeff McAdams, (C) 2002
Oct 31 09:57:58 localhost l2tpd[5291]: Listening on IP address 0.0.0.0, port 1701
Oct 31 09:58:08 localhost l2tpd[5291]: Connecting to host 58.207.255.106, port 1701
Oct 31 09:58:08 localhost l2tpd[5291]: Connection established to 58.207.255.106, 1701. Local: 13861, Remote: 17404.
Oct 31 09:58:08 localhost l2tpd[5291]: Calling on tunnel 13861
Oct 31 09:58:08 localhost l2tpd[5291]: Call established with 58.207.255.106, Local: 42624, Remote: 37309, Serial: 1
Oct 31 09:58:08 localhost pppd[5293]: pppd 2.4.4 started by root, uid 0
Oct 31 09:58:08 localhost pppd[5293]: Using interface ppp0
Oct 31 09:58:08 localhost pppd[5293]: Connect: ppp0 <--> /dev/pts/5
Oct 31 09:58:08 localhost pppd[5293]: CHAP authentication succeeded
Oct 31 09:58:08 localhost pppd[5293]: not replacing existing default route via 222.20.74.254
Oct 31 09:58:08 localhost pppd[5293]: Cannot determine ethernet address for proxy ARP
Oct 31 09:58:08 localhost pppd[5293]: local IP address 58.207.166.42
Oct 31 09:58:08 localhost pppd[5293]: remote IP address 58.207.255.110
Oct 31 09:58:08 localhost pppd[5293]: primary DNS address 58.207.255.35
Oct 31 09:58:08 localhost pppd[5293]: secondary DNS address 211.71.131.35

in "route -n", there is :
Destination Gateway Genmask Flags Metric Ref Use Iface
58.207.255.110 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0


My options.l2tpd is
ipcp-accept-local
ipcp-accept-remote
noccp
noauth
defaultroute
lock
proxyarp
usepeerdns
connect-delay 5000


Please help me.... 谢谢了。
发表于 2006-10-31 13:20:45 | 显示全部楼层
try arping
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 14:36:42 | 显示全部楼层
非常感谢你的回答。

arping -I ppp0 58.207.255.110
是这个吗?  58.207.225.110 是远程IP.

我主要是想在linux也能使用教育网直通车上外网。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 14:36:52 | 显示全部楼层
arping 不能用到这个。
我把 proxyarp 改为 noproxyarp, 也不行。
再把firewall关闭 与 让SELinux允许,也不行。 ):
回复 支持 反对

使用道具 举报

发表于 2006-10-31 15:23:35 | 显示全部楼层
中国人说什么洋文啊?
tcpdump -i ppp0
能听到东西麽?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 17:04:20 | 显示全部楼层
没有听到什么声音。  ping 58.207.255.110 时看到
eq 14, length 64
16:49:50.231459 IP 58.207.164.9 > 58.207.255.110: ICMP echo request, id 12811, seq 15, length 64
16:49:51.231442 IP 58.207.164.9 > 58.207.255.110: ICMP echo request, id 12811, seq 16, length 64

16 packets captured
32 packets received by filter
0 packets dropped by kernel

全是发出去的,没有进来的!
回复 支持 反对

使用道具 举报

发表于 2006-10-31 17:05:10 | 显示全部楼层
还是用pppoe稳定些,呵呵
回复 支持 反对

使用道具 举报

发表于 2006-10-31 17:12:00 | 显示全部楼层
不好意思这个听是监听数据包的听.
就是能发不能收咯.
看看服务器端的路由.
去服务器端ping 记得加-i指定端口
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 17:31:08 | 显示全部楼层
还是用pppoe稳定些,呵呵
pppOE能用到 L2TP 协议上吗 ?
去服务器端ping 记得加-i指定端口
服务器是教育网直通车的,  在widnow下面我连接成功且可以通过它上外网.  我这里是教育网, 不能上国外网站。

有没有办法 把  Connect: ppp0 <--> /dev/pts/5 改为Connect: ppp0 <--> /dev/eth0 ?? 这个方法是否可以连接出去 ??
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表