From owner-freebsd-net@FreeBSD.ORG Mon Nov 21 11:42:16 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 41D2F16A41F; Mon, 21 Nov 2005 11:42:16 +0000 (GMT) (envelope-from kaakun@highway.ne.jp) Received: from mx.highway.ne.jp (pip7.gate01.com [61.122.117.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB55143D58; Mon, 21 Nov 2005 11:42:15 +0000 (GMT) (envelope-from kaakun@highway.ne.jp) Received: from [202.213.251.158] (helo=[192.168.20.6]) by pop12.isp.us-com.jp with esmtp (Mail 4.20) id 1EeA3q-0006Cr-JB; Mon, 21 Nov 2005 20:42:14 +0900 Message-ID: <4381B26B.6080407@highway.ne.jp> Date: Mon, 21 Nov 2005 20:41:31 +0900 From: Kazuaki Oda User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050731) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gleb Smirnoff References: <437F4D18.9030003@highway.ne.jp> <20051121111717.GO24212@cell.sick.ru> In-Reply-To: <20051121111717.GO24212@cell.sick.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: gratuitous ARP from CARP backup host 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: Mon, 21 Nov 2005 11:42:16 -0000 Gleb Smirnoff wrote: > On Sun, Nov 20, 2005 at 01:04:40AM +0900, Kazuaki Oda wrote: > K> I reported a problem a few days ago that CARP backup host replies ARP > K> request. This problem has been fixed, thanks. But I found one more > K> problem. > K> > K> 1) master host and backup host are connected to the same layer 3 > K> switch. > K> > K> 2) at master host, I run the following command: > K> # ifconfig carp2 create > K> # ifconfig carp2 vhid 22 advskew 10 pass xxxx 192.168.1.7/24 > K> > K> 3) master host sends gratuitous ARP. > K> > K> 4) at backup host, I run the following command: > K> # ifconfig carp2 create > K> # ifconfig carp2 vhid 22 advskew 100 pass xxxx 192.168.1.7/24 > K> > K> 5) backup host sends gratuitous ARP. > K> And so, layer 3 switch sends packets addressed for 192.168.1.7 to > K> the port connected to backup host, sigh... > > Does it sends packets until next advertisement from master or forever? > Forever. Master host never receives the packets. -------------------- Kazuaki Oda