ymir 发表于 2007-3-13 21:32:50

一条线路.多个IP.ROS该怎么设置?谢谢大家了

一条线路.多个IP.ROS该怎么设置?


外网IP1为: 221.221.110.26
外网IP1为: 221.221.110.27
外网IP1为: 221.221.110.28
外网IP1为: 221.221.110.29

对应四个内网IP 做对外服务


内网IP1为: 192.168.1.1(WEB)
内网IP2为: 192.168.1.2(web)
内网IP3为: 192.168.1.3(游戏)
内网IP4为: 192.168.1.4(email)

如何做呀,谢谢了

[ 本帖最后由 ymir 于 2007-3-13 21:35 编辑 ]

专卖精品 发表于 2007-3-13 22:29:40

NETMAP,官方有教程

ymir 发表于 2007-3-14 08:49:00

我到官网找了,没找到

能给个路子走吗,谢谢了

ymir 发表于 2007-3-14 11:40:09

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


还是不行呀

ymir 发表于 2007-3-15 14:45:19

测试多天ROS不能这样做吧

KENT 发表于 2007-3-15 23:51:42

有什么意义?

okpan 发表于 2007-7-12 16:07:19

我就是按照netmap做的,一切正常。
页: [1]
查看完整版本: 一条线路.多个IP.ROS该怎么设置?谢谢大家了