From owner-freebsd-net@FreeBSD.ORG Tue May 27 14:13:43 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6339E1065670 for ; Tue, 27 May 2008 14:13:43 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from ibctech.ca (unknown [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id F2BB08FC0A for ; Tue, 27 May 2008 14:13:42 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 51741 invoked by uid 89); 27 May 2008 10:13:48 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 27 May 2008 10:13:48 -0000 Message-ID: <483C169D.7030304@ibctech.ca> Date: Tue, 27 May 2008 10:11:41 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Dual stack with multiple addresses in rc.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2008 14:13:43 -0000 Hi all, I'm having a difficult time sorting out how to have all my required IP addresses (and gateways) configured correctly on boot up via rc.conf. I've tried all manner of methods using aliases etc, but somehow or another, the machine fails to configure all of the addresses correctly, and it never configures the IPv6 defaultrouter in the routing table. I must stand by the console of the machine if it needs to be rebooted so I can manually configure the addresses/routes that do not set themselves up correctly. Can someone please advise me on the proper configuration as it should be in rc.conf for the following addresses? All of the addresses need to be configured on a single interface (fxp0): ifconfig_fxp0="inet6 2607:f118::b6 prefixlen 64" ifconfig_fxp0_alias0="inet6 2607:f118::b7 prefixlen 64" ifconfig_fxp0="inet 208.70.104.210 255.255.255.248" ifconfig_fxp0_alias1="inet 208.70.104.211 netmask 255.255.255.255" defaultrouter="208.70.104.209" ipv6_defaultrouter="2607:f118::1" Regards, Steve