[Click] dynamic IP-in-IP encapsulation

Mike Wilson mlw2 at arl.wustl.edu
Fri Jan 26 16:17:53 EST 2007


Can we do the same thing with UDPIPEncap?  (Does it just pass through 
automatically to IPEncap?)

-Mike Wilson

On Fri, 26 Jan 2007, Eddie Kohler wrote:

> 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
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list