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. The default gateway for > ### hosts internal to the firewall is 172.31.98.103 for IPv4 > ### and 2001:470:dead:98::103 for IPv6 > > # ifconfig carp1 > carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500 > inet 172.31.98.103 netmask 0xffffffff > inet6 2001:470:dead:98::103 prefixlen 64 > nd6 options=3<PERFORMNUD,ACCEPT_RTADV> > carp: MASTER vhid 1 advbase 1 advskew 60 > # > > > ### rtadvd does not work since carp1 does not have a link local address > > > # rtadvd -f -D carp1 > rtadvd[13262]: <make_packet> link-layer address option has null length on carp1. Treat as not included. > rtadvd[13262]: <ra_timer_update> RA timer on carp1 is set to 16:0 > rtadvd[13262]: <sock_open> IPV6_JOIN_GROUP(link) on carp1: Can't assign requested address > # > > > ### Per RFC 4861 Router advertisements are supposed to use > ### link-local addresses... carp does not have one. > > > ########################################################################### > ### http://tools.ietf.org/html/rfc4861#page-39 > ########################################################################### > > Section 6.1.2 > > IP Source Address is a link-local address. Routers must use > their link-local address as the source for Router Advertisement > and Redirect messages so that hosts can uniquely identify > routers. > > ########################################################################### > > > 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 would > 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). -- wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik2n7MoV-3pwm7whsT1JUjss_ba8poT87FK42QL>
