[Olsr-users] max packet size

Henning Rogge (spam-protected)
Sun Sep 5 09:39:31 CEST 2010


Am Freitag 03 September 2010, 14:18:35 schrieb Evgeni Bikov:
> Hi,
> I'm using OLSR 0.6.0 on interfaces with MTU = 2304.
> Internal MAXMESSAGESIZE value is set to 1500 by olsr internal default:
> #define MAXMESSAGESIZE          1500    /* max broadcast size */
> 
> 
> In my mind, maximum size of broadcast packet in the system is about 1500. I
> can be wrong, but It corresponds with the fact that packet parser calls
> recvfrom with buffer size of 1504.
> Unfortunately in the case of pretty numerous and dense topology I can
> observe packets of unexpected sizes (>2000).
> Can u please clarify this for me? What mechanism in olsrd limits broadcast
> packet size?
At the moment the packet buffers are too small for 2000+ bytes packets. Are 
you sure that the huge packets are OLSR ones ?

Even with IPv6 you should have enough space inside a Hello/TC for nearly 100 
neighbors. How dense is your network ?

Henning Rogge

-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100905/aa1a3333/attachment.sig>


More information about the Olsr-users mailing list