>Number: 180572
>Category: misc
>Synopsis: SLAAC is enabled for ipv6_cpe_wanif
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 15 10:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Shuichi KITAGUCHI
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD themis.k.ysnb.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17
11:38:17 UTC 2013
[email protected]:/usr/obj/usr/src/sys/GENERIC i386
>Description:
In /etc/rc.conf, ipv6_cpe_wanif was introduced from 9.0-RELEASE for enabling
accept_rtadv flag to outgoing interface. But rtsol is not executed on outgoing
interface when ipv6_gateway_enable is "YES". Therefore my FreeBSD router cannot
get prefix from upstream.
>How-To-Repeat:
In /etc/rc.conf
ipv6_gateway_enable="YES"
ipv6_cpe_wanif="OUTIF"
and reboot machine.
>Fix:
When ipv6_cpe_wanif is set, I suppose rtsol should be executed regardless of
ipv6_gateway_enable. Attached patch fixes this problem but this could be
accepted?
Patch attached with submission follows:
--- network.subr.old 2012-12-31 20:12:00.000000000 +0900
+++ network.subr 2013-07-15 18:51:45.000000000 +0900
@@ -480,6 +480,9 @@
if ! ipv6if $_if; then
return 1
fi
+ if [ "${ipv6_cpe_wanif}" = "${_if}" ]; then
+ return 0
+ fi
if checkyesno ipv6_gateway_enable; then
return 1
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"