Community discussions

MikroTik App
jmatuska
newbie
Topic Author
Posts: 34
加入: Tue Aug 24, 2010 12:50 am

default static route causing routing loop

Tue Jan 18, 2011 8:58 pm

Here is my situation.

I have an RB433 between a CiscoRouter and Firewall with the following layout

Internet--------CiscoRouter(1.1.1.1)------RB433------(2.2.2.1)Firewall-------3.3.3.0/24

I have routes as follows from the RB433
route 0.0.0.0/0 to gateway 1.1.1.1 (Cisco Router to Internet)
2.2.2.1 3.3.3.0/24路由到网关(Firewall)

The problem I am having is that if the firewall goes offline, eth2 on the RB433 goes down and route 3.3.3.0/24 goes inactive. The problem is because of the default route the RB433 tries to route traffic to 3.3.3.0 to the CiscoRouter using the default route, then the static route on the Cisco router sends it back to RB433 and thus all inbound traffic bounces between the RB433 and the Cisco router until the TTL expires. I know this is mainly asthetic, but I would prefer to get a destination unreachable from the RB433 rather than using the static route and getting a routing loop.

Any thoughts on this?

Jim
Top
blake
Member
Member
Posts: 426
加入: Mon May 31, 2010 10:46 pm
Location:Arizona

Re: default static route causing routing loop

Wed Jan 19, 2011 1:32 am

Code:Select all
/ip route add dst-address=3.3.3.0/24 type=unreachable distance=254
Top
jmatuska
newbie
Topic Author
Posts: 34
加入: Tue Aug 24, 2010 12:50 am

Re: default static route causing routing loop

Wed Jan 19, 2011 2:16 am

Thanks. That was exactly what I needed8)
Top

Who is online

Users browsing this forum:Ahrefs [Bot],Bing [Bot],LaPeppona,Semrush [Bot]and 30 guests