Hi,
Here is the diagram. I actually know were the problem is, but I don't know how to solve it. On R3 (port ISP3), there is a public network /16 (for backup in case of wireless links goes down). I can actually reproduce this in our lab. The problem is the connected route on public port of R3, with distance 1. If the client with our public IP is going for internet, it is routed correctly through our network up to R1 and out. If the same client is going for the IP in the same network as R3 public port then R3 wants to route it on ISP3 public port, this I have to prevent. Our public IPs can go out only through R1 and R2.
I exported just the relevant routes from R3.
/ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 172.31.253.250 1
77 ADC 10.11.11.0/30 10.11.11.1 ether4 0
78 ADC 10.11.11.4/30 10.11.11.5 ether5 0
89 ADo 172.16.6.0/24 10.11.11.2 110
479 ADC 172.31.253.0/24 172.31.253.253 ether1 0
480 Do 172.31.253.0/24 10.11.11.6 110
The static route number 0 has distance of 1, but it is also reachable at route number 480 with distance 110. I need to accomplish that route 480 is the preferred route. I could change that default 0.0.0.0/0 to point just to our R1 EOIP endpoint (for OSPF backup) but it will not solve this specific problem.
R3 config details:
/ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 10.11.11.1/30 10.11.11.0 ether4
1 172.31.253.253/24 172.31.253.0 ether1 (public IP - lab test)
2 10.11.11.5/30 10.11.11.4 ether5
traceroute to 8.8.8.8 (8.8.8.
, 30 hops max, 60 byte packets
1 172.16.6.250 (172.16.6.250) 0.274 ms 0.303 ms 0.362 ms
2 10.11.11.1 (10.11.11.1) 0.978 ms 0.990 ms 1.001 ms
3 10.1.5.251 (10.1.5.251) 1.039 ms 1.052 ms 1.065 ms
4. internet
traceroute to 172.31.253.200 (172.31.253.200), 30 hops max, 60 byte packets
1 172.16.6.250 (172.16.6.250) 0.263 ms 0.308 ms 0.366 ms
2 10.11.11.1 (10.11.11.1) 0.982 ms 0.993 ms 1.003 ms
3 172.31.253.200 (172.31.253.200) 1.277 ms 1.317 ms 1.398 ms
My goal is to route 172.31.253.0/24 through 10.1.5.251.
Thanks.
You do not have the required permissions to view the files attached to this post.