Re: Getting crazy with marking packets

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux