From owner-freebsd-stable@FreeBSD.ORG Thu Oct 12 11:41:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9365316A40F for ; Thu, 12 Oct 2006 11:41:03 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from bbbx3.usdmm.com (relay1.us.mintel.com [63.174.175.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D26343D5D for ; Thu, 12 Oct 2006 11:41:01 +0000 (GMT) (envelope-from tom@tomjudge.com) Received: from [0.0.0.0] (unknown [10.0.0.37]) by bbbx3.usdmm.com (Postfix) with ESMTP id 916995C5C; Thu, 12 Oct 2006 06:40:53 -0500 (CDT) Message-ID: <452E27B4.2030709@tomjudge.com> Date: Thu, 12 Oct 2006 12:32:04 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: Ari Suutari References: <452E2151.80500@suutari.iki.fi> In-Reply-To: <452E2151.80500@suutari.iki.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: carp0 interface goes down on 6.2-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 11:41:03 -0000 Ari Suutari wrote: > Hi, > > I started experimenting with carp, in order to replace > freevrrpd stuff we are currently using. > > I'm running quite recent version of RELENG_6 (compiled > this week). > > I was able to configure carp ok, but for some odd reason the > interface goes down by itself shortly after it has been configured. > > Here is output from test script: > > # sh -x test.sh > + ifconfig carp0 destroy > + ifconfig carp0 create > + ifconfig carp0 up > + ifconfig carp0 inet 192.168.5.59/24 vhid 55 pass xxx123 > + ifconfig carp0 > carp0: flags=49 mtu 1500 > inet 192.168.5.59 netmask 0xffffff00 > carp: BACKUP vhid 55 advbase 1 advskew 0 > + sleep 5 > + ifconfig carp0 > carp0: flags=8 mtu 1500 > carp: INIT vhid 55 advbase 1 advskew 0 > > See, here the interface is up, but after 5 seconds it has gone > down. Could anybody give a hint why this happens ? There are > messages on console about promiscuous mode being enabled/disabled, > but nothing else. > I have seen similar problems when the carp multicast (224.0.0.18) traffic was not allowed to be transmitted to the network due to a firewall configuration problem. Tom