From owner-freebsd-net@FreeBSD.ORG Tue Aug 24 18:18:50 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CAE91065698 for ; Tue, 24 Aug 2010 18:18:50 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 540358FC13 for ; Tue, 24 Aug 2010 18:18:50 +0000 (UTC) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id o7OIIn1Q019807; Tue, 24 Aug 2010 11:18:49 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 24 Aug 2010 11:18:32 -0700 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: funny ECMP Thread-Index: ActDt2ZYhQ+7Kc9pQba/eFcc9jZawwAAJ+EQ References: From: "Li, Qing" To: "Ingo Flaschberger" Cc: net@freebsd.org Subject: RE: funny ECMP 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, 24 Aug 2010 18:18:50 -0000 Hi, The indirect route is colliding with the interface route, both have the same mask. How do you expect this to work ? How would the routing code differentiate between on-link nodes and the those needing to be routed through 10.11.11.1 ? -- Qing >=20 > one of the problems: > sysctl -w net.inet.flowtable.enable=3D0 > route add 10.13.13.0/24 10.11.11.1 -weight 2 > ifconfig em1 alias 10.13.13.90/24 >=20 > arp-resolve fails: > arpresolve: can't allocate llinfo for 10.13.13.95 >=20 > in sys/netinet/in.c: > in_lltable_lookup calls in_lltable_rtcheck which calls rtalloc1 > rtalloc1 seems to return the first route - and does not check for more. >=20 > diag from in_lltable_rtcheck: > IPv4 address: "10.13.13.95" is not on the network >=20 > checking now how to repair this. >=20 > Kind regards, > Ingo Flaschberger