AddressInfo

Shweta Bhandare Shweta.Bhandare at colorado.edu
Thu Jan 23 11:14:09 EST 2003


Here is a snippet of my click script.

AddressInfo(me0 192.138.198.96);
AddressInfo(my_ether eth1:eth);

out1::Queue->SetPower->EtherEncap(0x0800,me0,me0)->ToDevice(eth1);

I get an error message due to EtherEncap - it says it expects a src and 
dest. address. Bt I have me0,me0 in there.

However, if I hardcode the ethernet address in the first AddressInfo 
statement, I no more get any error message. I'm trying to use the second 
AddressInfo to get rid of the hardcoding of the ethernet address in my 
Click Router.

Can you help?

Thanks,
	Shweta




More information about the click mailing list