Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  3 Feb 2003 17:04:34 +0000 (GMT)
From:      Jan Willem Knopper <jwk@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/47854: [PATCH] rtsol impossible with fixed addres or prefix on another interface
Message-ID:  <20030203170434.DFD241CC31@turtle.stack.nl>

next in thread | raw e-mail | index | archive | help

>Number:         47854
>Category:       conf
>Synopsis:       [PATCH] rtsol impossible with fixed addres or prefix on another interface
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 03 08:10:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jan Willem Knopper
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
M.C.G.V. Stack
>Environment:
System: FreeBSD temp3.stack.nl 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Tue
Jan 28 16:30:39 GMT 2003 compiler@host:/usr/obj/usr/src/sys/TURTLE i386
>Description:
	It is impossible to use rtsol on one interface and a fixed
	addres or prefix on another.
>How-To-Repeat:
from /etc/rc.conf (where auto = `ifconfig -l` = xl0 xl1 lo0)
	ipv6_enable="YES"
	ipv6_ifconfig_xl1='PREFIX::c0:ffee prefixlen 64'
	ipv6_network_interfaces="auto"
>Fix:

--- /etc/rc.d/network_ipv6.orig	Thu Jan 16 20:30:29 2003
+++ /etc/rc.d/network_ipv6	Mon Feb  3 16:52:35 2003
@@ -86,7 +86,7 @@
 		rtsol_interface=yes
 		eval prefix=\$ipv6_prefix_$i
 		if [ -n "${prefix}" ]; then
-			rtsol_available=no
+#			rtsol_available=no
 			rtsol_interface=no
 			laddr=`network6_getladdr $i`
 			hostid=`expr "${laddr}" : 'fe80::\(.*\)%\(.*\)'`
@@ -106,7 +106,7 @@
 		fi
 		eval ipv6_ifconfig=\$ipv6_ifconfig_$i
 		if [ -n "${ipv6_ifconfig}" ]; then
-			rtsol_available=no
+#			rtsol_available=no
 			rtsol_interface=no
 			ifconfig $i inet6 ${ipv6_ifconfig} alias
 		fi
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030203170434.DFD241CC31>