All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Herselman <dh@syrex.cc>
To: lartc@vger.kernel.org
Subject: [LARTC] ip rule add (Changing order of rules?)
Date: Fri, 19 Sep 2003 08:59:53 +0000	[thread overview]
Message-ID: <marc-lartc-106396207216260@msgid-missing> (raw)


I need to route:

from 196.33.50.0/25  (default route) to ISP1
from 196.33.248.0/24 (default route) to ISP2


ISP1 --------- fire --+---- 196.33.248.0/24
              /       |
ISP2 --------/        +---- router ----- router ----- 196.33.50.0/25


What I've done:
Default route via ISP1
created routing table ISP2 for default route via ISP2

I would like to do the following but they get loaded in the wrong order:

ip rule add from 196.33.248.0/24 to 196.33.248.0/24 table main
ip rule add from 196.33.248.0/24 table ISP2



Everything works but 196.33.248.0/24 can't connect to fire as fire is 
loading the rule pointing at ISP2 first...


Regards
David Herselman  (Executive Proprietor)  -=*> Syrex Intranets <*=-

=- 12 Coronation Road      http://www.syrex.co.za
   Sandhurst               +27-(0)11-883-2246 Voice
   2196                    +27-(0)11-884-7945 Fax

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-09-19  8:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-19  8:59 David Herselman [this message]
2003-09-19 23:32 ` [LARTC] ip rule add (Changing order of rules?) Martin A. Brown

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-106396207216260@msgid-missing \
    --to=dh@syrex.cc \
    --cc=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.