From owner-freebsd-bugs Mon Feb 3 8:10:17 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C88A37B401 for ; Mon, 3 Feb 2003 08:10:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7701443F79 for ; Mon, 3 Feb 2003 08:10:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h13GABNS089353 for ; Mon, 3 Feb 2003 08:10:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h13GABLu089352; Mon, 3 Feb 2003 08:10:11 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B722037B401 for ; Mon, 3 Feb 2003 08:04:31 -0800 (PST) Received: from hexagon.stack.nl (hexagon.stack.nl [131.155.140.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF88B43F3F for ; Mon, 3 Feb 2003 08:04:30 -0800 (PST) (envelope-from jwk@stack.nl) Received: by hexagon.stack.nl (Postfix, from userid 65534) id 684151CA6; Mon, 3 Feb 2003 17:04:29 +0100 (CET) Received: from turtle.stack.nl (turtle-ng.ipv6.stack.nl [2001:610:1108:5011:2e0:81ff:fe22:51d8]) by hexagon.stack.nl (Postfix) with ESMTP id B13BC1CA5 for ; Mon, 3 Feb 2003 17:04:28 +0100 (CET) Received: by turtle.stack.nl (Postfix, from userid 887) id DFD241CC31; Mon, 3 Feb 2003 17:04:34 +0000 (GMT) Message-Id: <20030203170434.DFD241CC31@turtle.stack.nl> Date: Mon, 3 Feb 2003 17:04:34 +0000 (GMT) From: Jan Willem Knopper Reply-To: Jan Willem Knopper To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/47854: [PATCH] rtsol impossible with fixed addres or prefix on another interface Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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