[Click] A question about how to use to click to realize packet forwarding

Kai Chen kch670 at eecs.northwestern.edu
Thu Nov 25 08:40:15 EST 2010


On Thu, Nov 25, 2010 at 12:03 AM, Roman Chertov <rchertov at cs.ucsb.edu> wrote:
> On 11/24/2010 08:10 PM, Kai Chen wrote:
>> Hi, I am new to click, I have the following requirements, hope someone
>> could give me help.
>>
>> Suppose a network with a central controller, the controller computes
>> the routing tables for all the nodes in the network using say shortest
>> path routing, and it injects the routing table for each node, then the
>> nodes will use these tables to do packet forwarding. The network
>> topology could change periodically, which mean the controller needs to
>> recompute routing tables upon topology change.
>
> You can run your custom processing and then use handlers to change the
> forwarding tables on the nodes.  These elements deal with forwarding
> tables http://read.cs.ucla.edu/click/elements#ipv4-routing and you can
> use the write handlers to change the forwarding behavior.

Thanks, is there any example to show how to use these handlers?
Furthermore, how let each node know the new routing table from the
central controller?


>
> Roman
>
>>
>> Hope someone can tell me how to realize all these, or give me some
>> example if possible,
>>
>> Thanks,
>> - Kai
>> _______________________________________________
>> 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
>



-- 
Kai Chen, PhD Candidate
Dept. of EECS, Northwestern University
http://www.cs.northwestern.edu/~kch670/



More information about the click mailing list