Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 10:52:34 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        User Red35 <red35@zyni.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: rtadvd and carp
Message-ID:  <AANLkTik2n7MoV-3pwm7whsT1JUjss_ba8poT87FK42QL@mail.gmail.com>
In-Reply-To: <201102282328.p1SNSQQ7020266@minuit.zyni.com>
References:  <201102282328.p1SNSQQ7020266@minuit.zyni.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 March 2011 02:28, User Red35 <red35@zyni.com> wrote:
>
> I am getting started with IPv6 and I am trying to get rtadvd working on
> the carp interface but it is not working so far.
>
>
> ### I have carp failover between two firewalls. =A0The default gateway fo=
r
> ### =A0 =A0hosts internal to the firewall is 172.31.98.103 for IPv4
> ### =A0 =A0and 2001:470:dead:98::103 for IPv6
>
> =A0 =A0# ifconfig carp1
> =A0 =A0carp1: flags=3D49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
> =A0 =A0 =A0 =A0 =A0 =A0inet 172.31.98.103 netmask 0xffffffff
> =A0 =A0 =A0 =A0 =A0 =A0inet6 2001:470:dead:98::103 prefixlen 64
> =A0 =A0 =A0 =A0 =A0 =A0nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
> =A0 =A0 =A0 =A0 =A0 =A0carp: MASTER vhid 1 advbase 1 advskew 60
> =A0 =A0#
>
>
> ### rtadvd does not work since carp1 does not have a link local address
>
>
> =A0 =A0# rtadvd -f -D carp1
> =A0 =A0rtadvd[13262]: <make_packet> link-layer address option has null le=
ngth on carp1. =A0Treat as not included.
> =A0 =A0rtadvd[13262]: <ra_timer_update> RA timer on carp1 is set to 16:0
> =A0 =A0rtadvd[13262]: <sock_open> IPV6_JOIN_GROUP(link) on carp1: Can't a=
ssign requested address
> =A0 =A0#
>
>
> ### Per RFC 4861 Router advertisements are supposed to use
> ### =A0 =A0 link-local addresses... =A0carp does not have one.
>
>
> =A0 =A0##################################################################=
#########
> =A0 =A0### http://tools.ietf.org/html/rfc4861#page-39
> =A0 =A0##################################################################=
#########
>
> =A0 =A0 =A0 =A0Section 6.1.2
>
> =A0 =A0 =A0 =A0 =A0 =A0IP Source Address is a link-local address. =A0Rout=
ers must use
> =A0 =A0 =A0 =A0 =A0 =A0their link-local address as the source for Router =
Advertisement
> =A0 =A0 =A0 =A0 =A0 =A0and Redirect messages so that hosts can uniquely i=
dentify
> =A0 =A0 =A0 =A0 =A0 =A0routers.
>
> =A0 =A0##################################################################=
#########
>
>
> Is it possible to manually add the link-local address to a carp interface
> via ifconfig (or other utility)?
>
> I assume given the carp MAC 00:00:5e:00:01:01 the link-local address woul=
d
> look like this?
>
> fe80::200:5eff:fe00:101
>
> Has anyone got anything similar working?
>

I'm afraid you need to specify carpdev for the carp interface to
manage this work.
As far as I know, FreeBSD doesn't support carpdev (yet).

--=20
wbr,
pluknet



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