From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Herselman Date: Fri, 19 Sep 2003 08:59:53 +0000 Subject: [LARTC] ip rule add (Changing order of rules?) Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/