Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 16:55:42 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        David Gilbert <dgilbert@dclg.ca>
Subject:   Re: kern/61215: off-by-one error likely in ip_fragment()
Message-ID:  <16391.3166.777608.201388@canoe.dclg.ca>
In-Reply-To: <4006FBA0.F2057876@freebsd.org>
References:  <40055744.5030607@freebsd.org> <16390.61995.829098.247043@canoe.dclg.ca> <4006F47D.592D4CF1@freebsd.org> <16390.63251.901089.277458@canoe.dclg.ca> <4006FBA0.F2057876@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Andre" == Andre Oppermann <andre@freebsd.org> 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<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST>
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"

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave@daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16391.3166.777608.201388>