From owner-freebsd-net@FreeBSD.ORG Wed Nov 23 09:10:35 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 AF2DB16A41F for ; Wed, 23 Nov 2005 09:10:35 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: from web51603.mail.yahoo.com (web51603.mail.yahoo.com [206.190.38.208]) by mx1.FreeBSD.org (Postfix) with SMTP id D4A5543D5E for ; Wed, 23 Nov 2005 09:10:34 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: (qmail 15369 invoked by uid 60001); 23 Nov 2005 09:10:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LtScJ442dmQ+yJn6yntHxJoFq+DDk8Vt6xGIgqxDz8/23Rp/NaA1duDbC3oIwDVonokuhG7LIOx7+n8gHMlNrxkBs0bBXMBzOaGvdx+jB7qALuGt/rx8BSxn/5a6vBNFxUlFZqglfqoJATMN7sB67DPOJFRltLR5/QXo2QkSIPg= ; Message-ID: <20051123091034.15367.qmail@web51603.mail.yahoo.com> Received: from [202.90.128.28] by web51603.mail.yahoo.com via HTTP; Wed, 23 Nov 2005 01:10:34 PST Date: Wed, 23 Nov 2005 01:10:34 -0800 (PST) From: Mark Jayson Alvarez To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 09:10:35 -0000 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.