IP header check failed: bad IP version
Shweta Bhandare
Shweta.Bhandare at colorado.edu
Fri Jan 17 16:52:24 EST 2003
Eddie,
Here is a dump :
Before_Strip: 182 | 00001000 00000000 00000000 00000020 01000500 0000c310
IP header check failed: bad IP version
tun-bad: 168 | 00200100 05000000 c3100000 41000000 09000300 74617030
00646576 0
a000100 fefd0000 0000746d
Before_Strip: 50 | 00001800 00000000 00000000 00000220 0000ff02 fd030000
tun-bad: 36 | 02200000 ff02fd03 00000000 08000100 01ffffff 08000700
01000001 0
8000400 05000000
What is strange is that the first packet is 182 bytes long and the
second onwards is 50 bytes long.
When run on the laptop, it prints tun-ok and is 28 bytes long.
Thanks,
Shweta.
Eddie Kohler wrote:
> Shweta,
>
>
>> I'm running the test-tap.click file and get an error message
>>IP header check failed: bad IP version
>>tun-bad: 168 | 00200100 05000000 c3100000 41000000 09000300 74617030
>>tun-bad: 36 | 02200000 ff02fd03 00000000 08000100 01ffffff 08000700
>
>
> I don't know if anyone has run test-tap on an iPAQ. The weird thing is that
> I can't see an IP header anywhere in those two lines. I would change the
> Print(tun-bad) command to print out more of the packet. (man Print to see
> how.) That and add a Print() statement before the Strip(14). Maybe the iPAQ
> does not strip the Ethernet header before passing the packet to userlevel.
>
> Eddie
More information about the click
mailing list