Date: Thu, 4 Sep 2003 10:54:12 +0200 From: Juan Rodriguez Hervella <jrh@it.uc3m.es> To: Bruce M Simpson <bms@spc.org>, freebsd-net@freebsd.org Subject: Re: ifconfig(8) does not display tunnel endpoints for gre(4) Message-ID: <200309041054.13899.jrh@it.uc3m.es> In-Reply-To: <20030903233510.GC19767@spc.org> References: <20030903233510.GC19767@spc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,LINK0,LINK1,MULTICAST> 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<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309041054.13899.jrh>