conf/166770: We do not need the "ifdisabled" flag on gif Interface.
Yoshikazu GOTO
goto at on-link.jp
Mon Apr 9 00:20:16 UTC 2012
>Number: 166770
>Category: conf
>Synopsis: We do not need the "ifdisabled" flag on gif Interface.
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 09 00:20:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Yoshikazu GOTO
>Release: 9.0-STABLE
>Organization:
>Environment:
FreeBSD **** 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Apr 9 02:12:04 JST 2012 root@****:/usr/obj/usr/src/sys/KERNEL i386
>Description:
I wrote the /etc/rc.conf file for IPv6 on 9-STABLE machine, as following:
----
ipv6_defaultrouter="-interface gif0"
ifconfig_em0="inet <IPv4 address> netmask <Netmask>"
ifconfig_em0_ipv6="inet6 <IPv6 address> prefixlen 64"
gif_interfaces="gif0"
gifconfig_gif0="<IPv4 address> <Destination IPv4 address>"
----
but I cannot send any IPv6 packets.
>How-To-Repeat:
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
tunnel inet **** --> ****
inet6 fe80::****%gif0 prefixlen 64 tentative scopeid 0x4
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
options=1<ACCEPT_REV_ETHIP_VER>
$ ping6 www.kame.net
PING6(56=40+8+8 bytes) **** --> 2001:200:dff:fff1:216:3eff:feb1:
44d7
ping6: sendmsg: Network is down
ping6: wrote orange.kame.net 16 chars, ret=-1
ping6: sendmsg: Network is down
ping6: wrote orange.kame.net 16 chars, ret=-1
^C
--- orange.kame.net ping6 statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
>Fix:
So, I run a command "ifconfig gif0 inet6 -ifdisabled", I can send the IPv6 packets.
Please add this command line to "gif_up()" function in /etc/network.subr file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list