From owner-freebsd-questions Fri Aug 10 14:32:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from motgate3.mot.com (motgate3.mot.com [144.189.100.103]) by hub.freebsd.org (Postfix) with ESMTP id 2D1E537B401 for ; Fri, 10 Aug 2001 14:32:22 -0700 (PDT) (envelope-from venkatesh.pandurangi@motorola.com) Received: [from pobox2.mot.com (pobox2.mot.com [136.182.15.8]) by motgate3.mot.com (motgate3 2.1) with ESMTP id OAA28731 for ; Fri, 10 Aug 2001 14:24:46 -0700 (MST)] Received: [from il27exm07.cig.mot.com (IL27EXM07.cig.mot.com [136.182.15.116]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id OAA28496 for ; Fri, 10 Aug 2001 14:32:21 -0700 (MST)] Received: by IL27EXM07.cig.mot.com with Internet Mail Service (5.5.2654.52) id ; Fri, 10 Aug 2001 16:32:21 -0500 Message-ID: <796456A0F96AD511A0AC009027B0F7412D0782@IL27EXM08.cig.mot.com> From: Pandurangi Venkatesh-AVP028 To: "'freebsd-questions@FreeBSD.ORG'" Subject: Does anybody noticed TCP checksum problem while tunneling? Date: Fri, 10 Aug 2001 16:32:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.52) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, We are using a CMU mobile IPv4 code, for enhancing the Mobile IPv4 functions on a FreeBSD platform. We are seeing some problems related to TCP checksum, when a TCP packet is encapsulated (IP in IP) and sent from CN (Correspondent Node) to MN (Mobile Node) via FA (Foreign Agent). There is a telnet session initiated from CN to MN when MN is in Foreign Domain. CN sends a TCP packet to FA's IP address using IP in IP tunneling. Looks like CN is calculating the TCP checksum twice 1) using CN's IP address as source and FA's IP address as destination (inner IP packet). 2) it is calculated again using outer IP packet using CNs IP address as source and MNs IP address as destination. When this packet reaches FA, FA reports TCP checksum error, which breaks the telnet session initiated from CN to MN. Example : MN's home IP address : 77.1.63.2 CN's IP address : 77.1.61.2 FA's IP address : 77.1.59.1 These are connected using CISCO routers. The way the packets are routed from CN to MN is via FA using Mobile IP route optimization. When a ping is made from CN to MN, we can see the ping (ICMP) messages encapsulated by CN and sent to FA. FA de-capsulates and sends it to MN. MN sends the ping reply back to CN using normal IP routing. This was ping works fine without any problems. When a telnet/ftp session is initiated from CN to MN it does not work and FA reports check sum error. Does anyone noticed this problem? Or anybody has a solution to this problem? Thanks in advance. Regards Venkatesh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message