From owner-freebsd-net@FreeBSD.ORG Thu Mar 14 14:47:19 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3DC824DC for ; Thu, 14 Mar 2013 14:47:19 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by mx1.freebsd.org (Postfix) with ESMTP id CDE641D4 for ; Thu, 14 Mar 2013 14:47:18 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hq4so3856049wib.12 for ; Thu, 14 Mar 2013 07:47:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version:x-mailer:x-gm-message-state; bh=uo251IlTJxAddOLdWTarNEnOleFUyhmT+ogMRr9SPZI=; b=LqjmcNl5ATCFmXoGqvcU7L5I9oESoE0J/CX8L7u/KIhCuYeTmFiDUZc+/6W5/KKwLq YqWybTT5FOdShc00wbij9iWRvfTfTlSRkWS0b5nuDCYVHdvOxRbbN0BJCYSfOfos+r/x hIE2uxJ0TJmvCr4BBxlLwJ0Eotc+b6iBoeMdlwYN2XSnDH1HyUNfT3VtB0n23zPICqHg V3YmW1DCDq6TG3JFLhtuHcnLRGe9t54qmYCTmsB9FcH+MpZFdG7Aib13Trn7rUgTVumE Iie2H8JkXtWbbdxqId26duiSNbuPGTt4kIslt04su4iXUKtdzCkNxWhsTSEfcDXoziGb CLYQ== X-Received: by 10.180.100.10 with SMTP id eu10mr34591532wib.4.1363272437774; Thu, 14 Mar 2013 07:47:17 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id ex1sm4496765wib.7.2013.03.14.07.47.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Mar 2013 07:47:15 -0700 (PDT) From: Fleuriot Damien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: carp regression in 9.1 ? Message-Id: <3B04FCB1-D0D4-4BC9-BB15-5221F438738C@my.gd> Date: Thu, 14 Mar 2013 15:47:11 +0100 To: "freebsd-net@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQkUWjH7uuGM7lE1j/NoZ8Pmsmp++ZxZYEDkFj+AwC3klACJUVSxIcpKvRmtNgk9Kq0snQiz X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 14:47:19 -0000 Hello list, I'm experiencing this odd behavior with 9.1 r24791 for amd64. Find below exerpts from my rc.conf related to carp: =3D=3D=3D # production ifconfig_carp22=3D"inet 192.168.22.254/32 vhid 122 pass vrrp22 advskew = 100" ifconfig_carp32=3D"inet 192.168.32.254/32 vhid 132 pass vrrp32 advskew = 100" cloned_interfaces=3D"carp0 carp1 carp22 carp32" # test interfaces, use different syntaxes ifconfig_carp1=3D"vhid 124 advskew 100 192.168.22.240 netmask = 255.255.255.0" ifconfig_carp0=3D"vhid 140 advskew 50 pass dsds 192.168.22.250" ipv4_addrs_carp0=3D"192.168.22.241-249/24" =3D=3D=3D With all of these configuration lines, carp interfaces come up at boot. The problem I experience is when destroying the carp interfaces and = recreating them: root@pf1-drt:~ # ifconfig carp1 destroy root@pf1-drt:~ # ifconfig carp1 create root@pf1-drt:~ # ifconfig carp1=20 carp1: flags=3D8 metric 0 mtu 1500 nd6 options=3D21 FreeBSD 8.3 doesn't exhibit the same behaviour, when destroying then = recreating the interfaces, they are initialized correctly. Additionally, note the syntax I used for my test interface carp0: ipv4_addrs_carp0=3D"192.168.22.241-249/24" And the results at boot: carp0: flags=3D49 metric 0 mtu 1500 inet 192.168.22.250 netmask 0xffffff00=20 inet 192.168.22.241 netmask 0xffffff00=20 inet 192.168.22.242 netmask 0xffffffff=20 inet 192.168.22.243 netmask 0xffffffff=20 inet 192.168.22.244 netmask 0xffffffff=20 inet 192.168.22.245 netmask 0xffffffff=20 inet 192.168.22.246 netmask 0xffffffff=20 inet 192.168.22.247 netmask 0xffffffff=20 inet 192.168.22.248 netmask 0xffffffff=20 inet 192.168.22.249 netmask 0xffffffff I'm really confused here, is this intended behaviour ? FreeBSD 8.3 certainly doesn't act this way. Does anyone have an idea what's happening there ?