Community discussions

 
yottabit
Member Candidate
Member Candidate
Topic Author
Posts: 160
Joined: Thu Feb 21, 2013 5:56 am

OSPF Causes IPIP Tunnel Flapping? [SOLVED]

Wed Mar 06, 2019 11:22 pm

Hi Everyone,

I'm running 6.44, and now attempting to turn on OSPF for route distribution between two routers. Pretty simple setup:

rb01:
  • ether1: DHCP WAN
  • bridge1: 172.16.42.0/24, 172.16.43.0/30, 172.27.0.0/24
  • The 172.16.43.0 is being used for an IP-IP tunnel to rb02 via WAN
  • Static routes are in place and working

rb02:
  • ether1: DHCP WAN
  • bridge1: 172.16.44.0/24, 172.16.43.0/30
  • The 172.16.43.0 is being used for an IP-IP tunnel to rb01 via WAN
  • Static routes are in place and working

When I enable OSPF and add those networks, the OSPF interfaces are dynamically added and start LSAs.

The neighbor shows up right away, but as soon as that happens, the IP-IP tunnel starts flapping constantly. If I remove the networks from OSPF, the tunnel is stable again.

Right now I have kept the static routes in-place, and they're being redistributed. I had planned to see OSPF being stable, and then start removing the static routes one-by-one.

Any idea why the OSPF adjacency would make the tunnel flap?

Thanks!
 
andy2010
just joined
Posts: 15
Joined: Sun Jan 22, 2012 9:25 pm

Re: OSPF Causes IPIP Tunnel Flapping?

Wed Mar 06, 2019 11:45 pm

are you advertising the tunnel endpoint IPs via OSPF?!
check something like "redistribute connected routes" etc.
 
yottabit
Member Candidate
Member Candidate
Topic Author
Posts: 160
Joined: Thu Feb 21, 2013 5:56 am

Re: OSPF Causes IPIP Tunnel Flapping?

Thu Mar 07, 2019 4:58 am

are you advertising the tunnel endpoint IPs via OSPF?!
check something like "redistribute connected routes" etc.

Yes, that was it! I had redistribute-connected=yes. The manual isn't clear on why this would break in my situation. Can you explain why it caused the ipip tunnel to flap?
 
christopherh
newbie
Posts: 29
Joined: Sun Feb 24, 2019 7:43 am
Location: Sydney, Australia

Re: OSPF Causes IPIP Tunnel Flapping?

Thu Mar 07, 2019 8:57 am

The manual isn't clear on why this would break in my situation. Can you explain why it caused the ipip tunnel to flap?

I imagine it would be something similar to this. I had a similar issue with BGP over an EoIPv6 tunnel.

You are establishing BGP over the tunnel, BGP installs routes and tries to route traffic over the tunnel including tunnel traffic itself, which causes internal loop. Add static route to tunnel remote end to fix the problem.

Who is online

Users browsing this forum: No registered users and 2 guests