[Click] dynamic IP-in-IP encapsulation
Eddie Kohler
kohler at cs.ucla.edu
Fri Jan 26 15:58:25 EST 2007
Hi Yi,
I've just checked in an update to IPEncap that allows you to set its DST
argument to the string "DST_ANNO". In this case, the element will set
the destination address to the destination address annotation's current
value.
As a bonus, IPEncap should be a bit faster now since it precalculates
most of the checksum.
Thanks for your patience,
Eddie
Yi Wang wrote:
> Hello,
>
> Is there an efficient way to do dynamic IP-in-IP encapsulation in Click,
> e.g., after a packet passes through a IPRouteTable, encapsulate it with
> the new destination address set to the dst address in the annotation.
>
> It seems to me that the IPEncap only does static encapsulation. Does it
> mean that I need to do some hack to do dynamic IP-in-IP encapsulation?
> One such way may be to add a new IP header to packets before they enter
> the IPRouteTable, and rewrite the outer destination address using the
> annotation after the lookup. But I was wondering if there is better way
> to do this.
>
> Thanks a lot in advance.
>
> Yi
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list