[Click] roofnet connnection client to client

hongjianli.nudt hongjianli.nudt at gmail.com
Fri Mar 21 22:47:31 EDT 2008


Hi,

 A and B are PCs with wireless NIC which is running Linux (Kernel 2.6.19) and Click 1.6.0 and Madwifi 0.9.3.3, and they act as roofnet routers. C and D are common PCs which is connected to A and B via Ethernet interfaces separately, and they act as clients.
 
When I run the script gen_config_roofnet.sh (using the command ¡°sh gen_config_roofnet.sh | click ¨C¡°) on A and B, Roofnet starts with no error. I can see two interfaces srcr1 and srcr2 are started, which IP address are 5.x.x.x and 6.x.x.x. At the same time, five lines of ¡°expensive Packet::push; have 12 wanted 32¡± are output. The wireless card ath0 is set to pseudo-IBSS mode. And when the gen_config_roofnet.sh script is executed, ath2 is created and is set to monitor mode.

If PC C ping Router A with the commands ¡°ping 192.168.1.1¡±, ¡°ping 5.117.237.88¡± or ¡°ping 6.117.237.88¡±, they are all successful. And if A ping B using the command ¡°ping 5.41.54.212¡± or ¡°ping 6.41.54.212¡±, they are also successful. But C ping B using the command ¡°ping 5.41.54.212¡± or ¡°ping 6.41.54.212¡±, they will fail. So how can I establish connection between C and D?

Best regards,

2008-03-22 



hongjianli.nudt 


More information about the click mailing list