From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrads Smelkov konrads@interbaltika.com Date: Tue, 13 Feb 2001 00:28:06 +0000 Subject: [LARTC] cheap line/expensive line situation. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
Hi, 

I have a situation similar to cheap line/expensive line.
let's say two nic's one is on mygoodsubnet and other is provider's given ip address for their subnets.

So i do:
iptables -t mangle -A PREROUTING -s mygoodsubnet/mask -j MARK --set-mark 2

ip ru add fwmark 2 table 200
ip ro add dev eth2(outer nic) via ispsgivengateway

and... it doesn't work :(

If you would tell me how to do it, i would maybe write a mini-HOWTO and post it to linuxdoc :)