From owner-freebsd-questions@FreeBSD.ORG Thu Jan 7 17:07:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51F47106566C for ; Thu, 7 Jan 2010 17:07:23 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 21D528FC20 for ; Thu, 7 Jan 2010 17:07:20 +0000 (UTC) Received: (qmail 1536 invoked by uid 89); 7 Jan 2010 17:06:23 -0000 Received: from unknown (HELO ?IPv6:2607:f118:2:8000:e077:8d2b:5090:488d?) (steve@ibctech.ca@2607:f118:2:8000:e077:8d2b:5090:488d) by 2607:f118::b6 with ESMTPA; 7 Jan 2010 17:06:23 -0000 Message-ID: <4B4614C6.8090601@ibctech.ca> Date: Thu, 07 Jan 2010 12:07:18 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Matthew Seaman References: <4B45F643.9000809@ibctech.ca> <4B46021F.906@infracaninophile.co.uk> <4B4604CF.2040404@ibctech.ca> <4B460815.1040306@infracaninophile.co.uk> In-Reply-To: <4B460815.1040306@infracaninophile.co.uk> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Bogdan Webb , freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 17:07:23 -0000 Matthew Seaman wrote: > Steve Bertrand wrote: > >> Hmmm. This config does not work: >> >> ifconfig_re0="inet 208.70.104.210 netmask 255.255.255.192" >> ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255" >> ifconfig_re0_alias1="inet6 2607:f118::b6 prefixlen 64" >> ifconfig_re0_alias2="inet6 2607:f118::b7 prefixlen 64" > > Yep. Try it like this: > > ifconfig_re0="inet 208.70.104.210 netmask 255.255.255.192" > ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255" > ipv6_ifconfig_re0="2607:f118::b6 prefixlen 64" > ipv6_ifconfig_re0_alias0="2607:f118::b7 prefixlen 64" The above works. > or, even better, like this: > > ipv4_addrs_re0="208.70.104.210/26 208.70.104.211/26" > ipv6_addrs_re0="2607:f118::b6/64 2607:f118::b7/64" Unfortunately, that one does not. I do not get any IPv6 addresses configured. I didn't re-try my original configuration, but I will at another time. Both of your recommendations failed until I entered ipv6_enable="YES" in /etc/rc.conf. I did not have this line prior, yet the addresses were successfully applied, just no default gateway. Either way, thanks much :) I will try out your second recommendation again in the future. For now, problem resolved. Cheers! Steve