From owner-freebsd-net@FreeBSD.ORG Tue May 27 14:25:07 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 D9DBF106566B for ; Tue, 27 May 2008 14:25:05 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC9E8FC3B for ; Tue, 27 May 2008 14:25:05 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-023-106.pools.arcor-ip.net [88.66.23.106]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1K106q1OW3-0000KK; Tue, 27 May 2008 16:25:04 +0200 Received: (qmail 54271 invoked from network); 27 May 2008 14:23:12 -0000 Received: from myhost.laiers.local (192.168.4.151) by laiers.local with SMTP; 27 May 2008 14:23:12 -0000 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Tue, 27 May 2008 16:24:27 +0200 User-Agent: KMail/1.9.9 References: <483C169D.7030304@ibctech.ca> In-Reply-To: <483C169D.7030304@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805271624.27922.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18OX9Vp0hrVxuI6eCfqiBiFtqgIrN9lGeW0M9L 9HmgSopB6chgp7tUetwlJ43j8aKGYx1d8VKDGiI+A8kByhpjfG yupaSSH/FdBpLlCjq/YRQ== Cc: Steve Bertrand Subject: Re: 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:25:07 -0000 On Tuesday 27 May 2008 16:11:41 Steve Bertrand wrote: > 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=3D"inet6 2607:f118::b6 prefixlen 64" > ifconfig_fxp0_alias0=3D"inet6 2607:f118::b7 prefixlen 64" > ifconfig_fxp0=3D"inet 208.70.104.210 255.255.255.248" > ifconfig_fxp0_alias1=3D"inet 208.70.104.211 netmask 255.255.255.255" > > defaultrouter=3D"208.70.104.209" > ipv6_defaultrouter=3D"2607:f118::1" =46rom rc.conf(5): Instead of setting the ifconfig variables as ifconfig_ they should be set as ipv6_ifconfig_. Aliases should be set as ipv6_ifconfig__alias. The default router should fall into place once you have an interface that=20 is able to contact it - otherwise route will refuse to add. > Regards, > > Steve > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News