[Click] Re: click router again

Dan Li lidan at IRO.UMontreal.CA
Wed Sep 24 17:24:02 EDT 2003


Eddie Kohler wrote:

> > Further, if the packet output from lookupIpRotuer element really is directed to the
> > eth0(color 1),for example, just for its color is 2, it has to be redirect to
> > another eth1 or some alse? That means packets had better pass the same interface
> > (in/out), if not, it will be redirected. but major function of router is for
> > checking forwarding table and directing the packet. so...
>
> I don't understand what you are saying here.

in flake-iprouter.click, for example, an usual packet enters into click router from
eth0, passing "Paint(1)", now color =1.  then goes to lookupIProuter(). I suppose  after
checking lookup router, the packet should go to eth1, thus the packet has to pass
"CheckPaint(2)". in CheckPaint(2). if color=2 then packet goes on, if not , packet will
be droped and ICMP message packet will produce to redirect back to the lookup. Is it
that way?
if the packet is usual, not the packet for error message, why it should be droped or
redirect? just for the color is different?




More information about the click mailing list