Re: [LARTC] A complicated routing scenario (for me at least)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Nov 2000, Andrew wrote:

> Hey, I'm working on the rules and routes to implement what I've been talking
> about, and I've got a small question about the ip rule add.

> I'm trying to add a blackhole route, and ip rule add seems to insist that I
> provide a lookup table with the route.
> 
> For instance If I execute the command:
> 
> "ip rule add from 0.0.0.0/0 type blackhole."
>
> when I look at what it did with "ip rule ls" I see
> 
> "from all lookup main blackhole"

Try using   ip rule add priority 256 from 0.0.0.0/0 type blackhole

Doei, Arthur. (There's some hints as to the priority being required in the
               IP command reference)

-- 
  /\    / |      arthurvl@xxxxxxxxxx      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux