I got an IPIP tunnel which allows access to the ampr domain (44.0.0.0/8). This tunnel forwards a subdomain to its endpoint (44.182.21.0/24 in my case) and also distributes its routing paths for the whole 44 domain via RIPv2 multicasts. The routing elements contain a IP/mask pair and a gateway, the later being outside the 44 domain, but accessible via the tunnel. RIP multicasts are from 44.0.0.1 to 224.0.0.9 (RIPv2 multicast).
Now there are 2 problems...
First, the RIP listener needs to have an interface set with a netmask of /8 (e.g. 44.182.21.1/8) or else it won't process the routes. That means i will always have a direct connected route with smaller metric than the ones provided by RIP which show up with metric 120. Do the RIP routes take precedence anyway?
And the second issue is related to how routes are taken over by the router.
Now RIP routes have each a gateway set:
Code: Select all
[admin@MikroTik] /routing rip route> print
# DST-ADDRESS GATEWAY FROM METRIC
0 R 44.0.0.0/8 1
1 R 44.2.1.32/29 76.14.161.185 44.0.0.1 2
2 R 44.2.8.180/30 192.147.172.252 44.0.0.1 2
3 R 44.2.10.208/29 71.130.72.53 44.0.0.1 2
4 R 44.2.14.0/29 98.238.147.85 44.0.0.1 2
5 R 44.2.14.100/32 98.238.147.85 44.0.0.1 2
6 R 44.2.50.0/24 208.74.106.137 44.0.0.1 2
Code: Select all
[admin@MikroTik] /ip route> print
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
8 ADC 44.0.0.0/8 44.182.21.1 AMPR-IPIP 0
9 ADr 44.2.1.32/29 44.0.0.1 120
10 ADr 44.2.8.180/30 44.0.0.1 120
11 ADr 44.2.10.208/29 44.0.0.1 120
12 ADr 44.2.14.0/29 44.0.0.1 120
13 ADr 44.2.14.100/32 44.0.0.1 120
14 ADr 44.2.50.0/24
Could anyone suggest a workaround on this or do i have to live with it?
Thank you.
Marius