From owner-freebsd-net@FreeBSD.ORG Thu Feb 17 17:38:29 2005 Return-Path: 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 6FDED16A4CE for ; Thu, 17 Feb 2005 17:38:29 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id E462443D2F for ; Thu, 17 Feb 2005 17:38:21 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 60694 invoked by uid 0); 17 Feb 2005 17:29:32 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.99.7) by mail.freebsd.org.cn with SMTP; 17 Feb 2005 17:29:32 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id C20B81337B7; Fri, 18 Feb 2005 01:38:12 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28167-20; Fri, 18 Feb 2005 01:37:51 +0800 (CST) Received: from localhost.localdomain (unknown [221.216.127.104]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id ECDF513370D; Fri, 18 Feb 2005 01:37:44 +0800 (CST) From: Xin LI To: henrysu@nttmcl.com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-R5dtQCQNe9yL/yJqaC4h" Organization: The FreeBSD Simplified Chinese Project Date: Fri, 18 Feb 2005 01:36:29 +0800 Message-Id: <1108661789.656.9.camel@spirit> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-net@freebsd.org Subject: RE: Two NIC's connected to same subnet: routing question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: delphij@delphij.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 17:38:29 -0000 --=-R5dtQCQNe9yL/yJqaC4h Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It seems that this can be implemented through ng_one2many netgraph node. I'm looking for some documentation about this. Well... Given that my own server is already online and it is several kilometers away from me, I'd rather test the feature at lab and then go there for a shoot. =E5=9C=A8 2005-02-01=E4=BA=8C=E7=9A=84 10:37 -0800=EF=BC=8CHenry Su=E5=86= =99=E9=81=93=EF=BC=9A > You can configure both NIC as /32. You also need proxy arp installed and > listen on both NIC. Then the traffic should be able to follow between two > NICs. Since Proxy ARP always answers its MAC to clients, so the clients c= an > always send traffic to em1 or em0. Based on client's mac entry in the ARP > table, client to client traffic is easily transferred. Other traffic shou= ld > be able to direct to default gateway. >=20 > If you know other options, I am interested to hear. Cheers, --=20 Xin LI http://www.delphij.net/ --=-R5dtQCQNe9yL/yJqaC4h Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCFNYc/cVsHxFZiIoRAqGWAJ9s5TLcAsNrMi2wQwM8tSAtCxIasQCeM+/T /9lhJDRKCgZF23YJvMFjMb0= =uuOw -----END PGP SIGNATURE----- --=-R5dtQCQNe9yL/yJqaC4h--