[Click] [click]Destination IP Annotation

Harald Schioeberg harald at net.t-labs.tu-berlin.de
Sun Feb 22 09:32:40 EST 2009



Pradeep Pradeep wrote:
> Hi,
> 
>      Why/When will the destination IP annotation be zero ? I was trying a routing exrcise with two different scripts. The Lookup element would work in one case and would not work in one case. I printed out the dst_ip_anno() in the 'NOT WORKING CASE'. I do not know what went wrong.   

dst_anno on incoming packets is undefined unless set by some element,
CheckIPHeader is the canonical element for that.

...->Strip(14)->CheckIPHeader-> ...

hope that helps,

	harald


More information about the click mailing list