From owner-freebsd-net@FreeBSD.ORG Thu Sep 4 01:54:17 2003 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 04C8016A4BF for ; Thu, 4 Sep 2003 01:54:17 -0700 (PDT) Received: from smtp.uc3m.es (smtp02.uc3m.es [163.117.136.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E70CD43FF7 for ; Thu, 4 Sep 2003 01:54:15 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from smtp02.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id CF2CB4313B; Thu, 4 Sep 2003 10:54:14 +0200 (CEST) Received: from mira.it.uc3m.es (mira.it.uc3m.es [163.117.140.166]) by smtp02.uc3m.es (Postfix) with ESMTP id 757EC99FD2; Thu, 4 Sep 2003 10:54:14 +0200 (CEST) From: Juan Rodriguez Hervella Organization: UC3M To: Bruce M Simpson , freebsd-net@freebsd.org Date: Thu, 4 Sep 2003 10:54:12 +0200 User-Agent: KMail/1.5.1 References: <20030903233510.GC19767@spc.org> In-Reply-To: <20030903233510.GC19767@spc.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309041054.13899.jrh@it.uc3m.es> Subject: Re: ifconfig(8) does not display tunnel endpoints for gre(4) 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, 04 Sep 2003 08:54:17 -0000 On Thursday 04 September 2003 01:35, Bruce M Simpson wrote: > Hi all, > > Could someone review my PR and let me know if they have also observed > the problem? I will produce a fix shortly. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=56341 > > Thanks > BMS Hello, I've read your PR, and I've tried to creat a gre tunnel both in FreeBSD-4.8 and FreeBSD-5.1, as follows: 1. ifconfig gre0 create 2. ifconfig gre0 192.168.1.1 192.168.2.1 link1 3. ifconfig gre0 tunnel 163.117.140.166 163.117.140.181 This is what I see with "ifconfig -a" on FreeBSD-4.8 [snipped] gre0: flags=b011 mtu 1476 inet6 fe80::201:3ff:fed6:e03a%gre0 prefixlen 64 scopeid 0xb inet 163.117.140.166 --> 163.117.140.181 netmask 0xffff0000 And this is with FreeBSD-5.1 [snipped] gre0: flags=b051 mtu 1476 inet 192.168.1.1 --> 192.168.2.1 netmask 0xffffff00 inet6 fe80::2c0:26ff:fea3:5df6%gre0 prefixlen 64 scopeid 0x5 Besides, I think that every interface already has a link-local IPv6 address, so I don't quite catch what you're saying in the PR, which I quoted here: "When the system is compiled with INET6 support, then any instance of a tunnel clone interface must have an AF_INET6 address configured on it for the tunnel source/destination to be displayed." Thank you! -- JFRH