I have set up two BGP sessions between a Juniper and a Mikrotik like this:
Mikrotik <-- BGP session 1 --> Juniper
<-- BGP session 2 -->
Both sessions are established easily and the Juniper then has a route to the advertised mikrotik route via both ways.
If I disable and then enable session 1 then it doesn't immediately receive the default route, sometimes only after a couple of minutes which is too long.
If I disable and enable the sessions on the MIkrotik at the same time, then they both receive the default route from the Juniper and all is fine.
How does this work? What can I do on the Mikrotik (or maybe even the Juniper) for this to go quicker?
The log sometimes cease: connection reject. Then later, it does connect.
Juniper config:
Code: Select all
term advertise-default {
from {
route-filter 0.0.0.0/0 exact;
}
then {
next-hop self;
accept;
}
}
term reject-rest {
then reject;
}