rtadvd and carp
User Red35
red35 at zyni.com
Mon Feb 28 23:28:40 UTC 2011
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?
Thanks,
Geoffrey
More information about the freebsd-net
mailing list