[LARTC] Re: 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]

 



Season's Greetings:

If anyone is still watching this thread, I'm still working on my setup. Today I
have a very specific question:

I execute the following command at the prompt:

ip rule add from 100.100.100.80/29 to 10.5.5.0/24 iif eth0 lookup dmz-lan
priority 230

Then I run the following:

>ip rule ls

Which among other things lists the following for the rule I just added above:

>230:  from 100.100.100.80/24 to 10.5.5.0/24 iif eth0 lookup dmz-lan  (it IS typed correctly)

Furthermore if I try to run the following going off the output of ip rule ls
above:

>ip rule delete from 100.100.100.80/24 to 10.5.5.0/24 iif eth0

I get the following answer:

>RTNETLINK answers: no such process

But if I run the command modified slightly as follows:

>ip rule delete from 100.100.100.80/29 to 10.5.5.0/24 iif eth0

It works (deletes the rule) and ip rule ls verfies that it no longer exists.


What is going on?! It seems to me that ip rule ls should match what I put in
with ip rule add.
Why isn't it?

BTW. all the above IP addresses are completely bogus.

Thanks for the help!

-Andrew
-- 
depaan@xxxxxxxxxxxxx
--------------------------------------------------------------
Want answers to life's big questions? Visit www.bibleinfo.com.



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