网通的地址段是哪些?电信的呢?有没有完全点的统计呢?
翻翻看ftp里 bow 的文件夹,偶然发现的;-)需要改造一下啦,那篇文章是给 windows & ipfw 写的然后研究一下:http://www.mikrotik.com/docs/ros/2.8/ip/route.content 俺才读了几天的手册,还没有太多配置routeos的经验,你的网络情况按照 BGP 备置似乎也好,如果有心得别忘了分享一下 谢谢老兄,烟酒烟酒 在 FAQ 里看到的,和你的需求一致,就是说要用 NAT 而不要用 masquerade , 因为 masquerade 是自动取外部地址的。要指定 'to-src-address' 给 src-nat 规则How can I masquerade two different subnets using two different external IP addresses for them? It is not possible in V2.4. Starting with V2.5, use '/ip firewall src-nat' rule with 'action=nat', specify the 'to-src-address' argument value. It should be one of the router's external addresses. If you use 'action=masquerade', the 'to-src-address' is not taken into account, since it is substituted by the external address of the router automatically. 楼上的方法没用过,不过用源地址策略路由可以实现,说明书里的??路由、等价多径路由、策略路由中有相关描述。策略路由配置比较麻烦,不知道有没有简单的方法。 QUOTE (mrmx @ Jan 7 2005, 11:32 AM)
在 FAQ 里看到的,和你的需求一致,就是说要用 NAT 而不要用 masquerade , 因为 masquerade 是自动取外部地址的。要指定 'to-src-address' 给 src-nat 规则How can I masquerade two different subnets using two different external IP addresses for them? It is not possible in V2.4. Starting with V2.5, use '/ip firewall src-nat' rule with 'action=nat', specify the 'to-src-address' argument value. It should be one of the router's external addresses. If you use 'action=masquerade', the 'to-src-address' is not taken into account, since it is substituted by the external address of the router automatically.
今天晚上试用一下这个方法,看看行不行 刚刚试了,改成NAT后,网都上不了 你的ADSL是pppoe的还是固定IP的?如果是PPPOE不太好办,是固定IP就很容易 不会吧,我有5个IP,所以我使用的 NAT ,现在工作的好好的,一点问题都没有也,看看对你有用吗?src-address=192.168.0.0/24 out-interface=CNC action=natto-src-address=x.0.x.218-x.0.x.222 to-src-address=x.0.191.218-x.0.191.222 这个是什么意思?我这里要不要改什么的? 就是我对外的5个ip呀,我不能都写全了呀;-)按你的配置填上你的IP就好了
页:
[1]
2