FreeBSD ipv6 rc.conf settings issue
kline at thought.org
Sat Jan 9 07:47:21 UTC 2010
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 22.214.171.124 netmask 255.255.255.192"
> >> ifconfig_re0_alias0="inet 126.96.36.199 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 188.8.131.52 netmask 255.255.255.192"
> > ifconfig_re0_alias0="inet 184.108.40.206 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="220.127.116.11/26 18.104.22.168/26"
> > ipv6_addrs_re0="2607:f118::b6/64 2607:f118::b7/64"
> Unfortunately, that one does not. I do not get any IPv6 addresses
> 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.
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
given that my Adress record is 22.214.171.124 ?
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
The 7.79a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions