Polling Linux

Tim Wilson timwilson at mediaone.net
Sat Aug 18 23:14:27 EDT 2001


Ignore my previous message--I figured out the problem is with the ARPs.

But I'm still having difficulties, specifically with ARPQuerier. Here's
the config:

-------------

arpq::ARPQuerier(192.168.1.101, 00:10:a4:b6:32:ef);

FromDevice(eth0) -> inclass::Classifier( 12/0800, 12/0806);

inclass[0] -> ToLinux;
inclass[1] -> [1]arpq;


FromLinux(fake0, 192.168.100.101/24) -> outclass::Classifier(12/0806,
12/0800);
outclass[0] -> ARPResponder(0.0.0.0/0 1:1:1:1:1:1) -> ToLinux;

outclass[1] -> Strip(14) -> [0]arpq -> Queue -> ToDevice(eth0);

-------------

So what I'm trying to do is

1) Feed the FromLinux outgoing packets thru a classifier, split into ARP
queries &  IP.
2) Feed the ARP queries to a phony responder to keep the kernel happy.
3) Send the IPs (stripped of ethernet header) to an ARPQuerier.
4) ARPQuerier output goes out the device.
5) Incoming packets are split into ARP and IP, the IP is sent to the
kernel, the ARP is fed back into the ARPQuerier.

This seems like it should work, but it doesn't. If I look at the link, I
see my machine is sending  incorrect ARP requests:

arp who-has 0.0.0.0 tell 192.168.1.101

(but at least the source Ethernet address of the query is right...)

Any help?






More information about the click mailing list