blclass 发表于 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    期待高手帮我解决这个问题,感谢

WGHBOY 发表于 2010-5-19 00:20:54

一个字,乱

vAnA 发表于 2010-5-19 03:45:57

呵呵,乱是乱,关键的QQ不是留下了没,¥呀~

blclass 发表于 2010-5-20 13:51:01

我就想知道是哪儿出了问题。

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

47771885 发表于 2010-5-20 14:01:17

我就想知道是哪儿出了问题。

二楼,我再请教个关于硬路由的问题   现在有一种路由可以实现任意IP上网, ...
blclass 发表于 2010-5-20 13:51 http://bbs.routerclub.com/images/common/back.gif


    ROS 可以啊

mxso 发表于 2010-5-20 14:21:10

本帖最后由 mxso 于 2010-5-20 14:22 编辑

回复 4# blclass


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

blclass 发表于 2010-5-21 11:26:02

自动获取IP和手动指定IP,可以上网!!!!就是PPPOE设置拨号后,不能上网。可以拨上号,却上不了。不知道哪的设置出了问题。

另外,五楼的兄弟。ROS可以实现任意IP上网,但是需要认证之后才能上的呀
页: [1]
查看完整版本: 有问题请高手帮忙