From owner-freebsd-net@FreeBSD.ORG Tue May 15 19:02:21 2012 Return-Path: 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 D502D106564A for ; Tue, 15 May 2012 19:02:21 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from plsvl-mailgw-02.bluecoat.com (plsvl-mailgw-02.bluecoat.com [199.91.133.12]) by mx1.freebsd.org (Postfix) with ESMTP id B70D18FC08 for ; Tue, 15 May 2012 19:02:21 +0000 (UTC) Received: from PWSVL-EXCHTS-01.internal.cacheflow.com (unknown [10.2.2.122]) by plsvl-mailgw-02.bluecoat.com (Postfix) with ESMTP id 455A7200E1; Tue, 15 May 2012 12:08:47 -0700 (PDT) Received: from pwsvl-excmbx-05.internal.cacheflow.com ([fe80::f848:d461:9aa9:59a8]) by PWSVL-EXCHTS-01.internal.cacheflow.com ([fe80::5c50:e2ba:8115:4223%20]) with mapi id 14.01.0289.001; Tue, 15 May 2012 12:02:13 -0700 From: "Li, Qing" To: Sean Bruno , "freebsd-net@freebsd.org" Thread-Topic: [stable-9] Thread-Index: AQHNMsZC3lDxBmu+h0ScSqswC32Xc5bLM4x8 Date: Tue, 15 May 2012 19:02:12 +0000 Message-ID: References: <1337105271.3434.8.camel@powernoodle-l7.corp.yahoo.com> In-Reply-To: <1337105271.3434.8.camel@powernoodle-l7.corp.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.91.133.85] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: RE: [stable-9] 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, 15 May 2012 19:02:21 -0000 The route selection is based on a hash function of source-ip and destinatio= n-ip when =0A= RADIX_MPATH is enabled. You do not need to perform specific actions, other = than perhaps=0A= setting varying weights on each entry as an option. So depends on the traff= ic destination =0A= the chosen route may always be the same one. =0A= =0A= --Qing=0A= ________________________________________=0A= From: owner-freebsd-net@freebsd.org [owner-freebsd-net@freebsd.org] on beha= lf of Sean Bruno [seanbru@yahoo-inc.com]=0A= Sent: Tuesday, May 15, 2012 11:07 AM=0A= To: freebsd-net@freebsd.org=0A= Subject: [stable-9]=0A= =0A= Trying to use two interfaces connected to the same network with the same=0A= default router. The two interfaces have two different IPs on the=0A= same /28 and point at the same default router of .1. I have=0A= successfully configured the machine such that data is coming *in* on=0A= both interfaces, but the output is only going out the first interface.=0A= =0A= I've compiled with RADIX_MPATH enabled, and I'm setting the default=0A= route ... but, I'm pretty ignorant what to do next. Chances are, I'm=0A= just being stupid here and I need to get more sleep.=0A= =0A= -bash-4.2$ netstat -r=0A= Routing tables=0A= =0A= Internet:=0A= Destination Gateway Flags Refs Use Netif=0A= Expire=0A= default UGS 0 33320033 igb0=0A= XXX.XXX.XXX.0/25 link#1 U 0 0 igb0 =3D>= =0A= XXX.XXX.XXX.0/25 link#2 U 0 0 igb1=0A= =0A= =0A= What am I missing here?=0A= =0A= Sean=0A= =0A= _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= http://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A=