hi
i have a question about routing and nat
i have 2 internet on wlan1 and wlan2
ether1 connected to local1
ether2 connected to local2
how can i nat wlan1 to ether1 and wlan2 to ether2?
thanks
hi
i have a question about routing and nat
i have 2 internet on wlan1 and wlan2
ether1 connected to local1
ether2 connected to local2
how can i nat wlan1 to ether1 and wlan2 to ether2?
thanks
add nat rules with specified in and out interfaces.
thanks for your answer
when add the nat rule :
ip firewall nat add chain=src-nat action=masquerade in-interface=ether1 out-interface=wlan1 disable=no
OS type this error :
failure: ingoing interface matching not possible in output and postrouting chains
my config is problem?
sorry forgot that.
Then there are two options
i have a problem with no.1
when one gateway is enable and use that range of dst-address everything is ok
but when two gateway is enable,two gateway synchronic not lable “AS” ,one of gateway is black and one of gateway is blue
when one of gateway is blue,this gateway not work and your no.1 is not working
Then use mangle to mark connections as in 2) option in my previous post.
*) Then mark routing based on those connection marks.
*) add gateways with routing marks
*) add nat rules with specified out interface
now both gateways will be active.
dear
sorry
i don’t using mangle
please help me by typing config for mangle rule
Here you can find configuration example where mangle is used to mark connections and routing
http://wiki.mikrotik.com/wiki/ECMP_load_balancing_with_masquerade#Quick_Start_for_Impatient
thanks alot dear
![]()