From owner-freebsd-net@FreeBSD.ORG Mon Feb 28 23:28:40 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9DFC106566C for ; Mon, 28 Feb 2011 23:28:40 +0000 (UTC) (envelope-from red35@zyni.com) Received: from esprit.zyni.com (zyni-1-pt.tunnel.tserv13.ash1.ipv6.he.net [IPv6:2001:470:7:a14::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1798FC12 for ; Mon, 28 Feb 2011 23:28:40 +0000 (UTC) Received: from esprit.zyni.com (localhost [127.0.0.1]) by esprit.zyni.com (Postfix) with ESMTP id C40304AC1F for ; Mon, 28 Feb 2011 16:28:39 -0700 (MST) X-Virus-Scanned: amavisd-new at zyni.com Received: from esprit.zyni.com ([127.0.0.1]) by esprit.zyni.com (esprit.zyni.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9B-xHUqMxDh6 for ; Mon, 28 Feb 2011 16:28:27 -0700 (MST) Received: from minuit.zyni.com (unknown [IPv6:2001:470:e317:98::101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by esprit.zyni.com (Postfix) with ESMTPS id 8EE5F4AC1B for ; Mon, 28 Feb 2011 16:28:27 -0700 (MST) Received: from minuit.zyni.com (localhost [127.0.0.1]) by minuit.zyni.com (8.14.4/8.14.4) with ESMTP id p1SNSQQ7020266 for ; Mon, 28 Feb 2011 16:28:27 -0700 (MST) (envelope-from red35@minuit.zyni.com) Message-Id: <201102282328.p1SNSQQ7020266@minuit.zyni.com> To: freebsd-net@freebsd.org Date: Mon, 28 Feb 2011 16:28:26 -0700 From: User Red35 Subject: rtadvd and carp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 23:28:40 -0000 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 metric 0 mtu 1500 inet 172.31.98.103 netmask 0xffffffff inet6 2001:470:dead:98::103 prefixlen 64 nd6 options=3 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]: link-layer address option has null length on carp1. Treat as not included. rtadvd[13262]: RA timer on carp1 is set to 16:0 rtadvd[13262]: 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? Thanks, Geoffrey