[Chilli] Best way to enforce MTU 1480?

Ben West ben at gowasabi.net
Thu Mar 27 19:30:44 UTC 2014


I'm running coovachilli v1.3.0 under OpenWRT AA on Ubiquiti Nanostation
gear, with only 32Mbytes of RAM.  Since these are nodes in a mesh managed
by OLSR, I need to enforce MTU=1480 for all client sessions authorized by
chilli.

>From the online Changlog, it appears I can do this by adding a parameter to
the start-up command in coovachilli's init script:

/usr/sbin/chilli --mtu 1480

However, the tap interface which I believe is what chilli sets up to manage
bandwidth throttling on client sessions still reports MTU 1500:

tun0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:101.232.44.1  P-t-P:101.232.44.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

... where 101.232.44.1 is the NAP IP of the device where I quoted this from.

Is there a way I can ensure proper MTU settings on chilli client sessions?

-- 
Ben West
http://gowasabi.net
ben at gowasabi.net
314-246-9434
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140327/f6b5854a/attachment.html>


More information about the Chilli mailing list