From owner-freebsd-net@FreeBSD.ORG Thu Jan 15 14:01:52 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0539816A4D6 for ; Thu, 15 Jan 2004 14:01:52 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F33CC43D31 for ; Thu, 15 Jan 2004 14:01:37 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 81279 invoked from network); 15 Jan 2004 22:01:37 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.54]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 15 Jan 2004 22:01:37 -0000 Message-ID: <40070DC0.42229CBE@freebsd.org> Date: Thu, 15 Jan 2004 23:01:36 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: David Gilbert References: <40055744.5030607@freebsd.org> <16390.61995.829098.247043@canoe.dclg.ca> <4006F47D.592D4CF1@freebsd.org> <16390.63251.901089.277458@canoe.dclg.ca> <16391.3166.777608.201388@canoe.dclg.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: kern/61215: off-by-one error likely in ip_fragment() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 22:01:52 -0000 David Gilbert wrote: > > >>>>> "Andre" == Andre Oppermann writes: > > Andre> Where are the outer addresses? > > 24.100.27.151 to 66.246.133.17. As I said... the above was the older > output ... which is the same save printing the tunnel endpoints. > > Andre> It should look like this (at least I was able to get correct > Andre> packets out of it this way): > > Andre> gre0: flags=b051 > Andre> mtu 1476 tunnel inet 62.48.0.50 --> 62.48.0.47 inet 192.168.1.1 > Andre> --> 192.168.1.2 netmask 0xffffff00 > > Andre> I get to this by configuring the following: > > Andre> ifconfig gre0 create # create gre0 interface ifconfig gre0 > Andre> tunnel 62.48.0.50 62.48.0.47 # outer addresses ifconfig gre0 > Andre> 192.168.1.1 192.168.1.2 # inner addresses ifconfig gre0 link1 # > Andre> chose nexthop computation method ifconfig gre0 up # enable gre > Andre> tunnel > > Keep in mind this is a working tunnel under October's 5.1-CURRENT. My > config is: > > cloned_interfaces="gre0" > ifconfig_gre0="inet 66.246.133.114 66.246.133.113 netmask 255.255.255.252 > tunnel 24.100.27.151 66.246.133.17" Ok, I am asking you to check out if it works for you the same way it works for me. Then we can proceed to the next step and try to find out why it is different than it used to be for you. -- Andre