Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!ssw From: ssw@cica.cica.indiana.edu (Steve Wallace) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: Bootp and 3C501 Summary: What are sniffer reports for bootps from 3c501 Message-ID: <160@cica.cica.indiana.edu> Date: 11 Oct 89 16:27:28 GMT References: <8910092133.AAsunic17654@sunic.sunet.se> Organization: Center for Innov. Comp. Appl., Bloomington, IN Lines: 359 In article <8910092133.AAsunic17654@sunic.sunet.se>, xjeldc@GEMINI.LDC.LU.SE (Jan Engvald LDC) writes: > >I have a BOOTP problem with the Clarkson 3C501 packet driver and > >NCSA TN3270 software. We are using a Gould NP1 to run the BootP > >program and all works well with an IBM with a 3C523 card. But when > >using an IBM Model 30 w/3c501 card, I get a scambled packet with > >the BootP request. The same machine works fine without BootP, that is, > >when I include "myip=a_real_number" instead of "myip=BOOTP" > Here's what our sniffer reports for bootp packets send from a 3C501 card. - - - - - - - - - - - - - - - - Frame 1 - - - - - - - - - - - - -DLC: ----- DLC Header ----- DLC: DLC: Frame 1 arrived at 07:53:56.1873 ; frame size is 120 (0078 hex) bytes. DLC: FRAME ERROR: Bad alignment DLC: Destination: BROADCAST FFFFFFFFFFFF, Broadcast DLC: Source : Station 3Com 418917 DLC: Ethertype = 0800 (IP) DLC: IP: ----- IP Header ----- IP: IP: Version = 4, header length = 20 bytes IP: Type of service = 00 IP: 000. .... = routine IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 328 bytes IP: Identification = 1 IP: Flags = 0X IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 100 IP: Protocol = 17 (UDP) IP: Header checksum = 55A5 (correct) IP: Source address = [0.0.0.0] IP: Destination address = [255.255.255.255] IP: No options IP: UDP: ----- UDP Header ----- UDP: UDP: Source port = 68 (Bootp client) UDP: Destination port = 67 UDP: Length = 308 (longer than remaining frame data) UDP: Checksum = 57D9, should be 58B7 UDP: BOOTP: ----- BOOTP Header ----- BOOTP: BOOTP: Boot record type = 1 (Request) BOOTP: Hardware address type = 1 10Mb Ethernet BOOTP: Hardware address length = 6 bytes BOOTP: BOOTP: Hops = 0 BOOTP: Transaction id = 52473325 BOOTP: Elapsed boot time = 256 seconds BOOTP: BOOTP: Client self-assigned IP address = [0.0.0.0] (Unknown) BOOTP: Client hardware address = 3Com 418917 BOOTP: DLC: --- Frame too short - - - - - - - - - - - - - - - - Frame 2 - - - - - - - - - - - - - DLC: ----- DLC Header ----- DLC: DLC: Frame 2 arrived at 07:54:02.3587 ; frame size is 117 (0075 hex) bytes. DLC: FRAME ERROR: Bad alignment DLC: Destination: BROADCAST FFFFFFFFFFFF, Broadcast DLC: Source : Station 3Com 418917 DLC: Ethertype = 0800 (IP) DLC: IP: ----- IP Header ----- IP: IP: Version = 4, header length = 20 bytes IP: Type of service = 00 IP: 000. .... = routine IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 328 bytes IP: Identification = 2 IP: Flags = 0X IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 100 IP: Protocol = 17 (UDP) IP: Header checksum = 55A4 (correct) IP: Source address = [0.0.0.0] IP: Destination address = [255.255.255.255] IP: No options IP: UDP: ----- UDP Header ----- UDP: UDP: Source port = 68 (Bootp client) UDP: Destination port = 67 UDP: Length = 308 (longer than remaining frame data) UDP: Checksum = 57D9, should be 58BA UDP: BOOTP: ----- BOOTP Header ----- BOOTP: BOOTP: Boot record type = 1 (Request) BOOTP: Hardware address type = 1 10Mb Ethernet BOOTP: Hardware address length = 6 bytes BOOTP: BOOTP: Hops = 0 BOOTP: Transaction id = 52473325 BOOTP: Elapsed boot time = 256 seconds BOOTP: BOOTP: Client self-assigned IP address = [0.0.0.0] (Unknown) BOOTP: Client hardware address = 3Com 418917 BOOTP: DLC: --- Frame too short - - - - - - - - - - - - - - - - Frame 3 - - - - - - - - - - - - - DLC: ----- DLC Header ----- DLC: DLC: Frame 3 arrived at 07:54:03.4018 ; frame size is 119 (0077 hex) bytes. DLC: FRAME ERROR: Bad alignment DLC: Destination: BROADCAST FFFFFFFFFFFF, Broadcast DLC: Source : Station 3Com 418917 DLC: Ethertype = 0800 (IP) DLC: IP: ----- IP Header ----- IP: IP: Version = 4, header length = 20 bytes IP: Type of service = 00 IP: 000. .... = routine IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 328 bytes IP: Identification = 3 IP: Flags = 0X IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 100 IP: Protocol = 17 (UDP) IP: Header checksum = 55A3 (correct) IP: Source address = [0.0.0.0] IP: Destination address = [255.255.255.255] IP: No options IP: UDP: ----- UDP Header ----- UDP: UDP: Source port = 68 (Bootp client) UDP: Destination port = 67 UDP: Length = 308 (longer than remaining frame data) UDP: Checksum = 57D9, should be 58B8 UDP: BOOTP: ----- BOOTP Header ----- BOOTP: BOOTP: Boot record type = 1 (Request) BOOTP: Hardware address type = 1 10Mb Ethernet BOOTP: Hardware address length = 6 bytes BOOTP: BOOTP: Hops = 0 BOOTP: Transaction id = 52473325 BOOTP: Elapsed boot time = 256 seconds BOOTP: BOOTP: Client self-assigned IP address = [0.0.0.0] (Unknown) BOOTP: Client hardware address = 3Com 418917 BOOTP: DLC: --- Frame too short - - - - - - - - - - - - - - - - Frame 4 - - - - - - - - - - - - - DLC: ----- DLC Header ----- DLC: DLC: Frame 4 arrived at 07:54:06.3678 ; frame size is 122 (007A hex) bytes. DLC: FRAME ERROR: Bad alignment DLC: Destination: BROADCAST FFFFFFFFFFFF, Broadcast DLC: Source : Station 3Com 418917 DLC: Ethertype = 0800 (IP) DLC: IP: ----- IP Header ----- IP: IP: Version = 4, header length = 20 bytes IP: Type of service = 00 IP: 000. .... = routine IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 328 bytes IP: Identification = 4 IP: Flags = 0X IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 100 IP: Protocol = 17 (UDP) IP: Header checksum = 55A2 (correct) IP: Source address = [0.0.0.0] IP: Destination address = [255.255.255.255] IP: No options IP: UDP: ----- UDP Header ----- UDP: UDP: Source port = 68 (Bootp client) UDP: Destination port = 67 UDP: Length = 308 (longer than remaining frame data) UDP: Checksum = 57D9, should be 58B5 UDP: BOOTP: ----- BOOTP Header ----- BOOTP: BOOTP: Boot record type = 1 (Request) BOOTP: Hardware address type = 1 10Mb Ethernet BOOTP: Hardware address length = 6 bytes BOOTP: BOOTP: Hops = 0 BOOTP: Transaction id = 52473325 BOOTP: Elapsed boot time = 256 seconds BOOTP: BOOTP: Client self-assigned IP address = [0.0.0.0] (Unknown) BOOTP: Client hardware address = 3Com 418917 BOOTP: DLC: --- Frame too short - - - - - - - - - - - - - - - - Frame 5 - - - - - - - - - - - - - DLC: ----- DLC Header ----- DLC: DLC: Frame 5 arrived at 07:54:07.3572 ; frame size is 119 (0077 hex) bytes. DLC: FRAME ERROR: Bad alignment DLC: Destination: BROADCAST FFFFFFFFFFFF, Broadcast DLC: Source : Station 3Com 418917 DLC: Ethertype = 0800 (IP) DLC: IP: ----- IP Header ----- IP: IP: Version = 4, header length = 20 bytes IP: Type of service = 00 IP: 000. .... = routine IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 328 bytes IP: Identification = 5 IP: Flags = 0X IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 100 IP: Protocol = 17 (UDP) IP: Header checksum = 55A1 (correct) IP: Source address = [0.0.0.0] IP: Destination address = [255.255.255.255] IP: No options IP: UDP: ----- UDP Header ----- UDP: UDP: Source port = 68 (Bootp client) UDP: Destination port = 67 UDP: Length = 308 (longer than remaining frame data) UDP: Checksum = 57D9, should be 58B8 UDP: BOOTP: ----- BOOTP Header ----- BOOTP: BOOTP: Boot record type = 1 (Request) BOOTP: Hardware address type = 1 10Mb Ethernet BOOTP: Hardware address length = 6 bytes BOOTP: BOOTP: Hops = 0 BOOTP: Transaction id = 52473325 BOOTP: Elapsed boot time = 256 seconds BOOTP: BOOTP: Client self-assigned IP address = [0.0.0.0] (Unknown) BOOTP: Client hardware address = 3Com 418917 BOOTP: DLC: --- Frame too short Notice that the UDP length and checksum are wrong for each frame. It's as if the packet driver was not padding the frames correctly. Here's what a good and working bootp frame looks like (from 3C523 cards). - - - - - - - - - - - - - - - - Frame 1 - - - - - - - - - - - - - DLC: ----- DLC Header ----- DLC: DLC: Frame 1 arrived at 08:12:13.7023 ; frame size is 342 (0156 hex) bytes. DLC: Destination: BROADCAST FFFFFFFFFFFF, Broadcast DLC: Source : Station 3Com 756558, test bootp DLC: Ethertype = 0800 (IP) DLC: IP: ----- IP Header ----- IP: IP: Version = 4, header length = 20 bytes IP: Type of service = 00 IP: 000. .... = routine IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 328 bytes IP: Identification = 1 IP: Flags = 0X IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 100 IP: Protocol = 17 (UDP) IP: Header checksum = 55A5 (correct) IP: Source address = [0.0.0.0] IP: Destination address = [255.255.255.255] IP: No options IP: UDP: ----- UDP Header ----- UDP: UDP: Source port = 68 (Bootp client) UDP: Destination port = 67 UDP: Length = 308 UDP: Checksum = 8660 (correct) UDP: BOOTP: ----- BOOTP Header ----- BOOTP: BOOTP: Boot record type = 1 (Request) BOOTP: Hardware address type = 1 10Mb Ethernet BOOTP: Hardware address length = 6 bytes BOOTP: BOOTP: Hops = 0 BOOTP: Transaction id = 474B3325 BOOTP: Elapsed boot time = 256 seconds BOOTP: BOOTP: Client self-assigned IP address = [0.0.0.0] (Unknown) BOOTP: Client hardware address = 3Com 756558, test bootp BOOTP: BOOTP: Host name = "" BOOTP: Boot file name = "" BOOTP: BOOTP: [Vendor specific information] BOOTP: Anyone know of a fix for this? Is it a bug in the packet driver? thanks Steven Wallace Indiana University ssw@lavanix.bacs.indana.edu