From owner-freebsd-isp@FreeBSD.ORG Thu Jul 20 13:13:41 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C032D16A4DF for ; Thu, 20 Jul 2006 13:13:41 +0000 (UTC) (envelope-from artem@aws-net.org.ua) Received: from saturn.interami.com (saturn.interami.com [193.41.48.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E0D143D46 for ; Thu, 20 Jul 2006 13:13:38 +0000 (GMT) (envelope-from artem@aws-net.org.ua) Received: from sigma.interami.com (sigma.interami.com [193.41.48.133]) by saturn.interami.com (8.13.1/8.13.1) with ESMTP id k6KDDXuQ058576; Thu, 20 Jul 2006 16:13:33 +0300 (EEST) (envelope-from artem@aws-net.org.ua) Received: from 217.12.197.82 (proxying for unknown) (SquirrelMail authenticated user artem) by sigma.interami.com with HTTP; Thu, 20 Jul 2006 16:14:15 +0300 (EEST) Message-ID: <49711.217.12.197.82.1153401255.squirrel@sigma.interami.com> In-Reply-To: References: Date: Thu, 20 Jul 2006 16:14:15 +0300 (EEST) From: "Artyom Viklenko" To: "Dan Massey" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Antivirus: Dr.Web (R) for Mail Servers on saturn.interami.com host X-Antivirus-Code: 100000 Cc: freebsd-isp@freebsd.org Subject: Re: Carp X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 13:13:41 -0000 <цитата от="Dan Massey"> > Hi all > > I am attempting (and failing) to create a fault-tolerant mail relay server > for our dialup users. The plan is to have 2 A records as such: > > mailoutserver A 192.168.1.10 > mailoutserver A 192.168.1.11 > > Which will roughly round robin for me, then to have 2 mailservers as > follows: > > server1 > Ip 192.168.1.100 > carp0 vhid1 192.168.1.10 (master-server) > carp1 vhid2 192.168.1.11 (backup) > > server2 > Ip 192.168.1.101 > carp0 vhid1 192.168.1.10 (backup) > carp1 vhid2 192.168.1.11 (master-server) > > My config in /etc/rc.conf is as follows: > ifconfig_fxp0="inet 192.168.1.100 netmask 255.255.255.0" > cloned_interfaces="carp0" > ifconfig_carp0="vhid 1 pass XXXX 192.168.1.10 255.255.255.0" > cloned_interfaces="carp1" use only one cloned_interfaces="carp0 carp1" > ifconfig_carp1="vhid 2 advskew 100 pass XXXX 192.168.1.11 255.255.255.0" > > However when I reboot only the carp1 inteface comes up when I type > ifconfig: > > carp1: flags=49 mtu 1500 > inet 192.168.1.11 netmask 0xffffff00 > carp: BACKUP vhid 2 advbase 1 advskew 100 > > Have I got this totally wrong? Is this possible? > > Any help would be appreciated. > > Dan > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > -- Sincerely yours, Artyom Viklenko. ------------------------------------------------------- artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem FreeBSD: The Power to Serve - http://www.freebsd.org