Re: OSPF and mass route deletion

2015-07-17 Thread Ondrej Zajicek
On Tue, Jul 14, 2015 at 10:20:22AM +0300, Andrew wrote:
 When routes are deleted (for ex., terminating a lot of PPP tunnels for some
 reason in same time), it seems like each removed route is sent into separate
 OSPF packet that causes troubles with OSPF in some cases (for ex., there's
 troubles with old quagga).
 
 Is there a possibility to add some rate-limiting (for ex., limit to 10
 messages per second), and aggregate separate 'route deleted' messages to one
 packet?

AFAIK, multiple flush LSAs can be packed to one LSA when flushed together
(i.e. the routes are deleted together), but there is no time-limit. If
these routes are deleted as separate (but immediate) events, then it is
possible that the OSPF packet with just one flushed LSA  is sent before
waiting for next route delete (and therefore next flushed LSA.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
To err is human -- to blame it on a computer is even more so.


signature.asc
Description: Digital signature


Re: OSPF and mass route deletion

2015-07-14 Thread Andrew

I mean host routes mass removing.

Maybe OSPF really isn't best choice for this. Earlier, with quagga, 
there was no troubles with it. I didn't look deeply to RFC, so I thouht 
that single LSA can carry multiple prefixes. Possibly quagga just sends 
packets slower...


14.07.2015 17:47, Olivier Benghozi пишет:

OSPF doesn't delete routes, it sends LSAs.
It seems that you are redistributing a lot of single IP addresses in OSPF (as 
external routes). So there's one LSA type 5 for each single redistributed /32.

OSPF is not the proper choice for this usecase, and it's not a Quagga or BIRD 
issue.
BGP is the protocol to use for such cases. Many routes, few messages, 
scalability.



Le 14 juil. 2015 à 09:20, Andrew ni...@seti.kr.ua a écrit :

When routes are deleted (for ex., terminating a lot of PPP tunnels for some 
reason in same time), it seems like each removed route is sent into separate 
OSPF packet that causes troubles with OSPF in some cases (for ex., there's 
troubles with old quagga).

Is there a possibility to add some rate-limiting (for ex., limit to 10 messages 
per second), and aggregate separate 'route deleted' messages to one packet?