Date: Thu, 24 Jan 2013 09:26:46 -0800 From: =?iso-8859-1?Q?Ask_Bj=F8rn_Hansen?= <ask@develooper.com> To: freebsd-net@freebsd.org Subject: Carp configuration errors Message-ID: <0154442B-C0E9-4731-A85E-1A44F3ED1F47@develooper.com>
next in thread | raw e-mail | index | archive | help
Hello, After upgrading to 9.1 it seems like carp doesn't pay attention to = advskew anymore. I have two boxes each setup with carp0 and carp1; the = intention is that in regular operation proxy1 is master for carp0 and = proxy2 for carp1. However, whichever box comes up second is BACKUP for = both. To make IPv6 CARP work I am using the patch from = http://www.freebsd.org/cgi/query-pr.cgi?pr=3D127050 I don't know if it is related, but when booting I see a lot of messages = like ifa_del_loopback_route: deletion failed ifa_add_loopback_route: insertion failed ifa_del_loopback_route: deletion failed ifa_add_loopback_route: insertion failed ifa_del_loopback_route: deletion failed ifa_add_loopback_route: insertion failed ifa_del_loopback_route: deletion failed ifa_add_loopback_route: insertion failed in dmesg. I am including my rc.conf files for each host below. Any hints or = suggestions will be appreciated. Ask # proxy1 sshd_enable=3D"YES" ntpd_enable=3D"YES" ntpd_flags=3D"-p /var/run/ntpd.pid -f /etc/ntp/ntpd.drift -g" hostname=3D"proxy1.dev" ifconfig_vr0=3D"inet 10.0.100.31/24" ifconfig_vr2=3D"inet 207.171.7.31/24" ifconfig_vr2_ipv6=3D"inet6 2607:f238:3::1:1/64" ifconfig_carp0=3D"vhid 40 advskew 50 pass y4t8gwtgjkq4g 207.171.7.40" ipv4_addrs_carp0=3D"207.171.7.41-49/24" ifconfig_carp0_ipv6=3D"inet6 2607:f238:3::1:41/64" ifconfig_carp0_alias0=3D"inet6 2607:f238:3::1:40/64" ifconfig_carp0_alias1=3D"inet6 2607:f238:3::1:42/64" ifconfig_carp0_alias2=3D"inet6 2607:f238:3::1:43/64" ifconfig_carp0_alias3=3D"inet6 2607:f238:3::1:44/64" ifconfig_carp0_alias4=3D"inet6 2607:f238:3::1:45/64" ifconfig_carp0_alias5=3D"inet6 2607:f238:3::1:46/64" ifconfig_carp0_alias6=3D"inet6 2607:f238:3::1:47/64" ifconfig_carp0_alias7=3D"inet6 2607:f238:3::1:48/64" ifconfig_carp0_alias8=3D"inet6 2607:f238:3::1:49/64" ifconfig_carp1=3D"vhid 50 advskew 250 pass hsjrthvruwybwt 207.171.7.50" ipv4_addrs_carp1=3D"207.171.7.51-59/24" ifconfig_carp1_ipv6=3D"inet6 2607:f238:3::1:51/64" ifconfig_carp1_alias0=3D"inet6 2607:f238:3::1:50/64" ifconfig_carp1_alias1=3D"inet6 2607:f238:3::1:52/64" ifconfig_carp1_alias2=3D"inet6 2607:f238:3::1:53/64" ifconfig_carp1_alias3=3D"inet6 2607:f238:3::1:54/64" ifconfig_carp1_alias4=3D"inet6 2607:f238:3::1:55/64" ifconfig_carp1_alias5=3D"inet6 2607:f238:3::1:56/64" ifconfig_carp1_alias6=3D"inet6 2607:f238:3::1:57/64" ifconfig_carp1_alias7=3D"inet6 2607:f238:3::1:58/64" ifconfig_carp1_alias8=3D"inet6 2607:f238:3::1:59/64" ifconfig_vr1=3D"down" defaultrouter=3D"207.171.7.1" ipv6_defaultrouter=3D"2607:F238:3::1" ifconfig_lo0_alias0=3D"inet 127.0.0.2" ifconfig_lo0_alias1=3D"inet 127.0.0.3" cloned_interfaces=3D"carp0 carp1" static_routes=3D"${static_routes} vpn" route_vpn=3D"-net 10.0.0.0/16 10.0.100.1" pf_enable=3D"NO" pflog_enable=3D"NO" haproxy_enable=3D"YES" haproxy_config=3D"/etc/haproxy.conf" ####### # proxy2 sshd_enable=3D"YES" ntpd_enable=3D"YES" ntpd_flags=3D"-p /var/run/ntpd.pid -f /etc/ntp/ntpd.drift -g" hostname=3D"proxy2.dev" ifconfig_vr0=3D"inet 10.0.100.32/24" ifconfig_vr2=3D"inet 207.171.7.32/24" ifconfig_vr2_ipv6=3D"inet6 2607:f238:3::1:2/64" ifconfig_carp0=3D"vhid 40 advskew 150 pass y4t8gwtgjkq4g 207.171.7.40" ipv4_addrs_carp0=3D"207.171.7.41-49/24" ifconfig_carp0_ipv6=3D"inet6 2607:f238:3::1:41/64" ifconfig_carp0_alias0=3D"inet6 2607:f238:3::1:40/64" ifconfig_carp0_alias1=3D"inet6 2607:f238:3::1:42/64" ifconfig_carp0_alias2=3D"inet6 2607:f238:3::1:43/64" ifconfig_carp0_alias3=3D"inet6 2607:f238:3::1:44/64" ifconfig_carp0_alias4=3D"inet6 2607:f238:3::1:45/64" ifconfig_carp0_alias5=3D"inet6 2607:f238:3::1:46/64" ifconfig_carp0_alias6=3D"inet6 2607:f238:3::1:47/64" ifconfig_carp0_alias7=3D"inet6 2607:f238:3::1:48/64" ifconfig_carp0_alias8=3D"inet6 2607:f238:3::1:49/64" ifconfig_carp1=3D"vhid 50 advskew 100 pass hsjrthvruwybwt 207.171.7.50" ipv4_addrs_carp1=3D"207.171.7.51-59/24" ifconfig_carp1_ipv6=3D"inet6 2607:f238:3::1:51/64" ifconfig_carp1_alias0=3D"inet6 2607:f238:3::1:50/64" ifconfig_carp1_alias1=3D"inet6 2607:f238:3::1:52/64" ifconfig_carp1_alias2=3D"inet6 2607:f238:3::1:53/64" ifconfig_carp1_alias3=3D"inet6 2607:f238:3::1:54/64" ifconfig_carp1_alias4=3D"inet6 2607:f238:3::1:55/64" ifconfig_carp1_alias5=3D"inet6 2607:f238:3::1:56/64" ifconfig_carp1_alias6=3D"inet6 2607:f238:3::1:57/64" ifconfig_carp1_alias7=3D"inet6 2607:f238:3::1:58/64" ifconfig_carp1_alias8=3D"inet6 2607:f238:3::1:59/64" ifconfig_vr1=3D"down" defaultrouter=3D"207.171.7.1" ipv6_defaultrouter=3D"2607:F238:3::1" ifconfig_lo0_alias0=3D"inet 127.0.0.2" ifconfig_lo0_alias1=3D"inet 127.0.0.3" cloned_interfaces=3D"carp0 carp1" static_routes=3D"${static_routes} vpn" route_vpn=3D"-net 10.0.0.0/16 10.0.100.1" pf_enable=3D"NO" pflog_enable=3D"NO" haproxy_enable=3D"YES" haproxy_config=3D"/etc/haproxy.conf" svscan_enable=3D"NO" svscan_servicedir=3D"/etc/svscan"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0154442B-C0E9-4731-A85E-1A44F3ED1F47>