ip/route > rules

Hello,

I created three rules in the Rules tab, adding a table to each network.

10.10.1.0 action=lookup table 200
10.10.2.0 action=lookup table 300
10.10.3.0 action=lookup table 400

So I created three routes defaults for each table created above.

address1 with table 200
address2 with table 300
address3 with table 400


ie, the network has a default route 10.10.1.0 the address1
10.10.2.0 is the network as the default route address2
and the network has a default route 10.10.3.0 address3


The question is, how it will deal with MikroTik?
if I go in the “new terminal” ping 10.10.3.10 ee, and as the source address 10.10.2.1 (let’s say I put in an address interface MikroTik), how will the referral process?

The process that MikroTik will adopt is to send the default route 10.10.2.0, or be a directly connected route (the 10.10.3.0) will ship directly through the interface that has the 10.10.3.1 address?

Att,

Victor

Hello
when you create a separate routing table for source address then main routing table will be ignored for that source address in rules.

So if I ping 10.10.1.x having a source address 10.10.2.x,
the process adopted by MikroTik will send to the default route 10.10.2.x, not
10.10.1.x send directly through the interface, as a directly connected route?

Yes that’s right.