bin/74062: ifconfig(8) does not display tunnel endpoints for gre(4)
Eugene M. Zheganin
emz at norma.perm.ru
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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 18 08:20:05 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Eugene M. Zheganin
>Release: FreeBSD 4.10-RELEASE-p2 i386
>Organization:
Norma JSC.
>Environment:
System: FreeBSD ns.hq.norma.perm.ru 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #1: Tue Jul 13 14:25:47 YEKST 2004 emz at ns.hq.norma.perm.ru:/usr/obj/usr/src/sys/HQ i386
>Description:
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
http://www.freebsd.org/cgi/query-pr.cgi?pr=56341
>How-To-Repeat:
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 10.1.0.1/24
emz at freedom:~%ifconfig gre0 10.2.0.1 10.2.0.2 netmask 255.255.255.255 tunnel 10.1.0.1 10.1.0.2
emz at freedom:~%ifconfig gre0
gre0: flags=9051<UP,POINTOPOINT,RUNNING,LINK0,MULTICAST> mtu 1476
inet 10.2.0.1 --> 10.2.0.2 netmask 0xffffffff
inet6 fe80::20e:cff:fe00:fc9b%gre0 prefixlen 64 scopeid 0x12
>Fix:
None known for 4.x, but fix for 5.x was described in http://www.freebsd.org/cgi/query-pr.cgi?pr=56341
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list