找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2579|回复: 6

[其它] 有问题请高手帮忙

[复制链接]
发表于 2010-5-18 22:10:32 | 显示全部楼层 |阅读模式

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

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

×
我用双线叠加,然后弄PPP拨号,号能拨上。却上不了网。用DHCP分配IP可以上。以下是我的双线叠加的代码,高手帮忙解决下。

/ip address add address=192.168.0.254/255.255.255.0 interface=ether1 comment=lan
/ip dns set primary-dns=202.96.134.133 secondary-dns=202.96.128.68 allow-remote-requests=yes
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/interface pppoe-client add name="pppoe-out1" interface=ether2 user="wwwszwblmcom@163.gd" password="WWW.SZWBLM.COM" add-default-route=no disabled=no
/interface pppoe-client enable pppoe-out1
/ip address add address=58.58.58.1/32 interface=pppoe-out1 comment="1"
/ip route add gateway=58.58.58.1 routing-mark=1 comment="1"
/ip firewall mangle add chain=prerouting in-interface=ether1 connection-state=new nth=1,1,0 action=mark-connection new-connection-mark=1 passthrough=yes disabled=no
/ip firewall mangle add chain=prerouting in-interface=ether1 connection-mark=1 action=mark-routing new-routing-mark=1 passthrough=no disabled=no
/ip firewall nat add chain=srcnat connection-mark=1 action=src-nat to-addresses=58.58.58.1 to-ports=0-65535 comment="1" disabled=no
/interface pppoe-client add name="pppoe-out2" interface=ether3 user="wwwszwblmcsom@163.gd" password="WWW.SZWBLM.COM" add-default-route=no disabled=no
/interface pppoe-client enable pppoe-out2
/ip address add address=58.58.58.2/32 interface=pppoe-out2 comment="2"
/ip route add gateway=58.58.58.2 routing-mark=2 comment="2"
/ip firewall mangle add chain=prerouting in-interface=ether1 connection-state=new nth=1,1,1 action=mark-connection new-connection-mark=2 passthrough=yes disabled=no
/ip firewall mangle add chain=prerouting in-interface=ether1 connection-mark=2 action=mark-routing new-routing-mark=2 passthrough=no disabled=no
/ip firewall nat add chain=srcnat connection-mark=2 action=src-nat to-addresses=58.58.58.2 to-ports=0-65535 comment="2" disabled=no


我的QQ是:147025421    期待高手帮我解决这个问题,感谢
routeros
发表于 2010-5-19 00:20:54 | 显示全部楼层
一个字,乱
routeros
回复

使用道具 举报

发表于 2010-5-19 03:45:57 | 显示全部楼层
呵呵,乱是乱,关键的QQ不是留下了没,¥呀~
routeros
回复

使用道具 举报

 楼主| 发表于 2010-5-20 13:51:01 | 显示全部楼层
我就想知道是哪儿出了问题。

二楼,我再请教个关于硬路由的问题     现在有一种路由可以实现任意IP上网,简单点说就是客人来我们酒店不管客人电脑如何设置IP和DNS,只要插上我们的线就可以上了。   也不需要认证什么。二楼如果知道的话告诉我是什么品牌的路由什么型号,非常感谢!!!
routeros
回复

使用道具 举报

发表于 2010-5-20 14:01:17 | 显示全部楼层



    ROS 可以啊
routeros
回复

使用道具 举报

发表于 2010-5-20 14:21:10 | 显示全部楼层
本帖最后由 mxso 于 2010-5-20 14:22 编辑

回复 4# blclass


你还是写个建立pppoe拨号简单教程每间贴一张吧,没有这样pnp的东西,至少你得将调至自动获得IP!
routeros
回复

使用道具 举报

 楼主| 发表于 2010-5-21 11:26:02 | 显示全部楼层
自动获取IP和手动指定IP,可以上网!!!!就是PPPOE设置拨号后,不能上网。可以拨上号,却上不了。不知道哪的设置出了问题。

另外,五楼的兄弟。ROS可以实现任意IP上网,但是需要认证之后才能上的呀
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-2 12:13 , Processed in 0.119991 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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