Routing Wireless network

Hello,
I´m new with MikroTik and a I have trouble with routing.

Let me try to explain my problem.

At first I add the IP-Address for the Gateway . 192.168.1.1

Then I created a DHCP Server. with Gateway 192.168.1.1 and the range from 192.168.1.2-192.168.1.200 192.168.1.0/24

I also created a bridge called br_1.

So I bridged the DHCP server to br_1 and I also bridged ethernet 2 and Wlan.

When I connect a device with WLAN I get a IP Adress from the DHCP range and the gateway is 192.168.1.1.

When I send a ping from the device witch is connected to Wlan I reach 192.168.1.1 but I´m not able to reach the Internet.

I don´t know how to route

I tried RIP I added the two gateways 192.168.1.1 and 10.0.0.138 ( Router)


The Uplink come from my router with the gateway 10.0.0.138.

I hope some have an Idea how I can fix the problem

THX

You need to either NAT from the mikrotik, or set routing properly between your gateway and the Mikrotik router.

Option 1: add NAT srcnat masquerade rule. If your WAN interface (interface facing the internet router) is ether1-gateway, issue (replace ether1-gateway with your WAN interface):

/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1-gateway

Option 2: set routing properly. Routing between two given hosts always need to set routing on both: on A to reach B and on B to reach A:

Mikrotik → Internet Router: I assume the mikrotik router already has 10.0.0.138 as default GW; that’s all the routing it should need.
Internet Router → Mikrotik: Add a route to 192.168.1.0/24, gateway the 10.x ip assigned to the mikrotik router interface facing the internet router.