[Click] Grid dsr -- ToDevice(wlan0) send: Message too long

Dongyu Yang yangdy.nwpu at gmail.com
Mon May 23 22:56:07 EDT 2011


Hello,
    When I run grid dsr with click in user level, every thing is OK,
but when I send large packet the error happened:

ping -s 1500 192.168.254.3
PING 192.168.254.3 (192.168.254.3) 1500(1528) bytes of data.

ToDevice(wlan0) send: Message too long


ping -s 1480 192.168.254.3
PING 192.168.254.3 (192.168.254.3) 1480(1508) bytes of data.

ToDevice(wlan0) send: Message too long



but when I use 1400 it's OK,

ping -s 1400 192.168.254.3
PING 192.168.254.3 (192.168.254.3) 1400(1428) bytes of data.
1408 bytes from 192.168.254.3: icmp_req=1 ttl=64 time=518 ms
1408 bytes from 192.168.254.3: icmp_req=2 ttl=64 time=2.54 ms


The MTU it is the default value 1500. I found what case the error:
when uses dsr, the source route must be added to packet header,
so when I send large packet, the packet size is larger than 1500.

I want to know how can I fix this problem?

Thanks for your help?


More information about the click mailing list