From owner-freebsd-net@FreeBSD.ORG Sat May 9 02:09:14 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8579106566B for ; Sat, 9 May 2009 02:09:14 +0000 (UTC) (envelope-from sam@ip6.com.au) Received: from mail01.ip6.com.au (ns1.ip6.com.au [125.255.112.202]) by mx1.freebsd.org (Postfix) with ESMTP id 89E088FC15 for ; Sat, 9 May 2009 02:09:13 +0000 (UTC) (envelope-from sam@ip6.com.au) Received: from mail01.ip6.com.au (localhost [127.0.0.1]) by mail01.ip6.com.au (Postfix) with ESMTP id 645C328805; Sat, 9 May 2009 12:09:04 +1000 (EST) Received: from secure.ip6.com.au (localhost [127.0.0.1]) by mail01.ip6.com.au (Postfix) with ESMTP id 208FB287B6; Sat, 9 May 2009 12:09:04 +1000 (EST) Received: from 220.233.42.226 (SquirrelMail authenticated user sam) by secure.ip6.com.au with HTTP; Sat, 9 May 2009 12:09:04 +1000 (EST) Message-ID: <11212.220.233.42.226.1241834944.squirrel@secure.ip6.com.au> In-Reply-To: <11159.220.233.42.226.1241834088.squirrel@secure.ip6.com.au> References: <11159.220.233.42.226.1241834088.squirrel@secure.ip6.com.au> Date: Sat, 9 May 2009 12:09:04 +1000 (EST) From: "Sam Wan" To: "Sam Wan" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-net@freebsd.org Subject: Re: CARP on FreeBSD 7,2 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: Sat, 09 May 2009 02:09:15 -0000 The following command also failed: test:~ # ifconfig carp1 vhid 1 pass password 192.168.2.144/24 up ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address > > Hi, > > I tried to setup CARP in FreeBSD 7.2, but seems not able to assign IP to > the carp interfaces. > > Here is my rc.conf file: > > hostname="test.ip6.com.au" > ifconfig_fxp0="inet 192.168.1.248 netmask 255.255.255.0" > sshd_enable="YES" > > pf_enable="YES" > pf_rules="/etc/pf.anti-spam.conf" > pf_flags="" > pflog_enable="YES" > pflog_logfile="/var/log/pflog" > pflog_program="/sbin/pflogd" > pflog_flags="" > pfsync_enable="NO" > pfsync_syncdev="" > pfsync_ifconfig="" > > cloned_interfaces="carp1" > ifconfig_carp1="up 24.214.165.129/25 vhid 2 pass privatepassword" > > > test:~ # ifconfig > fxp0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:13:20:65:ad:bd > inet 192.168.1.248 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=108810 metric 0 mtu > 1500 > lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > pflog0: flags=141 metric 0 mtu 33204 > pfsync0: flags=0<> metric 0 mtu 1460 > syncpeer: 224.0.0.240 maxupd: 128 > carp1: flags=9 metric 0 mtu 1500 > carp: INIT vhid 1 advbase 1 advskew 50 > > What have I missed? > > Thanks > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >