help needed setting up NATIVE ipv6 connection

Björn König bjoern.koenig at alpha-tierchen.de
Wed Feb 21 11:28:14 UTC 2007


Arone Silimantia schrieb:
> 
> --- Björn König <bjoern.koenig at alpha-tierchen.de>
> wrote:
> 
>> Add the following line in /etc/rc.conf
>>
>> ipv6_enable="YES"
>>
>> This is enough to let FreeBSD configure the
>> interface with IPv6 
>> automatically using router solicitation.
> 
> 
> Hmmm...that sounds very nice - just adding that one
> line and _nothing else_.  This system is a server
> though, so how will that router know to give me the
> same IP every time ?

It assigns an IP that corresponds with you hardware MAC address.

>> ifconfig_fxp4="inet <ipv4>"
>> ifconfig_fxp4_alias0="inet <ipv4>"
>> ifconfig_fxp4_alias1="inet6 1234:1234:1234::2/64"
>> ifconfig_fxp4_alias2="inet6 1234:1234:1234::3/64"
> 
> 
> Ok, yes, I think I would like to do it manually like
> this.  I notice you do not have a ipv6 default route
> statement there - is it not needed ?

Sorry, I forgot that.

ipv6_defaultrouter="1234:1234:1234::1"

> Do I need to tell my provider that I am taking the /48
> they gave me and using it with a /64 like that, or can
> I just stick in the /64 and it will work fine ?

> I assume that if I just want to keep things simple I
> can just put /48 in place of your /64, right ?

Both will work without problems.


Regards
Björn


More information about the freebsd-questions mailing list