I just started to use the products and Mikrotik would like to have some help on the following configuration.
I have a Gateway 192.168.1.1 (A) for internet and type 2 networks 172.16.1.0/16 (B) and 192.168.2.0/24 (C).
I want to share the internet access(A) to networks B and C, using a RB433.
This is my configuration:
/ip address
add address = 192.168.1.254/24 interface = Ether1
add address = 192.168.2.1/24 interface = ether2
add address = 172.16.0.0/16 interface = Ether3
/ip route
add dst-address = 0.0.0.0 / 0 gateway = 192.168.1.1
/ip firewall nat
add chain = srcnat out-interface = Ether1-gateway action = masquerade
brother your setting concept is correct but if you are using terminal then verify your gateway interface name because in ip address interface name is ether1 but in nat rule at out-interface name is Ether1-gateway maybe you mentioned “-gateway” for explanation.
I am grateful for having responded.
Yes, it works.
I would like to create routes to allow operation between subnets (A) and (B).
Can someone help me?
Thanks to everyone