[Click] for help on Roofnet
欧阳鑫
yuanmmsip at gmail.com
Sun Jan 9 06:39:57 EST 2011
Hi everyone,
We are running experiments with Roofnet on PCs. I have downloaded
click-1.8.0, and configured, make, make install it successfully. Then
I run: "./gen_config_roofnet.pl --dev wlan0 | click -" on TWO PCs. The
problem is, we cannot ping each other on the 2 PCs. We do not have
the old Atheros wireless cards, but use the new Atheros wireless cards
(802.11n supported) drived by ath9k. I am not sure if this is ok.
"/sbin/ifconfig srcr" result on PC 1:
srcr Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:5.167.1.211 P-t-P:5.167.1.211 Mask:255.0.0.0
UP POINTOPOINT RUNNING NOARP PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
On PC 2:
srcr Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:5.32.234.144 P-t-P:5.32.234.144 Mask:255.0.0.0
UP POINTOPOINT RUNNING NOARP PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
The srcr interface's HWaddr is
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00. Is this ok?
On PC1 and PC2, I ping the other host, no response.
On PC1, "./read_handler srcr/es.bcast_stats" shows
200 Read handler 'srcr/es.bcast_stats' OK
DATA 360
5.32.234.144 00-25-86-20-EA-90 seq 1294477713 period 30000 tau 300000 sent
45 last_rx 10.843367
5.32.234.144 00-25-86-20-EA-90 [ 2 60 0 0 -1 -1 ]
5.32.234.144 00-25-86-20-EA-90 [ 2 1500 0 0 -1 -1 ]
5.32.234.144 00-25-86-20-EA-90 [ 4 1500 0 0 -1 -1 ]
5.32.234.144 00-25-86-20-EA-90 [ 11 1500 100 100 0 0 ]
5.32.234.144 00-25-86-20-EA-90 [ 22 1500 100 100 0 0 ]
"./read_handler srcr/lt.routes" shows an empty route table:
200 Read handler 'srcr/lt.routes' OK
DATA 0
On PC2, "./read_handler srcr/es.bcast_stats":
200 Read handler 'srcr/es.bcast_stats' OK
DATA 352
5.167.1.211 00-25-86-A7-01-D3 seq 1294477686 period 30000 tau 300000 sent 36
last_rx 3.115970
5.167.1.211 00-25-86-A7-01-D3 [ 2 60 0 100 0 0 ]
5.167.1.211 00-25-86-A7-01-D3 [ 2 1500 0 100 0 0 ]
5.167.1.211 00-25-86-A7-01-D3 [ 4 1500 0 100 0 0 ]
5.167.1.211 00-25-86-A7-01-D3 [ 11 1500 100 100 0 0 ]
5.167.1.211 00-25-86-A7-01-D3 [ 22 1500 85 100 0 0 ]
"./read_handler srcr/lt.routes":
200 Read handler 'srcr/lt.routes' OK
DATA 0
The questions are:
(1) Why as neighbors, PC1 and PC2 cannot ping each other?
(2) srcr/lt.routes shows no data, Is this OK?
(3) Each PC has 3 interfaces, srcr, rate and wlan0. Which one should
be used to do experiments (like COPE)?
More information about the click
mailing list