From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 06:24:24 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0ADDECD for ; Wed, 26 Nov 2014 06:24:24 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C6507B7 for ; Wed, 26 Nov 2014 06:24:24 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id z10so2136113pdj.26 for ; Tue, 25 Nov 2014 22:24:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=wMy3iGjJye1zcZcN0o7flaGS32zTPyzL5HDX7KJBUbw=; b=p1FTrsNsXJX6UflCMHxQREA2XsH4V2437NNzYpkAn+BZY6OvWAPkqEOxd+/Fs/VtrU lb2Lcww5553hHw9yDpLPtphOfnTRGpXnVyV/MN6l0u2zCIHdwVxUlwD5VrbM5wEkzzrM xqJJfmhZNCaPpSWi/vSqk1yXVoAX4dchy4usUMnTtG3QJZ4Um52xhyXDBHW1flvKfgZ8 p5kceov+sNaJMa4C9/4BscWTMWNgUhYayPmd4TAM3XKHkX/lHw2x+FwTQI1+AF6FUZNi 8x8ATjqsKw/kvc7NbDRti2m9IwGeIKHFoC3CFP3bCRu/AJd9+tijti0MMM2GPezu8w9I SE1Q== X-Received: by 10.70.102.234 with SMTP id fr10mr49855127pdb.145.1416983064015; Tue, 25 Nov 2014 22:24:24 -0800 (PST) Received: from localhost.localdomain (76-218-80-47.lightspeed.irvnca.sbcglobal.net. [76.218.80.47]) by mx.google.com with ESMTPSA id sk3sm3249633pac.13.2014.11.25.22.24.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Nov 2014 22:24:23 -0800 (PST) Message-ID: <54757216.5090502@gmail.com> Date: Tue, 25 Nov 2014 23:24:22 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Possible CARP routing issue References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2014 06:24:24 -0000 On 11/25/2014 10:46 PM, Riaan Kruger wrote: > It seems that in some circumstances routing is not playing well with CARP. > We have the following scenario. > > Device A > --------- > 192.168.1.10 > > Router: > ------- > 10.0.0.1 > > Device B > -------- > Interface 1 Virtual IP (CARP): 172.16.1.3 > Interface 1 Real IP: 172.16.1.2 > > Routing table of device B: > 0.0.0.0 10.0.0.1 > 192.168.1.0 10.0.0.1 > etc ... > > When Device A pings the Real IP of Device B (172.16.1.2) we see the > following ARP request packet: > ARP request who has 192.168.1.10 tell 172.16.1.3 > > In other words pinging the real IP causes the Virtual IP to ask for the MAC > address of the pinging device, even though they are not in the same subnet > and there is a default route. Pinging the virtual IP does not induce this > ARP request and the ping is successful. > When deleting the second route from the routing table above the ARP request > is not sent. > I know the second route is superfluous but it is put there by third party > software. > > The real issue is why this behavior happens with CARP. Is it an indication > of some underlying problem? > > > Riaan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Did you enable forwarding?