bin/74062: ifconfig(8) does not display tunnel endpoints for gre(4)

Eugene M. Zheganin emz at
Thu Nov 18 00:20:06 PST 2004

>Number:         74062
>Category:       bin
>Synopsis:       ifconfig(8) does not display tunnel endpoints for gre(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 18 08:20:05 GMT 2004
>Originator:     Eugene M. Zheganin
>Release:        FreeBSD 4.10-RELEASE-p2 i386
Norma JSC.
System: FreeBSD 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #1: Tue Jul 13 14:25:47 YEKST 2004 emz at i386

	ifconfig(8) does NOT display the tunnel physical endpoints correctly
	for a GRE interface under certain conditions. this was already fixed in 5.x, see
	On a FreeBSD built with ipv6-support try to create and configure gre-interface. Then check the output of ifconfig gre<N>. The line, describing the tunnel configuration will be missing.
Like this:
emz at freedom:~%ifconfig gre0 create
emz at freedom:~%ifconfig gre0
gre0: flags=9010<POINTOPOINT,LINK0,MULTICAST> mtu 1476
emz at freedom:~%ifconfig vlan1 add
emz at freedom:~%ifconfig gre0 netmask tunnel
emz at freedom:~%ifconfig gre0
        inet --> netmask 0xffffffff
        inet6 fe80::20e:cff:fe00:fc9b%gre0 prefixlen 64 scopeid 0x12

	None known for 4.x, but fix for 5.x was described in


More information about the freebsd-bugs mailing list