Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Corey Hickey <bugfood-ml@fatooh.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Getting crazy with marking packets
Date: Wed, 18 Feb 2004 22:05:11 +0000	[thread overview]
Message-ID: <4033E197.1090609@fatooh.org> (raw)
In-Reply-To: <200402131005.35613.rabs@dimension-virtual.com>

Raúl Alexis Betancort Santana wrote:
> Hi all .. I'm getting crazy triying to undestand why my packets are not going 
> by the ISP I want them to  .. :S
> 
> I mark smtp and pop3 packets on PREROUTING with -j MARK setting it mark to 
> 0x02 .. then with ip rule add fwmark table mail.traffic its supposed they 
> will only go out by ISP1, but they are going out by a random provier from my 
> list of ones ... :(
> 
> Any hit please ? ... what are I'm doing wrong? .. I have read the archives and 
> searched at google with no success ...
> 

Perhaps you need to add a default route for mail.traffic?
ip route add default via <addr-on-if-ISP1> dev <if-ISP1> table \
mail.traffic

If that's not the problem, then you'll probably need to show us the
commands/script you're using.

-Corey
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2004-02-18 22:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 10:05 [LARTC] Getting crazy with marking packets Raúl Alexis Betancort Santana
2004-02-18 22:05 ` Corey Hickey [this message]
2004-02-18 23:21 ` Raúl Alexis Betancort Santana

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=4033E197.1090609@fatooh.org \
    --to=bugfood-ml@fatooh.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox