From owner-freebsd-current@FreeBSD.ORG Wed Feb 25 08:01:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB80D16A4CE for ; Wed, 25 Feb 2004 08:01:28 -0800 (PST) Received: from spock.rvdp.org (dhcp-02.nlnetlabs.nl [213.154.224.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42FC143D1F for ; Wed, 25 Feb 2004 08:01:28 -0800 (PST) (envelope-from rvdp@rvdp.org) Received: by spock.rvdp.org (Postfix, from userid 545) id DB4FA200DA3; Wed, 25 Feb 2004 17:01:26 +0100 (CET) Date: Wed, 25 Feb 2004 17:01:26 +0100 From: Ronald van der Pol To: current@freebsd.org Message-ID: <20040225160126.GC20199@rvdp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i Subject: IPv6 autoconf fails on multihomed host X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 16:01:29 -0000 /etc/network.subr has this code: --------------- if [ ${rtsol_available} = yes -a -n "${rtsol_interfaces}" ]; then # Act as endhost - automatically configured. # You can configure only single interface, as # specification assumes that autoconfigured host has # single interface only. sysctl net.inet6.ip6.accept_rtadv=1 set ${rtsol_interfaces} ifconfig $1 up rtsol ${rtsol_flags} $1 fi --------------- The interfaces on our host are: nv0 rl0 xl0 lo0 nv0 is on a local RFC1918 test network with no IPv6 connectivity, rl0 is on our LAN with IPv6 connectivity and an IPv6 router. Clearly, the rtsol fails. What specification assumes that an autoconfigured host has a single interface only? Setting ${rtsol_flags} to "-a" does not work, because the code above will give "rtsol -a nv0". I think a non-forwarding host with multiple interfaces should be supported. Opinions? rvdp