Routing Protocol Question I cant understand

dppagcdppagc Member Posts: 293
The OSPF dead timer is 3 minutes. But if I switch off a router for POC testing, the switchover is almost instant. Can anyone explain why?

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    When the interface goes physically down the neighbor is removed immediately.
    An expert is a man who has made all the mistakes which can be made.
  • dppagcdppagc Member Posts: 293
    Oh I didnt know that. Thanks.
    In that case what is the dead timer for?
    Because they are not directly connected?
    Is it possible to illustrate with an example?
  • OctalDumpOctalDump Member Posts: 1,722
    I should know the answer to this, but I'm only 80% sure it is for situations where the link is up but the router is not getting hellos for whatever reason - eg intermediate link is down (for example where there is an intermediate switch), interface has been configured passive, OSPF process has failed, overloaded router, etc.

    So it could still have connectivity, pings etc, but OSPF is not working or has had configuration changed.
    2017 Goals - Something Cisco, Something Linux, Agile PM
  • james43026james43026 Member Posts: 303 ■■□□□□□□□□
    Yeah, the dead timer basically does one thing. It allows the router to say to itself, if I haven't heard a hello from you within the constraints of the dead timer, then I'm going to consider you to be down.
  • dppagcdppagc Member Posts: 293
    But if a router goes down, wouldnt its neighboring routers signal to other routers that it is down?
    Isnt it faster than waiting for the dead interval?
  • Sy KosysSy Kosys Member Posts: 105 ■■■□□□□□□□
    dppagc wrote: »
    But if a router goes down, wouldnt its neighboring routers signal to other routers that it is down?
    Isnt it faster than waiting for the dead interval?
    That's what the hello timer is for. With no hello packets being sent by R1 to R2, R2 will wait the dead interval specified before considering the R1 neighbor down.
    "The size of your dreams must always exceed your current capacity to achieve them. If your dreams do not scare you, they are not big enough.”
    ― Ellen Johnson Sirleaf
  • dppagcdppagc Member Posts: 293
    but the assumption is that R1 and R2 are not directly connected right?
Sign In or Register to comment.