Community discussions

MikroTik App
 
inquilino
just joined
Topic Author
Posts: 4
Joined: Thu Nov 10, 2005 4:09 pm

1 Lan -- 2 Wan

Thu Nov 10, 2005 4:15 pm

Hi... i have some problems with my MT2.9.2...

I Have 2 internet connections (1 ADSL + 1 CABLEMODEM). And only 1 network, but subdivided in multiple networks by subnets.

Mt: 192.168.4.2/16
ADSL: 10.0.0.2/24 (Gateway 10.0.0.1)
CABLEMODEM: 11.0.0.2/24 (Gateway 11.0.0.1)

Net1: 192.168.1.0/16
Net2: 192.168.2.0/16
Net3: 192.168.3.0/16
...

I want NET1 connect using ADSL, Net2, Net3 using CABLEMODEM...

it's simply... any help available?
 
netking80
just joined
Posts: 7
Joined: Mon Sep 19, 2005 5:25 pm

Easy :D

Thu Nov 10, 2005 5:59 pm

You can use policy routing, marking all packets coming from your desired network as to be routed through gateway1 (adsl) and marking all packets coming from the other networks as to be routed through gateway2 (cable modem). You need to use IP MANGLE to mark packets and IP ROUTE to specify the right gateway based on the routing mark provided by MANGLE.
 
inquilino
just joined
Topic Author
Posts: 4
Joined: Thu Nov 10, 2005 4:09 pm

Re: Easy :D

Thu Nov 10, 2005 6:06 pm

You can use policy routing, marking all packets coming from your desired network as to be routed through gateway1 (adsl) and marking all packets coming from the other networks as to be routed through gateway2 (cable modem). You need to use IP MANGLE to mark packets and IP ROUTE to specify the right gateway based on the routing mark provided by MANGLE.
can you show me howto... just a simple example please... using mark-routing or mark-packet?
 
krazyboyjack
just joined
Posts: 5
Joined: Thu Sep 22, 2005 8:04 pm

Sun Nov 13, 2005 4:10 pm

I'm having the same problem, i had policy based routing working fine on 2.8.17 then v2.9.x came and it all changed.

can someone please help describe the process in steps of how to mark packets with connection marks, then packet marks and then routing marks and in what respective chains. I used the logic from 2.8.x and it doesn't work in new version, i can get traceroutes to go through different interfaces working great, but no established traffic.

i notice this is a common problem, so any help would be appreciated by alot of members.

thanks