From owner-cvs-src@FreeBSD.ORG Mon Apr 14 13:48:47 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 813AC106566C for ; Mon, 14 Apr 2008 13:48:47 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1E28FC24 for ; Mon, 14 Apr 2008 13:48:46 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA04.westchester.pa.mail.comcast.net with comcast id DNJb1Z0020bG4ec540H100; Mon, 14 Apr 2008 13:47:00 +0000 Received: from discordia ([24.60.135.75]) by OMTA03.westchester.pa.mail.comcast.net with comcast id DRok1Z0071dmTCQ3P00000; Mon, 14 Apr 2008 13:48:44 +0000 X-Authority-Analysis: v=1.0 c=1 a=2jqFlKhgvWcA:10 a=kD49q3HH1YAA:10 a=ckpinaBMVX0KslIApVAA:9 a=JgCdRQuVcGd01ZxU3w4A:7 a=Uygrcf5QUvlCcZ0343pshA5c144A:4 a=LY0hPdMaydYA:10 a=su_BCQg2TNJ7lan8DVEA:9 a=NY4qUUobebQcg1Awrg488QhjEY0A:4 a=rPt6xJ-oxjAA:10 Received: by discordia (Postfix, from userid 103) id 3D1041636F9; Mon, 14 Apr 2008 09:48:44 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 9DB811636F8; Mon, 14 Apr 2008 09:48:30 -0400 (EDT) From: Coleman Kane To: pyunyh@gmail.com In-Reply-To: <20080414003337.GA15616@cdnetworks.co.kr> References: <200804130545.m3D5jEtd081771@repoman.freebsd.org> <20080414003337.GA15616@cdnetworks.co.kr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-w4YQF8bXgc8VCBqHKldG" Organization: FreeBSD Project Date: Mon, 14 Apr 2008 09:48:17 -0400 Message-Id: <1208180897.1279.27.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port Cc: Qing Li , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files options src/sys/net radix.c radix.h route.c route.h rtsock.c src/sys/netinet in_proto.c ip_output.c src/sys/netinet6 in6_proto.c in6_src.c nd6_nbr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 13:48:47 -0000 --=-w4YQF8bXgc8VCBqHKldG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2008-04-14 at 09:33 +0900, Pyun YongHyeon wrote: > On Sun, Apr 13, 2008 at 05:45:14AM +0000, Qing Li wrote: > > qingli 2008-04-13 05:45:14 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > sys/conf files options=20 > > sys/net radix.c radix.h route.c route.h rtsock.c=20 > > sys/netinet in_proto.c ip_output.c=20 > > sys/netinet6 in6_proto.c in6_src.c nd6_nbr.c=20 > > Log: > > This patch provides the back end support for equal-cost multi-path > > (ECMP) for both IPv4 and IPv6. Previously, multipath route insertion > > is disallowed. For example, > > =20 > > route add -net 192.103.54.0/24 10.9.44.1 > > route add -net 192.103.54.0/24 10.9.44.2 > > =20 > > The second route insertion will trigger an error message of > > "add net 192.103.54.0/24: gateway 10.2.5.2: route already in table" > > =20 > > Multiple default routes can also be inserted. Here is the netstat > > output: > > =20 > > default 10.2.5.1 UGS 0 3074 bge0 =3D> > > default 10.2.5.2 UGS 0 0 bge0 > > =20 > > When multipath routes exist, the "route delete" command requires > > a specific gateway to be specified or else an error message would > > be displayed. For example, > > =20 > > route delete default > > =20 > > would fail and trigger the following error message: > > =20 > > "route: writing to routing socket: No such process" > > "delete net default: not in table" > > =20 > > On the other hand, > > =20 > > route delete default 10.2.5.2 > > =20 > > would be successful: "delete net default: gateway 10.2.5.2" > > =20 > > One does not have to specify a gateway if there is only a single > > route for a particular destination. > > =20 > > I need to perform more testings on address aliases and multiple > > interfaces that have the same IP prefixes. This patch as it > > stands today is not yet ready for prime time. Therefore, the ECMP > > code fragments are fully guarded by the RADIX_MPATH macro. > > Include the "options RADIX_MPATH" in the kernel configuration > > to enable this feature. > > =20 > > Reviewed by: robert, sam, gnn, julian, kmacy > > =20 >=20 > Nice work! >=20 Congrats! Thank you for this. --=20 Coleman --=-w4YQF8bXgc8VCBqHKldG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkgDYKAACgkQcMSxQcXat5cqTgCfUpoIJ3jMhJfK7GKotXbUfWnd bLwAn3JxygkhYzPNe5/Njr59AiiKsNh/ =WIaz -----END PGP SIGNATURE----- --=-w4YQF8bXgc8VCBqHKldG--