Hellow all. I have MT running on a RB532A with the next configuration:
ether1 WAN 172.26.0.XXX/21
ether2 LAN1 192.168.0.XXX/24
ether3 LAN2 192.168.1.XXX/24
On the WAN interface we have 7 public ip’s provided by the ISP
172.26.0.110
172.26.0.111
…
172.26.0.116
and i want to link various of this ip’s to LAN1 or LAN2
for example:
172.26.0.114 linked to 192.168.0.114 on LAN1
172.26.0.115 linked to 192.168.0.115 on LAN1
172.26.0.111 linked to 192.168.1.111 on LAN2
I Followed the wiki tutorial http://wiki.mikrotik.com/wiki/How_to_link_Public_addresses_to_Local_ones
making this on mikrotik router:
[admin@MikroTik] ip address> add address=172.26.0.114/21 interface=ether1
[admin@MikroTik] ip address> add address=172.26.0.115/21 interface=ether1
[admin@MikroTik] ip address> add address=172.26.0.111/21 interface=ether1
[admin@MikroTik] ip address> add address=192.168.0.254/24 interface=ether2
[admin@MikroTik] ip address> add address=192.168.1.254/24 interface=ether3
Now entering commands to link 172.26.0.114 to 192.168.0.114 and 172.26.0.115 to 192.168.0.115
add action=dst-nat chain=dstnat dst-address=172.26.0.114/32 to-addresses=192.168.0.114
add action=src-nat chain=srcnat src-address=192.168.0.114/32 to-addresses=172.26.0.114
add action=dst-nat chain=dstnat dst-address=172.26.0.115/32 to-addresses=192.168.0.115
add action=src-nat chain=srcnat src-address=192.168.0.115/32 to-addresses=172.26.0.115
it works, the servers are accesible from outher networks.
And here is the problem, when i try to do the same for an ip on LAN2:
add action=dst-nat chain=dstnat dst-address=172.26.0.111/32 to-addresses=192.168.1.111
add action=src-nat chain=srcnat src-address=192.168.1.111/32 to-addresses=172.26.0.111
The resut is that the server is not responding from internet, and can’t access to internet.
Some idea about what is happening?