--set-mark policy routing problem

Linux Advanced Routing and Traffic Control

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

 



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

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