From owner-freebsd-net@FreeBSD.ORG Wed Nov 23 10:09:37 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 89E9316A41F for ; Wed, 23 Nov 2005 10:09:37 +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 9894543D5F for ; Wed, 23 Nov 2005 10:09:36 +0000 (GMT) (envelope-from xds@LanGame.Net) Received: (qmail 65351 invoked by uid 0); 23 Nov 2005 07:09:54 -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.039973 secs); 23 Nov 2005 07:09:54 -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.039973 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 07:09:54 -0000 Message-ID: <43843FC0.3080903@LanGame.Net> Date: Wed, 23 Nov 2005 12:09:04 +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 References: <20051123091034.15367.qmail@web51603.mail.yahoo.com> In-Reply-To: <20051123091034.15367.qmail@web51603.mail.yahoo.com> 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 10:09:37 -0000 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. br, CCNP Atanas Yankov Network Administrator AngelSoft Ltd. >Hi, > > I have 2 machines running freebsd 6.0 compiled with "device carp". The example in the carp manual slightly confuses me. I can't make those 2 machines to appear as one... I hope you can help me. > machine A has xl0 with assigned ip of 10.10.8.145 > machine B has xl0 with assigned ip of 10.10.8.146 > > > Now following the example on carp(4) manual: > On machine A: > ifconfig carp0 create > ifconfig carp0 vhid 1 pass mypasswd 10.10.8.147/24 > so now, machine A shows these in ifconfig: > carp0: flags=41 mtu 1500 > inet 10.10.8.147 netmask 0xffffff00 > carp: BACKUP vhid 1 advbase 1 advskew 0 > meanwhile on machine B > ifconfig carp0 create > ifconfig carp0 vhid 1 advskew 100 pass mypasswd 10.10.8.147/24 > and I got > 10.10.8.147/24 is duplicated by xl0 (10.10.8.145/24) > > What I wanted to do is to do some failover... ssh to 10.10.8.147 and see what machine it would connect to.. then pull the utp out... and repeat the process.. this time i should be able to ssh to the backup server instead.. > > > >--------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. >_______________________________________________ >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" > > > >