From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiaofei Wu Subject: Re: about packets forwarding Date: Wed, 2 Sep 2009 06:14:21 -0700 (PDT) Message-ID: <128535.30433.qm@web111606.mail.gq1.yahoo.com> References: <20090902201800.1dbb4988.lk-netdev@lk-netdev.nosense.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux netdev To: Mark Smith Return-path: Received: from n8.bullet.re3.yahoo.com ([68.142.237.93]:40789 "HELO n8.bullet.re3.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751725AbZIBNOT (ORCPT ); Wed, 2 Sep 2009 09:14:19 -0400 In-Reply-To: <20090902201800.1dbb4988.lk-netdev@lk-netdev.nosense.org> Sender: netdev-owner@vger.kernel.org List-ID: > Hello, > > I have something to ask here. > > The topology of the network is as follows. > There are six Nodes (A, B, C, D, M, N). > > M > | > A > / \ > B D > \ / > C > | > N > > M-A, C-N are wired links. > A-B, B-C, A-D, D-C are wireless links. > > Node M wnats to communicate with node N. Because the wireless links > are not very reliable, I want to forward the packets through A-B-C and > A-D-C simultaneously (When Node A receives packets(from Node M) from > its wired interface eth0, It will forward the same packets to its > wireless interfaces wlan0 and wlan1 simultaneously) . How to implement > this? > ------ Stephen Hemminger said, * The traffic control command 'tc filter mirred' probably does this, but not sure. * Other way to do the same thing would be iptables, not sure if there is an iptables target to mirror. ------ Can you give more information about how to implement this?