[lwip-users] IP packet dropped due to bad version number 15

48 views
Skip to first unread message

Iwan Budi Kusnanto

unread,
Oct 22, 2009, 3:35:29 AM10/22/09
to Mailing list for lwIP users
Hi, i try to port lwip. I run the OS in qemu, and set lwip IP to 192.168.0.1
When i ping 192.168.0.1, i continuously get the following error, below.
Note : the qemu & tap0 setting was fine. Previous lwip port can be
ping-ed with this setting.
I also copy-paste my 'tcpdump -i tap0'.
Any idea ?

** error from lwip **
IP packet dropped due to bad version number 15
IP header:
+-------------------------------+
|15 |15 | 0xff | 65535 | (v, hl, tos, len)
+-------------------------------+
| 65535 |000| 23 | (id, flags, offset)
+-------------------------------+
| 242 | 244 | 0xad11 | (ttl, proto, chksum)
+-------------------------------+
| 8 | 6 | 0 | 1 | (src)
+-------------------------------+
| 8 | 0 | 6 | 4 | (dest)
+-------------------------------+


** tcpdump -i tap0 **
14:30:31.925668 arp who-has 192.168.0.1 tell paijo.local
14:30:32.925668 arp who-has 192.168.0.1 tell paijo.local
14:30:34.929668 arp who-has 192.168.0.1 tell paijo.local
14:30:35.929668 arp who-has 192.168.0.1 tell paijo.local
14:30:36.929668 arp who-has 192.168.0.1 tell paijo.local
14:30:38.933669 arp who-has 192.168.0.1 tell paijo.local
14:30:39.933668 arp who-has 192.168.0.1 tell paijo.local
14:30:40.933669 arp who-has 192.168.0.1 tell paijo.local
14:30:42.937669 arp who-has 192.168.0.1 tell paijo.local
14:30:43.937668 arp who-has 192.168.0.1 tell paijo.local
14:30:44.937669 arp who-has 192.168.0.1 tell paijo.local
14:30:46.941670 arp who-has 192.168.0.1 tell paijo.local
14:30:47.941668 arp who-has 192.168.0.1 tell paijo.local
14:30:48.941669 arp who-has 192.168.0.1 tell paijo.local
14:30:50.945669 arp who-has 192.168.0.1 tell paijo.local
14:30:51.945667 arp who-has 192.168.0.1 tell paijo.local
14:30:52.945668 arp who-has 192.168.0.1 tell paijo.local
14:30:54.949668 arp who-has 192.168.0.1 tell paijo.local
14:30:55.949669 arp who-has 192.168.0.1 tell paijo.local
14:30:56.949669 arp who-has 192.168.0.1 tell paijo.local
14:30:58.953671 arp who-has 192.168.0.1 tell paijo.local
14:30:59.953668 arp who-has 192.168.0.1 tell paijo.local
14:31:00.953674 arp who-has 192.168.0.1 tell paijo.local
14:31:02.957668 arp who-has 192.168.0.1 tell paijo.local
14:31:03.957668 arp who-has 192.168.0.1 tell paijo.local
14:31:04.957668 arp who-has 192.168.0.1 tell paijo.local
14:31:06.961668 arp who-has 192.168.0.1 tell paijo.local
14:31:07.961669 arp who-has 192.168.0.1 tell paijo.local
14:31:08.961668 arp who-has 192.168.0.1 tell paijo.local
14:31:10.965668 arp who-has 192.168.0.1 tell paijo.local
14:31:11.965670 arp who-has 192.168.0.1 tell paijo.local
14:31:12.965668 arp who-has 192.168.0.1 tell paijo.local


--
Iwan Budi Kusnanto


_______________________________________________
lwip-users mailing list
lwip-...@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Kieran Mansley

unread,
Oct 22, 2009, 4:07:31 AM10/22/09
to Mailing list for lwIP users
On Thu, 2009-10-22 at 14:35 +0700, Iwan Budi Kusnanto wrote:
> Hi, i try to port lwip. I run the OS in qemu, and set lwip IP to 192.168.0.1
> When i ping 192.168.0.1, i continuously get the following error, below.
> Note : the qemu & tap0 setting was fine. Previous lwip port can be
> ping-ed with this setting.
> I also copy-paste my 'tcpdump -i tap0'.
> Any idea ?
>
> ** error from lwip **
> IP packet dropped due to bad version number 15
> IP header:
> +-------------------------------+
> |15 |15 | 0xff | 65535 | (v, hl, tos, len)
> +-------------------------------+
> | 65535 |000| 23 | (id, flags, offset)
> +-------------------------------+
> | 242 | 244 | 0xad11 | (ttl, proto, chksum)
> +-------------------------------+
> | 8 | 6 | 0 | 1 | (src)
> +-------------------------------+
> | 8 | 0 | 6 | 4 | (dest)
> +-------------------------------+

As you can see, lwIP has been passed an IP packet that is completely
corrupted. The values in the header make me think that this is not an
IP packet at all.

Kieran

Iwan Budi Kusnanto

unread,
Oct 22, 2009, 4:45:40 AM10/22/09
to Mailing list for lwIP users

Thx kieran, because tcpdump give normal output, the other suspect is
the driver. But, the driver work fine in old version of lwip port.
Anyway, i will re-check the driver

>
> Kieran
>
>
--
Iwan Budi Kusnanto

shaf...@gmail.com

unread,
Mar 24, 2014, 11:18:45 AM3/24/14
to osdeve_mirro...@googlegroups.com, Mailing list for lwIP users, iwa...@gmail.com
Hi Iwan,

 Did you ever figure out what was the problem? I am having the exact same problem.

Thanks,
Reply all
Reply to author
Forward
0 new messages