Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2003 19:29:29 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Juan Rodriguez Hervella <jrh@it.uc3m.es>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ifconfig(8) does not display tunnel endpoints for gre(4)
Message-ID:  <20030906182929.GO1417@spc.org>
In-Reply-To: <200309041054.13899.jrh@it.uc3m.es>
References:  <20030903233510.GC19767@spc.org> <200309041054.13899.jrh@it.uc3m.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 04, 2003 at 10:54:12AM +0200, Juan Rodriguez Hervella wrote:
> [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."

I forgot to mention I've explicitly disabled ip6 link-local addresses
on my machine, via the following sysctl:

net.inet6.ip6.auto_linklocal: 0

ifconfig doesn't display 'tunnel' for your GRE interfaces, this is
the problem I'm talking about. Not being able to see the addresses used
in the encapsulating IP header is a bug.

BMS



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