Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Konrads Smelkov konrads@interbaltika.com
To: lartc@vger.kernel.org
Subject: [LARTC] cheap line/expensive line situation.
Date: Tue, 13 Feb 2001 00:28:06 +0000	[thread overview]
Message-ID: <marc-lartc-98373940417008@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940417009@msgid-missing>

<PRE>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 :)


</PRE>

      reply	other threads:[~2001-02-13  0:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-12 16:40 [LARTC] cheap line/expensive line situation Jorge
2001-02-13  0:28 ` Konrads [this message]

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-98373940417008@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox