Date: Thu, 31 Oct 2013 21:58:08 +0000 From: Ole Myhre <ole.myhre@dataoppdrag.no> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: carp on 10.0 and ipv6 network route Message-ID: <C5A69C67E0D032469281F68C7CFD6AA009E3F3FB@EX-MBX01.cust-d1.dataoppdrag.no>
next in thread | raw e-mail | index | archive | help
Hi, I'm testing carp on 10.0-BETA2, and there seems to be different behaviour with the network route between IPv4 and IPv6 when using carp on interfaces. IPv4 routes are not present in the routing table when the interface is in BACKUP state (as expected), but IPv6 routes are present in the routing table in both BACKUP and MASTER state. This causes some issues with routing daemons as the network route is announced to other routers from both machines running carp. [root@rtr1 ~]# ifconfig em2 vhid 1 192.168.0.1/24 [root@rtr2 ~]# ifconfig em2 vhid 1 192.168.0.1/24 [root@rtr1 ~]# ifconfig em2 | grep carp carp: MASTER vhid 1 advbase 1 advskew 0 [root@rtr1 ~]# netstat -rn | grep 192.168.0.0 192.168.0.0/24 link#3 U 0 0 em2 [root@rtr1 ~]# [root@rtr2 ~]# ifconfig em2 | grep carp carp: BACKUP vhid 1 advbase 1 advskew 0 [root@rtr2 ~]# netstat -rn | grep 192.168.0.0 [root@rtr2 ~]# [root@rtr1 ~]# ifconfig em2 inet6 2001:db8::1/64 vhid 1 [root@rtr2 ~]# ifconfig em2 inet6 2001:db8::1/64 vhid 1 [root@rtr1 ~]# ifconfig em2 | grep carp carp: MASTER vhid 1 advbase 1 advskew 0 [root@rtr1 ~]# netstat -rn | grep 2001:db8::/64 2001:db8::/64 link#3 U = em2 [root@rtr1 ~]# [root@rtr2 ~]# ifconfig em2 | grep carp carp: BACKUP vhid 1 advbase 1 advskew 0 [root@rtr2 ~]# netstat -rn | grep 2001:db8::/64 2001:db8::/64 link#3 U = em2 [root@rtr2 ~]# Thanks, Ole
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5A69C67E0D032469281F68C7CFD6AA009E3F3FB>