fixing the path on a mesh

Chris Ball cjb at laptop.org
Wed Jun 20 17:37:24 EDT 2012


Hi,

On Wed, Jun 20 2012, Chris Ball wrote:
> Hi,
>
> On Wed, Jun 20 2012, Sameer Verma wrote:
>> Is it possible to force the path of layer 2 traffic in a mesh? In
>> other words, if we have laptops A, B and C in a room, all within radio
>> range, can we force A to talk to C via B?
>
> Yes:  http://wiki.laptop.org/go/Mesh_Forwarding_Table

Actually, that page doesn't explain how to manipulate the table.
That's described here:

http://wiki.laptop.org/go/Wireless_Driver_README

FWT (Forwarding Table) Commands:
	The forwarding table (FWT) is a feature used to manage mesh network
	routing in the firmware.  The FWT is essentially a routing table that
	associates a destination mac address (da) with a next hop receiver
	address (ra).  The FWT can be inspected and edited with the following
	iwpriv commands, which are described in greater detail below.
	Eventually, the table will be automatically maintained by a custom
	routing protocol.

	iwpriv ethX fwt_add [parameters]
	iwpriv ethX fwt_del [parameters]
	iwpriv ethX fwt_lookup [parameters]
	iwpriv ethX fwt_list [parameters]
	iwpriv ethX fwt_list_route [parameters]
	iwpriv ethX fwt_list_neigh [parameters]
	iwpriv ethX fwt_reset [parameters]
	iwpriv ethX fwt_cleanup
	iwpriv ethX fwt_time

	fwt_add
	  This command is used to insert an entry into the FWT table. The list of 
	  parameters must follow the following structure:

	  iwpriv ethX fwt_add da ra [...]
          The different parameters are:-
	    da		-- DA MAC address in the form 00:11:22:33:44:55
	    ra		-- RA MAC address in the form 00:11:22:33:44:55

- Chris.
-- 
Chris Ball   <cjb at laptop.org>   <http://printf.net/>
One Laptop Per Child



More information about the Devel mailing list