From owner-freebsd-current@FreeBSD.ORG Sun Apr 25 00:54:15 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3415D106566B for ; Sun, 25 Apr 2010 00:54:15 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id F0E0F8FC14 for ; Sun, 25 Apr 2010 00:54:14 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id D571897FF for ; Sun, 25 Apr 2010 00:54:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-3.5 required=8.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA for ; Sun, 25 Apr 2010 00:54:13 +0000 (UTC) From: Bruce Cran To: freebsd-current@freebsd.org Date: Sun, 25 Apr 2010 01:54:07 +0100 User-Agent: KMail/1.13.2 (FreeBSD/9.0-CURRENT; KDE/4.4.2; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201004250154.07703.bruce@cran.org.uk> Subject: New IPv6 settings in rc.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 25 Apr 2010 00:54:15 -0000 I updated my router to the latest -CURRENT yesterday and now I'm getting an error on startup from ifconfig saying the the IPv6 addresses I've configured are wrong ("bad value"). The settings I've got in rc.conf are: # IPv4 setup defaultrouter="a.b.c.d" gateway_enable="YES" ifconfig_vr0="a.b.c.d netmask 255.255.248.0 up" cloned_interfaces="bridge0" ifconfig_bridge0="addm dc0 addm dc1 addm dc2 addm dc3 192.168.1.1 netmask 255.255.255.0 up" ifconfig_dc0="up" ifconfig_dc1="up" ifconfig_dc2="up" ifconfig_dc3="up" # IPv6 setup ipv6_prefer="YES" ipv6_gateway_enable="YES" ipv6_defaultrouter="2001:abcd:abcd:abc::x" gif_interfaces="gif0 gif1" gifconfig_gif0="a.b.c.d e.f.g.h" gifconfig_gif1="a.b.c.d i.j.k.l" ifconfig_gif0_ipv6="2001:abcd:abcd:abc::x abcd:abc:abcd:abc::x prefixlen 128" ifconfig_gif1_ipv6="2a01:abcd:a:bc::x abcd:abc:x:ab::x prefixlen 128" # if_bridge doesn't have a link-local address by default, so add one ifconfig_bridge0_ipv6="fe80::2%bridge0 prefixlen 64" ifconfig_bridge0_ipv6_alias0="2001:abcd:abcd:abcd::x" # DHCP, DHCPv6 and rtadvd settings follow I can manually run ifconfig once the systems running so I guess I've missed out a required setting somewhere? -- Bruce Cran