Mikrotik can ping the gateway, but not beyond

Hi, i am using the 24hr trial version of the Mikrotik, and apparently reinstalling it every 24 hours :frowning:

i have setup a dual wan setup wan 1 static ip. wan 2 dhcp both connected to diff routers

-using winbox when i ping the static ip wan’s gateway it works, but i cannot ping anything beyond it, it shows time out..
**wan 1’s router is basically a firewall connected to a MPLS network,
**no DNS settings etc.


the wan 2 with DHCP assigned IP is working fine,

Also is there anyway to get rid of this 24 hour limit? i mean with atleast a weeks worth of demo version?

thanks!

Do you have a default gateway assigned in “/ip route”?

Do you have a masquerade set for each of the WAN interfaces?

/ip firewall nat
add chain=srcnat action=masquerade interface=wan1
add chain=srcnat action=masquerade interface=wan2

I can’t help you with the 24 hour license thing.

EDIT

DUDE thanks!! i did a /ip route add gateway and it starting to ping now.

But now the WAN2 cant ping outside.. is there anyway to have 2 gateways?

You must have a default gateway if you want to access anything outside the localnet. The dhcp client interface should assign a default gateway for that interface unless you have disabled it.

If your network gateway is 10.70.1.1 on your static ip wan, then

/ip route
add gateway=10.70.1.1

I’m not certain how you plan on splitting the network traffic between the wans. That is up to you.

You should have those masquerades also.

edit: The way you split the traffic is up to you. If I have two localnets on the router, I use one for each. Having one interface a dhcp client adds a bit of complexity, but you shouldn’t have any trouble with that.