kern/61215: off-by-one error likely in ip_fragment()

David Gilbert dgilbert at
Thu Jan 15 13:55:47 PST 2004

>>>>> "Andre" == Andre Oppermann <andre at> writes:

Andre> Where are the outer addresses? to  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> mtu 1476 tunnel inet --> inet
Andre> --> netmask 0xffffff00

Andre> I get to this by configuring the following:

Andre> ifconfig gre0 create # create gre0 interface ifconfig gre0
Andre> tunnel # outer addresses ifconfig gre0
Andre> # 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:

ifconfig_gre0="inet netmask tunnel"


|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave at                    |  equal if and only if they |
|                              |   are precisely opposite.  |

More information about the freebsd-current mailing list