ifconfig(8) does not display tunnel endpoints for gre(4)

Bruce M Simpson bms at spc.org
Sat Sep 6 11:32:55 PDT 2003


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


More information about the freebsd-net mailing list