All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] ip rule add (Changing order of rules?)
@ 2003-09-19  8:59 David Herselman
  2003-09-19 23:32 ` Martin A. Brown
  0 siblings, 1 reply; 2+ messages in thread
From: David Herselman @ 2003-09-19  8:59 UTC (permalink / raw)
  To: lartc


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-19 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-19  8:59 [LARTC] ip rule add (Changing order of rules?) David Herselman
2003-09-19 23:32 ` Martin A. Brown

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.