[Click] Help, do the routes in click's route table must appear in the linux's route table ?

Roman Chertov rchertov at cs.ucsb.edu
Wed Mar 2 20:05:55 EST 2011


On 03/02/2011 04:56 PM, wubaochuan wrote:
> Hi everyone,
>       I installed Fedora12 and click1.8 on my machine, it can work as a
> router. Now the router  can  forward  packets  sent by other machine,
> but when I ping other machine, it tells me there is no route. The reason
> is when I ping other machine, it has to look up route table on
> Fedora12(can be showed by command `route -n`), not the route table in
> click1.8, but when I add a default route for Fedora12, I can ping other
> machine. I want to know, do the routes in click's route table must
> appear in the linux's route table? if the routes in click's route table

They will not appear, as Click forwarding tables are separate from the 
kernel forwarding tables.

> do not appear in the linux's route table, the router can not work as a host.

You will have to check that the packets are destined for the router, and 
then use the ToHost element to send the packets to the linux IP stack.

Roman

>      Thank you.
>
> Yours
> Chuan
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list