我使用的是Mirkotik RB 1100 v6.0rc11.
我有我的网络
LAN
ether1 192.168.0.0/24 这样的配置
ISP1
Ether6 PPPOE连接
动态公共IP地址
ISP2
Ether10静态公网IP
111.111.111.111/25
我伪装了本地ips,即192.168.0.0/24到ISP2.所有本地ips使用ISP2互联网浏览网页.
我想要192.168.0.50和192.168.0.51,从ISP1浏览互联网.
请帮忙.
小智 6
这是我的答案:
创建地址列表:
ip firewall> address-list> add comment ="samme comment"address = 192.168.0.50-192.168.0.51 list = list50-51
创建mangle:
ip firewall mangle> add comment ="same comment"chain = prerouting action = mark-routing new-routing-mark = INTERNET-50-51 src-address-list = list50-51
创建路线:
ip route> add comment ="same comment"dst-address = 0.0.0.0/0 routing-mark = INTERNET-50-51 gateway = ISP1的IP
创造nat
ip firewall> nat> add comment ="same comment"chain = srcnat action = masquerade src-address-list = list50-51 dst-address = 0.0.0.0/0 out-interface = ISP1的接口(PPPOE)
| 归档时间: |
|
| 查看次数: |
24355 次 |
| 最近记录: |