All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] 2 internet connection problem :(
Date: Wed, 27 Apr 2005 05:44:00 +0000	[thread overview]
Message-ID: <426F26A0.4040600@riverviewtech.net> (raw)
In-Reply-To: <4858177605042608493eebe967@mail.gmail.com>

> i want to put web and ftp traffic to eth2 and all other traffic to eth0
> is it possible can anybody help me to do that

You will probably need to set up additional routing tables via the "ip route" command.  One table will need to be the machine default and one will need to be the table that FTP traffic uses.  Each table would use the upstream gateway for the connection that you want them to use as their default route.  You will probably have to MARK the traffic that qualifies as FTP traffic via iptables and use an "ip rule" to match on the fwmark stating that marked packets need to use the FTP routing table.



Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2005-04-27  5:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26 15:49 [LARTC] 2 internet connection problem :( Stanislav Nedelchev
2005-04-27  5:44 ` Taylor, Grant [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=426F26A0.4040600@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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.