Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 23:47:15 -0800
From:      Gary Kline <kline@thought.org>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        Bogdan Webb <bogdan@pgn.ro>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD ipv6 rc.conf settings issue
Message-ID:  <20100109074715.GC83472@thought.org>
In-Reply-To: <4B4614C6.8090601@ibctech.ca>
References:  <c81e6afd1001070059h698fc0d2g629977802276c1b9@mail.gmail.com> <4B45F643.9000809@ibctech.ca> <4B46021F.906@infracaninophile.co.uk> <4B4604CF.2040404@ibctech.ca> <4B460815.1040306@infracaninophile.co.uk> <4B4614C6.8090601@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 07, 2010 at 12:07:18PM -0500, Steve Bertrand wrote:
> 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


This caught my interest this morning so I set up a commented-out trial in
/etc/rc.d for my ipv6 entry; the one I had in my database /etc/namedb/* files
blew my connection sky-high recently.

Does this seem plausible:


#
## ipv6 config
#

# ipv6_enable="YES"
# ipv6_defaultrouter="2002:d1b4:d5d2::"
# ipv6_default_interface="em0"
# ipv6_gateway_enable="YES"

given that my Adress record is 	209.180.213.210 ?

tia, gents,

gary



-- 
 Gary Kline  kline@thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.79a release of Jottings: http://jottings.thought.org/index.php




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100109074715.GC83472>