Community discussions

MikroTik App
 
olivier2831
Member Candidate
Member Candidate
Topic Author
Posts: 296
Joined: Fri Sep 08, 2017 6:53 pm

Re-phrase o a warning on Wiki PCC page

Tue May 14, 2019 4:00 pm

Hello,

Reading [1] again and again, I still don't understand the following sentence:
With policy routing it is possible to force all traffic to the specific gateway, even if traffic is destined to the host (other that gateway) from the connected networks. This way routing loop will be generated and communications with those hosts will be impossible. To avoid this situation we need to allow usage of default routing table for traffic to connected networks
How can this be rephrased ?

[1] https://wiki.mikrotik.com/wiki/Manual:P ... cy_routing

Best regards
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Re-phrase o a warning on Wiki PCC page

Tue May 14, 2019 5:15 pm

Makes perfect sense I imagine to someone with networking experience. Its gibberish to me LOL.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: Re-phrase o a warning on Wiki PCC page

Tue May 14, 2019 8:55 pm

Suppose you have

Wan1	---		--- Lan1
		Router
Wan2	---		--- Lan2

If you setup for LAN1 to go over Wan1 and Lan2 over Wan2, you might also want for Lan1 to be able to connect to Lan2.
To do that you need to accept traffic without mangling.
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Re-phrase o a warning on Wiki PCC page

Tue May 14, 2019 10:41 pm

By default there's only one routing table (called "main" in RouterOS) and router looks up destination in there. Any connected subnets appear automatically in main routing table. With policy routing, you get multiple routing tables, and by mangling you tell router which one to use. But these other routing tables are your responsibility, nothing appears there automatically. So if you have e.g. typical multi-WAN setup and you have different routing tables for each ISP and they contain only single route to 0.0.0.0/0 (any address) and you tell router to use this table, everything will be sent to default gateway (= to internet) and router won't care at all that destination address might be in local subnet, because route to that local subnet doesn't exist in given routing table.

Who is online

Users browsing this forum: ismel0x, lostb1t, ToTheFull and 58 guests