[Click] adding routes to RadixIPLookup
Eddie Kohler
kohler at cs.ucla.edu
Tue Jan 5 20:57:44 EST 2010
Hi Mick,
You want to write
216.55.36.123/24 4.68.101.31 1
to the "add" handler, without parens. Or you can write
add 216.55.36.123/24 4.68.101.31 1
to the "ctrl" handler, again without parens.
Eddie
Mick Woods wrote:
> Hi I am trying to load a 167K routeing table to the RadixIPLookup
> element, I have tried to add it into the script but when you do
> click-install it just hangs and you have to do a hard reboot. I then
> tried adding with the add command in /proc/click/RadixIPLookup but it
> says "syntax error near unexpected token "216.55.36.123/24 4.68.101.31 1" "
>
> As root I used
> add(216.55.36.123/24 4.68.101.31 1)
>
> I was going to use a script to loop through all the routing addresses to
> add them to the routing table.
>
> Could anyone tell me what I am doing wrong and the best way to enter the
> routing data
>
> many thanks
> alan
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list