From owner-freebsd-net@FreeBSD.ORG Mon Apr 16 20:35:43 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 350D816A407 for ; Mon, 16 Apr 2007 20:35:43 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-defer01.adhost.com (mail-defer01.adhost.com [216.211.128.150]) by mx1.freebsd.org (Postfix) with ESMTP id 16BA513C4AD for ; Mon, 16 Apr 2007 20:35:43 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in07.adhost.com (mail-in07.adhost.com [10.211.128.140]) by mail-defer01.adhost.com (Postfix) with ESMTP id 71646EC437 for ; Mon, 16 Apr 2007 13:14:48 -0700 (PDT) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in07.adhost.com (Postfix) with ESMTP id BAF511B506D; Mon, 16 Apr 2007 13:14:47 -0700 (PDT) (envelope-from mksmith@adhost.com) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 16 Apr 2007 13:14:53 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031602018047@ad-exh01.adhost.lan> In-Reply-To: <4623C7C3.8080305@freeslacker.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: carp not setting interfaces Thread-Index: AceAXbascqadnoEKSpiBLeoZqj9QXgABW9lg References: <4623C7C3.8080305@freeslacker.net> From: "Michael K. Smith - Adhost" To: "Steven Stremciuc" , Cc: Subject: RE: carp not setting interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 20:35:43 -0000 Hello Steven: Answer (not necessarily the correct one) below. > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of Steven Stremciuc > Sent: Monday, April 16, 2007 12:00 PM > To: freebsd-net@freebsd.org > Subject: carp not setting interfaces >=20 > Hi, >=20 > I have a 6.2-RELEASE-p3 machine (supermicro 6010h) on which carp is not > working correctly. I have been using carp on other freebsd and openbsd > machines without a problem, so I am not sure what is going wrong on > this > specific machine. The carp interfaces are created but there is no > address assigned to them, and no information given about what went > wrong. >=20 > Is there anything I can do to get more info on where the problem lies? > The machine is completely default except for enabling carp. >=20 > > ifconfig > fxp0: flags=3D8843 mtu 1500 > options=3D8 > inet 10.1.0.201 netmask 0xffffff00 broadcast 10.1.0.255 > ether 00:30:48:11:64:85 > media: Ethernet autoselect (100baseTX ) > status: active > fxp1: flags=3D8802 mtu 1500 > options=3D8 > ether 00:30:48:11:6f:68 > media: Ethernet autoselect (none) > status: no carrier > lo0: flags=3D8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > carp0: flags=3D9 mtu 1500 > carp1: flags=3D9 mtu 1500 >=20 > > cat /etc/rc.conf > # -- sysinstall generated deltas -- # Sat Apr 14 13:20:02 2007 > # Created: Sat Apr 14 13:20:02 2007 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > defaultrouter=3D"10.1.0.1" > hostname=3D"xxx.com" > cloned_interfaces=3D"carp0 carp1" > ifconfig_fxp0=3D"inet 10.1.0.201 netmask 255.255.255.0" > ifconfig_carp0=3D"vhid 801 pass xxxxxxxx 10.1.0.101/24" > ifconfig_carp1=3D"vhid 802 advskew 100 pass xxxxxxxx 10.1.0.102/24" Have you tried the following syntax? ifconfig_carp0=3D"inet 10.1.0.101 netmask 255.255.255.0 vhid 801 pass xxxxxx" Regards, Mike