From owner-freebsd-net@FreeBSD.ORG Tue Feb 6 11:49:07 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFC8716A405 for ; Tue, 6 Feb 2007 11:49:07 +0000 (UTC) (envelope-from proks@logos.uptel.net) Received: from logos.uptel.net (logos.uptel.net [195.138.170.125]) by mx1.freebsd.org (Postfix) with ESMTP id 67C5A13C46B for ; Tue, 6 Feb 2007 11:49:07 +0000 (UTC) (envelope-from proks@logos.uptel.net) Received: from logos.uptel.net (logos.uptel.net [195.138.170.125]) by logos.uptel.net (Postfix) with ESMTP id C16FF33C4F for ; Tue, 6 Feb 2007 13:17:53 +0200 (EET) Date: Tue, 6 Feb 2007 13:17:53 +0200 (EET) From: "Prokofiev S.P." To: freebsd-net@freebsd.org Message-ID: <20070206131612.P36262@logos.uptel.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Carp, vlan, routing... 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: Tue, 06 Feb 2007 11:49:07 -0000 Hello ALL! I have a problem with CARP on FreeBSD 6.2 in the following scheme: +--------------+ +-----------------------+ +-----------------+ | A | | B | | C | | vlan20 |-//->| vlan20 vlan10 |-//-| vlan10 | +--------------+ +-----------------------+ +-----------------+ vlan20 10.10.10.2/26 vlan20 10.10.10.1/26 gateway 10.10.10.1 vlan10 10.10.9.1/26 vlan10 10.10.9.2/26 carp10 10.10.9.3/26 carp10 10.10.9.3/26 advskew 0 advskew 1 carp11 10.10.9.4/26 carp11 10.10.9.4/26 advskew 1 advskew 0 i.e. server B MASTER for 10.10.9.3/26, BACKUP for 10.10.9.4/26 server C BACKUP for 10.10.9.3/26, MASTER for 10.10.9.4/26 But if to send icmp request from server A -> to server C on ip 10.10.9.4, server B replay from BACKUP iface carp11 !?!? This is trouble or feature of realization ????? ------------------------------------------------- serverB> ifconfig carp* carp10: flags=49 mtu 1500 inet 10.10.9.3 netmask 0xffffffc0 carp: MASTER vhid 100 advbase 1 advskew 0 carp11: flags=49 mtu 1500 inet 10.10.9.4 netmask 0xffffffc0 carp: BACKUP vhid 101 advbase 1 advskew 1 serverC> ifconfig carp* carp10: flags=49 mtu 1500 inet 10.10.9.3 netmask 0xffffffc0 carp: BACKUP vhid 100 advbase 1 advskew 1 carp11: flags=49 mtu 1500 inet 10.10.9.4 netmask 0xffffffc0 carp: MASTER vhid 101 advbase 1 advskew 0 /etc/sysctl.conf: net.inet.carp.preempt=1