From owner-freebsd-net@FreeBSD.ORG Tue Jan 20 11:21:52 2004 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 D86E516A4CE for ; Tue, 20 Jan 2004 11:21:52 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E50B43D58 for ; Tue, 20 Jan 2004 11:21:46 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 30480 invoked by uid 0); 20 Jan 2004 19:21:44 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 20 Jan 2004 19:21:44 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0KIpqx3004536; Wed, 21 Jan 2004 02:51:52 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Wed, 21 Jan 2004 02:51:52 +0800 (MYT) From: Dinesh Nair To: Gleb Smirnoff In-Reply-To: <20040120091732.GB10731@cell.sick.ru> Message-ID: <20040121024916.K312-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Andrew Riabtsev cc: freebsd-net@FreeBSD.org Subject: Re: netgraph questions on ng_tee, ng_iface, ng_socket X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Jan 2004 19:21:53 -0000 On Tue, 20 Jan 2004, Gleb Smirnoff wrote: > Isn't ng_etf(4) the one you need? ng_etf does filtering, i'm planning on doing round robin IP tranmission, with source IP address set accordingly. see ng_one2many which gives an example for ethernet frames. i want to do the same thing in ng_one2many's EXAMPLE section, but with the added functionality of changing the ip address to match the ip address bound to the interface the packet is going out from. with this ip address, the next hop router(s) wont be able to route the reply back thru the same interface, especially if they're seeing non legit src addressed packets. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+