找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5116|回复: 10

[pppoe] 在PPPOE中遇到比较罕见的问题,请高手进来指点!急!急!急

[复制链接]
发表于 2005-4-23 18:02:33 | 显示全部楼层 |阅读模式

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

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

×
我用的是ros 2.8.26 5 级,在PPPOE全部设置好了以后可以正常上网了,我一共用了3块网卡,1快8139用于外网,两块D-LINK530 用于内网,IP 地址是:192.168.0.1和192.168.1.1,用户数量不到200.可后来发现大部分用户无法登陆界面就是说192.168.0.1和192.168.1.1都无法显示,登陆不上,我关掉了IP---FIREWALL--Connections中的Tracking,可以登陆上了,可上网速度就非常的慢,有时都无法打开其他的网页,可Tracking 变成enable后,上网速度正常了.登陆界面又打不开了.请各位高手指点!!
routeros
 楼主| 发表于 2005-4-24 09:31:22 | 显示全部楼层
难道说,没有哪位高手可以帮助我的吗?请来看的朋友不要吝啬,请发表一下你们的看法。很着急呀!谢谢各位了!!
routeros
回复

使用道具 举报

发表于 2005-4-24 18:02:58 | 显示全部楼层
看日志了吗
routeros
回复

使用道具 举报

发表于 2005-4-24 19:07:57 | 显示全部楼层
机器是什么配置
routeros
回复

使用道具 举报

 楼主| 发表于 2005-4-24 19:22:00 | 显示全部楼层
PIII 450   256MSD 60G 高速是不是配置太低了?可我以前用的是K6266跑着一点问题也没有呀!!日志我也看了,没有什么问题呀!
routeros
回复

使用道具 举报

 楼主| 发表于 2005-4-25 12:32:28 | 显示全部楼层
正常的应该是这样的登陆页面
2.jpg
routeros
回复

使用道具 举报

发表于 2005-4-25 12:42:29 | 显示全部楼层
QUOTE (darkcomputer @ Apr 25 2005, 12:32 PM)
正常的应该是这样的登陆页面
你这个登陆页面怎么做的?请教之~!说明越详细越容易找到原因,我也是做PPPOE服务器的.  呵呵~!60G盘太可惜了啊~!根本就不是PPPOE服务器嘛~!哎~!  老眼昏花了,呵呵是所谓的热点网关嘛~!
routeros
回复

使用道具 举报

发表于 2005-4-25 13:13:49 | 显示全部楼层
误道,提供HOSTSHOP设置才能找到问题,估计是划分了网段造成的.
routeros
回复

使用道具 举报

发表于 2005-4-25 13:18:55 | 显示全部楼层
请问你怎么安装530TX的,我安装了2。8。26版本之后,看驱动那里都没有530TX的驱动,在WINBOX那里确实显示4块网卡,3块530TX和1块8139的,可是只能PING通8139的,530的全部都PING不通。。。
routeros
回复

使用道具 举报

 楼主| 发表于 2005-4-25 16:12:13 | 显示全部楼层
hosspot设置说明作者:zhanghui 参照routeros的手册,针对我的情况作了部分修改。已经在2.7.14和2.8.11上测试通过。我的routeros是2块网卡,ether1连接adsl,做pppoe client,ether2连接局域网。首先按照论坛上置顶的说明正确安装并配置routeros,实现客户机能够正常上网。然后terminal routeros改变www服务端口为8081:CODE  /ip service set www port=8081  改变hotspot服务端口为80,为用户登录页面做准备:CODE  /ip service set hotspot port=80 Setup hotspot profile to mark authenticated users with flow name "hs-auth": CODE  /ip hotspot profile set default mark-flow="hs-auth" login-method=enabled-address  增加一个用户:CODE  /ip hotspot user add name=user1 password=1 重定向所有未授权用户的tcp请求到hotspot服务CODE  /ip firewall dst-nat add in-interface="ether2" flow="!hs-auth" protocol=tcp action=redirect to-dst-port=80 comment="redirect unauthorized clients to hotspot service"  允许dns请求、icmp ping ;拒绝其他未经认证的所有请求:CODE  /ip firewall add name=hotspot-temp comment="limit unauthorized hotspot clients" /ip firewall rule forward add in-interface=ether2 action=jump jump-target=hotspot-temp comment="limit access for unauthorized hotspot clients" /ip firewall rule input add in-interface=ether2 dst-port=80 protocol=tcp action=accept comment="accept requests for hotspot servlet" /ip firewall rule input add in-interface=ether2 dst-port=67 protocol=udp action=accept comment="accept requests for local DHCP server" /ip firewall rule input add in-interface=ether2 action=jump jump-target=hotspot-temp comment="limit access for unauthorized hotspot clients" /ip firewall rule hotspot-temp add flow="hs-auth" action=return comment="return if connection is authorized" /ip firewall rule hotspot-temp add protocol=icmp action=return comment="allow ping requests" /ip firewall rule hotspot-temp add protocol=udp dst-port=53 action=return comment="allow dns requests" /ip firewall rule hotspot-temp add action=reject comment="reject access for unauthorized clients"  创建hotspot通道给认证后的hotspot用户Create hotspot chain for authorized hotspot clients: CODE  /ip firewall add name=hotspot comment="account authorized hotspot clients"  Pass all through going traffic to hotspot chain: CODE  /ip firewall rule forward add action=jump jump-target=hotspot comment="account traffic for authorized hotspot clients"  客户机输入任何网址,都自动跳转到登陆页面,输入账号密码,继续浏览。如果使用ftp、pop3等,也必须先通过网页登录,才可以使用,当然使用winbox的时候也必须先登录。   客户机设置:ip:与routeros内网在同一网断,或者自动获取(前提是开启了dhcp服务)dns:建议采用本省的dns,可以减少dns转发占的资源网关:routeros内网ip我是按照这个做的!难道不适合我吗?
routeros
回复

使用道具 举报

发表于 2005-4-25 17:08:59 | 显示全部楼层
QUOTE (独孤风行 @ Apr 25 2005, 12:42 PM)


QUOTE (darkcomputer @ Apr 25 2005, 12:32 PM)
正常的应该是这样的登陆页面
你这个登陆页面怎么做的?请教之~!说明越详细越容易找到原因,我也是做PPPOE服务器的.  呵呵~!60G盘太可惜了啊~!根本就不是PPPOE服务器嘛~!哎~!  老眼昏花了,呵呵是所谓的热点网关嘛~!  
  登陆界面可以ftp登陆后上传到hotspot文件夹,文件名是login.html但是我用虚拟机和真实的机器安装ros2.8.26之后,ftp都没有显示,但是新建文件夹和上传文件都是成功的,我怎么知道的呢???因为我用光盘版的linux启动ros机器,然后mount ros的盘就看到它的结构了,ftp的根目录是/home,hotspot文件的目录是/home/hotspot。。。。想修改什么的就慢慢改吧,,,
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-10 23:25 , Processed in 0.103834 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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