LARTC
[Top] [All Lists]

[LARTC] --set-mark policy routing problem

To: <lartc@mailman.ds9a.nl>
Subject: [LARTC] --set-mark policy routing problem
From: "Joe Gavin" <JGavin@netuxsolutions.com>
Date: Sat, 16 Dec 2006 17:18:35 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: AcchaIHcqu/H5oycS+6YdXeXm5foRQ==
Thread-topic: --set-mark policy routing problem

In its current configuration one of our Linux boxes has 2 DSL modems that connect to the same service provider.  On the router packets coming in from the network destined for the internet are marked alternating using nth match those packets are supposed to be picked up by iproute2 and routed out the physical connections based on that mark, thereby doubling the outbound bandwidth.  The problem is that only 1 of the DSL modems gets used to send the traffic. 

 

I have verified that the mark is being set.  Apparently iproute2 is not applying the policy routing correctly.  Has anyone encountered similar problems?

 

In a related but different problem the local box marks packets in a similar manner using the output mangle chain but these marks are not honored by iproute2.  They are routed based on the default route in the main table.(if no default route in main table they go nowhere)

 

The iproute2 rules are like :

 

ip ro add table 20 default dev ppp1

ip ru add fwmark 2 table 20

 

I feel like I am missing something that should be obvious.  This box is also doing NAT so is it possible that I am seeing some odd interaction?

 

 

Joe Gavin

 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>
  • [LARTC] --set-mark policy routing problem, Joe Gavin <=