From owner-freebsd-net@FreeBSD.ORG Fri Aug 18 15:28:13 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 4094016A4DA for ; Fri, 18 Aug 2006 15:28:13 +0000 (UTC) (envelope-from julienabeille@yahoo.fr) Received: from web26608.mail.ukl.yahoo.com (web26608.mail.ukl.yahoo.com [217.146.176.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 8356443D58 for ; Fri, 18 Aug 2006 15:28:12 +0000 (GMT) (envelope-from julienabeille@yahoo.fr) Received: (qmail 54304 invoked by uid 60001); 18 Aug 2006 15:28:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=V6gnkxHK1pY+l4c8MwyY3naQ0IwoNFLcQt7es9XJudYUjJLaaetqFgmlsliZ126ezwA8QOdnp0tE/x1HlTMMUNYNeHylaYnX/IekKbt/k54c1sfZRnerCoYFtL5teU5no9eCGx8uCCLoNq0YpuUwyUpR/L24KfCVylPceWiS2UY= ; Message-ID: <20060818152811.54302.qmail@web26608.mail.ukl.yahoo.com> Received: from [195.37.70.39] by web26608.mail.ukl.yahoo.com via HTTP; Fri, 18 Aug 2006 15:28:11 GMT Date: Fri, 18 Aug 2006 15:28:11 +0000 (GMT) From: =?iso-8859-1?q?Julien=20Abeill=E9?= To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ipv6 in ipv6 tunnel with FreeBSD 4.11 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-8859-1?q?Julien=20Abeill=E9?= List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 15:28:13 -0000 Hi, I am using freebsd 4.11 and trying to setup ipv6 in ipv6 tunnels. I have the following testbed 4 machines connected in line: M1-----------M2--------FreeBSD-------M3 c::1---c::2 | b::2----b::1 | a::1---a::2 I want to create a tunnel between FreeBSD (b::1) and M2 (b::2) Here is my configuration on the FreeBSD machine: em0 : a::1/64 em1 b::1/64 I do the folllowing to setup the tunnel: ifconfig gif0 create ifconfig gif0 tunnel b::1 b::2 ifconfig gif0 d::1/64 route add -inet6 -host c::1 -interface gif0 I am not sure about what is the gif0 address d::1/64 used for. the problem is: when i ping or send any traffic from a::2 to c::1, the FreeBSD machine adds an ipv6 header with b::1 as source, b::2 as destination, but with hop count limit=0 Is my configuration ok? Thanks a lot, Julien