找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 12336|回复: 29

[pppoe] 为什么用pppoe延迟比lan方式大?

[复制链接]
发表于 2006-12-8 23:52:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
C:\Documents and Settings\Archimedes>ping www.2118.com.cn

Pinging www.2118.com.cn [61.137.93.90] with 32 bytes of data:

Reply from 61.137.93.90: bytes=32 time=1ms TTL=248
Reply from 61.137.93.90: bytes=32 time=1ms TTL=248
Reply from 61.137.93.90: bytes=32 time=1ms TTL=248
Reply from 61.137.93.90: bytes=32 time=1ms TTL=248

这是lan方式

C:\Documents and Settings\Archimedes>ping www.2118.com.cn

Pinging www.2118.com.cn [61.137.93.90] with 32 bytes of data:

Reply from 61.137.93.90: bytes=32 time=13ms TTL=248
Reply from 61.137.93.90: bytes=32 time=15ms TTL=248
Reply from 61.137.93.90: bytes=32 time=15ms TTL=248

这是用pppoe
routeros
 楼主| 发表于 2006-12-8 23:52:19 | 显示全部楼层
是不是设置问题?
routeros
回复

使用道具 举报

 楼主| 发表于 2006-12-8 23:56:14 | 显示全部楼层
我用ros ping本机pppoe地址都是这样

[admin@              ] > ping 192.168.1.20
192.168.1.20 64 byte ping: ttl=128 time=10 ms
192.168.1.20 64 byte ping: ttl=128 time=10 ms
192.168.1.20 64 byte ping: ttl=128 time=5 ms
192.168.1.20 64 byte ping: ttl=128 time=11 ms
192.168.1.20 64 byte ping: ttl=128 time=6 ms
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 5/8.4/11 ms
routeros
回复

使用道具 举报

发表于 2006-12-8 23:56:23 | 显示全部楼层
没有发现这样的问题啊
routeros
回复

使用道具 举报

 楼主| 发表于 2006-12-9 00:04:09 | 显示全部楼层
PPPOE 按说使用以后上网和lan方式一样

怎么延迟差这么多

还有我用pppoe有些论坛无法发贴
routeros
回复

使用道具 举报

发表于 2006-12-9 00:07:12 | 显示全部楼层
看看你的设置
routeros
回复

使用道具 举报

 楼主| 发表于 2006-12-9 00:17:39 | 显示全部楼层
和pppoe有关的设置

/ interface pppoe-server server
add service-name="PPPOE Service" interface=neiwang max-mtu=1488 max-mru=1488 \
    authentication=pap,chap,mschap1,mschap2 keepalive-timeout=10 \
    one-session-per-host=yes max-sessions=0 default-profile=default \
    disabled=no

/ ppp profile
set default name="default" local-address=192.168.1.2 use-compression=default \
    use-vj-compression=default use-encryption=default only-one=default \
    change-tcp-mss=yes dns-server=192.168.1.1 comment=""
set default-encryption name="default-encryption" use-compression=default \
    use-vj-compression=default use-encryption=yes only-one=default \
    change-tcp-mss=yes comment=""
/ ppp secret
add name="ppp0XX" service=pppoe caller-id="XX:XX:XX:XX:XX:XX" \
    password="XXXXXX" profile=default remote-address=192.168.1.20 routes="" \
    limit-bytes-in=0 limit-bytes-out=0 comment="" disabled=no
routeros
回复

使用道具 举报

发表于 2006-12-9 00:47:09 | 显示全部楼层
会不会是caller-id="XX:XX:XX:XX:XX:XX"影响了速度?你删掉试试
routeros
回复

使用道具 举报

 楼主| 发表于 2006-12-9 00:58:54 | 显示全部楼层
那是帐号中设置绑定mac地址的
不会影响速度
routeros
回复

使用道具 举报

发表于 2006-12-9 01:00:54 | 显示全部楼层
我也是,PPOE做的延时高,我还以为是自然如此,因为我这边的ADSL延时就是比光纤高.嘿嘿,我完全是WINBOX设置,没发现什么地方可以改善,希望高人说明一下
routeros
回复

使用道具 举报

发表于 2006-12-9 01:14:51 | 显示全部楼层
我这里没有发现问题啊,前后没有什么区别
routeros
回复

使用道具 举报

 楼主| 发表于 2006-12-9 01:20:58 | 显示全部楼层
我的主要是延迟差太远

不然不会在意
routeros
回复

使用道具 举报

发表于 2006-12-9 02:40:01 | 显示全部楼层
我也是一样不明白,早就发现了,也早就说了,可是没人说个所以然
routeros
回复

使用道具 举报

发表于 2006-12-9 09:39:31 | 显示全部楼层
PPPOE本身就是要慢一些,但到底慢多少也没有一个确定标准,因为和机器配置关系很大.
routeros
回复

使用道具 举报

发表于 2006-12-9 10:03:50 | 显示全部楼层
因为pppoe需要把IP包封装到ppp中,自然要比正常的lan要慢
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2025-4-23 12:46 , Processed in 0.158786 second(s), 14 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

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