找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1726|回复: 2

[其它] 求救!!!!

[复制链接]
发表于 2006-3-9 09:31:51 | 显示全部楼层 |阅读模式

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

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

×
我有一个外网网段 10.76.132.1-254 目前这个网段每个IP被单点限制连接数目128个连接,所以不能用一个10.76.132.*   网段IP作外网IP , 内网192.168.1.0-254 共200台计算机,大家有没有做过用routeos 做路由,外网使用多个IP  ,我总不能加上10个网卡吧,能否做成地址池形式,使内网能动态分配外网IP做NAT.外网网关就一个10.76.132.254
routeros
发表于 2006-3-9 09:43:28 | 显示全部楼层
Example of 1:1 mapping
If you want to link Public IP subnet 11.11.11.0/24 to local one 2.2.2.0/24, you should use destination address translation and source address translation features with action=netmap.

/ip firewall nat add chain=dstnat dst-address=11.11.11.1-11.11.11.254 \
        action=netmap to-addresses=2.2.2.1-2.2.2.254

/ip firewall nat add chain=srcnat src-address=2.2.2.1-2.2.2.254 \
        action=netmap to-addresses=11.11.11.1-11.11.11.254  


这样连端口都映射过去了,就象每个机子都单独放在网上一样.
routeros
回复

使用道具 举报

 楼主| 发表于 2006-3-9 09:50:06 | 显示全部楼层

谢谢!

谢谢!!!
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-30 15:22 , Processed in 0.095370 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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