From owner-freebsd-net@FreeBSD.ORG Wed Nov 23 13:06:50 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15FF616A41F for ; Wed, 23 Nov 2005 13:06:50 +0000 (GMT) (envelope-from xds@LanGame.Net) Received: from netmail.langame.net (netmail.langame.net [80.80.128.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B5E943D62 for ; Wed, 23 Nov 2005 13:06:37 +0000 (GMT) (envelope-from xds@LanGame.Net) Received: (qmail 90363 invoked by uid 0); 23 Nov 2005 10:07:00 -0000 Received: from xds@LanGame.Net by netmail.langame.net by uid 0 with qmail-scanner-1.22 (clamdscan: 0.72. Clear:RC:1(80.80.128.68):. Processed in 0.424315 secs); 23 Nov 2005 10:07:00 -0000 X-Qmail-Scanner-Mail-From: xds@LanGame.Net via netmail.langame.net X-Qmail-Scanner: 1.22 (Clear:RC:1(80.80.128.68):. Processed in 0.424315 secs) Received: from unknown (HELO ?80.80.128.68?) (xds%langame.net@80.80.128.68) by netmail.langame.net with SMTP; 23 Nov 2005 10:06:59 -0000 Message-ID: <43846943.7050108@LanGame.Net> Date: Wed, 23 Nov 2005 15:06:11 +0200 From: Atanas Yankov User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050729) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: carp questions 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: Wed, 23 Nov 2005 13:06:50 -0000 It's must go into ports and install it ;)) cd /usr/ports/net/arping/ make install clean then man arping and then read man carp carefully there is 2 examples one that work for fail-over and second that make fail-over and load-balacing i think you should try this one < ifconfig carp0 create ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.10/24 ifconfig carp1 create ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat 192.168.1.10/24 The configuration for host B is identical, except the advskew is on vir- tual host 1 rather than virtual host 2. ifconfig carp0 create ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat 192.168.1.10/24 ifconfig carp1 create ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.1.10/24 Finally, the ARP balancing feature must be enabled on both hosts: sysctl net.inet.carp.arpbalance=1 > then arping -i em0 192.168.1.10 br, CCNP Atanas Yankov Network Administrator AngelSoft Ltd. Mark Jayson Alvarez wrote: > > > */Atanas Yankov /* wrote: > > The better solutuon to test how carp worked is a arping :))) not > ssh or > other and you may be > need to set a /32 mask for a virtual ip address , if you remind how > works ip alliasing in freebsd. > > No luck, no manual entry for arping. the /32 mask won't work either. > both of them shows that they are the BACKUP machine.. Ucarp is a lot > easier... however I really like to make this work in the kernel > level.. anymore idea? > > ------------------------------------------------------------------------ > Yahoo! FareChase - Search multiple travel sites in one click. >