IPv6 default route. Can't see the wood for the trees.

Kimmo Paasiala kpaasial at gmail.com
Tue Aug 28 14:46:27 UTC 2012


> On 8/27/2012 12:27 PM, Christian Laursen wrote:
>> On 08/27/12 21:03, John Hawkes-Reed wrote:
>>> On 27/08/2012 19:06, Christian Laursen wrote:
>>>> On 08/27/12 18:49, John Hawkes-Reed wrote:
>>>>> rc.conf:
>>>>>
>>>>> (I'm not convinced that obfuscating the addresses is worth the
>>>>> confusion)
>>>>>
>>>>> ipv6_gateway_enable="YES"
>>>>> ip6addrctl_verbose="YES"
>>>>> rtadvd_enable="YES"
>>>>> rtadvd_interfaces="rl0"
>>>>> ipv6_cpe_wanif="pcn0"
>>>>> ipv6_defaultrouter="2001:470:1f0a:b5a::1"
>>>>> gif_interfaces="gif0"
>>>>> gifconfig_gif0="192.168.1.100 216.66.80.30"
>>>>> ifconfig_gif0_ipv6="inet6 2001:470:1f0a:b5a::2 2001:470:1f0a:b5a::1
>>>>> prefixlen 128"
>>>>> ifconfig_pcn0_ipv6="inet6 2001:470:1f0b:b5a::4 prefixlen 64"
>>>>> ifconfig_rl0_ipv6="inet6  2001:470:1f0b:b5a::3 prefixlen 64
>>>>> -accept_rtadv"
>>>>
>>>> It looks like you are trying to use the /64 used for your tunnel on the
>>>> inside network. That's probably what causes the problem.
>>>>
>>>> You should use the "Routed /64" on the inside. If you need more than one
>>>> /64, you can request a /48.
>>>
>>> I think I am. The endpoints are ...:1f0A: and the /64 is ...:1f0B:
>>
>> Sorry, my bad.
>>
>> Are pcn0 and rl0 both connected to internal networks?
>>
>> Having the same /64 configured on both is probably bad.
>
> Why would it be?
>
>
> --

You can't have the exact same prefix on two different interfaces,
there's no way to decide where to route traffic going to that prefix
if there's two equal routes in the routing table.

-Kimmo


More information about the freebsd-stable mailing list