Is it a good practice use the loopback address to enstablish the EoIP tunnel between 2 router that run OSPF?
So in the example image 10.101.0.6 that is reachable from 2 router for redundancy.
Another question is why both the interface are backup and no one is designated router?
It is unclear to me if you are saying that you are speaking OSPF over the EoIP tunnel or if you just want to make an EoIP tunnel between two routers that are already exchanging routes with each other via OSPF. If you aren’t talking about doing OSPF over EoIP, then yes, I would use the loopback address of either router in the EoIP configuration.
As for your other question, this segment from the manual explains the election process for the DR and BDR:
“Router with the highest priority becomes the DR. If the all routers have the same priority then router with highest IP address will become the DR. The router that have priority to set to 0 (zero), can’t participate in the DR and BDR election process.”
If a DR goes offline and a BDR is promoted to acting DR, and then the original DR comes back on-line, I am not 100% sure but I don’t think that the acting DR gets demoted back to BDR…I think this election algorithm only gets executed when things are coming up fresh and there is no acting DR. So if you expected this router to be the DR for either interface, it might be that it used to be the DR, but something happened (router rebooted?) and the other routers became the DRs and just kept that status. But that’s just a guess and I could be wrong…
Definitely use Loopback addresses as the endpoints of the EoIP tunnel configuration.
If you use a specific interface, then the connection will fail when that specific link has a problem.
Loopback IP = the router’s official IP address. Always use it whenever you have dynamic routers. (ping/snmp checks from monitoring server, ssh address in your connections list, etc.
As for the backup/designated, that doesn’t mean which interface is the primary or backup path to reach the other side.
If you look at the other router on this link, you’ll find that it’s the designated router for both links.
Many thanks.
For Nathan: I was referring to EoIP that run between 2 routers that exchanging routes by OSPF.
For ZeroByte: Yes it’s true, the other router on this link show me that it’s the designated router for both links.