Re: ROUTE extension for linux 2.6.3 HELP

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

 



You don't need the route extension to do "policy routing". All you need is CONNMARK, and a customized iproute2 setup that has multiple routes set up.

Pseudo-tasks:

Add routing tables for each WAN interface
Add routing rules that link FWMARK's with the routing tables previously created.
Add CONNMARK and MARK entries to PREROUTING and/or OUTPUT in order to keep track of sessions and direct traffic to the routing table you desire by setting the packet's firewall MARK.
Profit!


If you've exhausted researching what I have described above, come back and I'll give some more detail. I am pretty tired at this point, so I wouldn't be much help (2:00 am)..



Bruce Henshaw wrote:

Hello,

I have a need to direct certain traffic out certain WAN interfaces,
which have dynamic addresses.

I'm unable to patch my 2.6.3 kernel with the ROUTE extension though. :(
is there another way to do that?

I tried the new patch-o-matic-ng CVS and it says ROUTE requires kernel <
2.6.0

But I do see this file.

patch-o-matic-ng/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c

How I can add ROUTE in my 2.6.3 kernel?

Thanks very much for reading about my problem.

Bruce Henshaw






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux