Date: Fri, 28 Aug 1998 09:22:43 +0200 (CEST) From: hm@kts.org (Hellmuth Michaelis) To: freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers) Subject: TCP checksum errors resulting from IP addr change Message-ID: <m0zCIrr-00001vC@bert.kts.org>
next in thread | raw e-mail | index | archive | help
Hi, I've posted this to -net without a reaction. Any reaction is welcome since i totally ran out of ideas: I'm trying to debug a strange effect occuring on a sync PPP ISDN interface which is used to connect to a Cisco 1003 (on 192.76.124.10). To get an address dynamically from the remote side, the local PPP inter- face (on 2.2.5-RELEASE) is set up with: ifconfig isppp0 link1 0.0.0.0 192.76.124.10 netmask 0xffffffff debug Now i telnet to 192.76.124.10 and the link gets established but the telnet session doesn't. I looked at the traces and noticed the very first IP packet going out with source address 0.0.0.0 to the Cisco - i removed that in the driver but still the telnet session is not established. (btw. only the first session is not established, if i terminate the first telnet and restart it on the open link, it works immediately; but i want the first to work ...). I enabled TCP debugging on the Cisco, and for all the packets from this first telnet session it says "TCP checksum error". So i think, IP address 0.0.0.0 is used for checksum calculation of the TCP packets for this forst session, but the "real" IP address of the interface changes to 192.something after the first packet and the TCP checksum is somehow not recalculated causing checksum errors on the remote side (Is this correct ?). Is there a way to inform the TCP layer to recalculate checksums or to get the new IP address from the interface ? Do i have to recalculate the checksums for this session in the driver ? Has anyone another hint or an idea how to solve this ? hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de 22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message -- Hellmuth Michaelis hm@kts.org Hamburg, Europe A duck is like a bicycle because they both have two wheels except the duck (terry@cs.weber.edu) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0zCIrr-00001vC>