I have a router (RB2011UiAS-RM) who has static IP and DNS addresses and is able to connect to Internet without any issues (ping tests).
I tried to use default network (192.168.88.0) with a laptop to communicate with the other network and I wasn’t able. I tried configurations of scope and target scope unsuccessfully.
meaning
address incoming to router with address 192.168.88.0/24 will be source-nated
with technique masquerade (meaning it will use the outgoing address of interface) ether3.
[admin@MikroTik] > /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 200.200.200.250 1
1 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
2 ADC 200.200.200.0/24 200.200.200.88 bridge-local 0
about
/ip firewall nat
, when I deleted 0 and 1 I not even got the Redirect Host message when pinged
[admin@MikroTik] /ip firewall nat> /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADC 192.168.88.0/24 192.168.88.1 ether5 0
1 ADC 200.200.200.0/24 200.200.200.88 ether3 0
[admin@MikroTik] /ip firewall nat> /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 X ;;; default configuration
chain=srcnat action=masquerade out-interface=sfp1-gateway
1 X ;;; default configuration
chain=srcnat action=masquerade out-interface=ether1-gateway
2 chain=srcnat action=masquerade src-address=192.168.88.0/24 out-interface=ether3
note 0 and 1 are disabled in nat.
with this conf I’m still unable to see 200.200.200.0/24 from 192.168.88.0/24
any suggestion?
update
with above configuration and even with rules 0 and 1 enabled I am able to ping 200.200.200.0/24 from 192.168.88.0/24, so it seems that problem was that both interfaces were on the same bridge.
Despite above, I am not able to ping 8.8.8.8, so currently I only can connect to router’s gateway and not beyond.
[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 200.200.200.250 1
1 ADC 192.168.88.0/24 192.168.88.1 ether5 0
2 ADC 200.200.200.0/24 200.200.200.88 ether3 0
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 X ;;; default configuration
chain=srcnat action=masquerade out-interface=sfp1-gateway
1 X ;;; default configuration
chain=srcnat action=masquerade out-interface=ether1-gateway
2 chain=srcnat action=masquerade src-address=192.168.88.0/24 out-interface=ether3
not sure if disable 0 and 1 is needed
[admin@MikroTik] /ip route> /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 X ;;; default configuration
192.168.88.1/24 192.168.88.0 bridge-local
1 200.200.200.88/24 200.200.200.0 ether3
2 192.168.88.1/24 192.168.88.0 ether5