All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew andrewd@uccsda.org
To: lartc@vger.kernel.org
Subject: [LARTC] A bug in ip?
Date: Mon, 04 Dec 2000 21:57:45 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216995@msgid-missing> (raw)

<PRE>OK. I posted this under the old subject, but no one answered. Let's try again.

Season's Greetings:

If anyone is still watching this thread &quot;A complicated routing scenario (for me
at least)&quot;, 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:

&gt;<i>ip rule ls
</I>
Which among other things lists the following for the rule I just added above:

&gt;<i>230:  from 100.100.100.80/24 to 10.5.5.0/24 iif eth0 lookup dmz-lan  (it IS typed correctly)
</I>
Furthermore if I try to run the following going off the output of ip rule ls
above:

&gt;<i>ip rule delete from 100.100.100.80/24 to 10.5.5.0/24 iif eth0
</I>\x03
I get the following answer:

&gt;<i>RTNETLINK answers: no such process
</I>
But if I run the command modified slightly as follows:

&gt;<i>ip rule delete from 100.100.100.80/29 to 10.5.5.0/24 iif eth0
</I>
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
-- 
<A HREF="mailto:depaan@bibleinfo.com">depaan@bibleinfo.com</A>
--------------------------------------------------------------
Want answers to life's big questions? Visit www.bibleinfo.com.


</PRE>

                 reply	other threads:[~2000-12-04 21:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373938216995@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.