On 10/22/09, Kieran Mansley <[email protected]> wrote: > 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.
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 _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
