Re: relocating packets

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

 



On Thursday 2005-October-13 04:50, Mark Oden wrote:
> Assuming I had two NICs in my machine that happen to be on the same
> network, is there a way to force packets of certain ports to use only
> one NIC or IP?

I believe this scenario is covered by the LARTC HOWTO.  In brief: use 
"-j MARK --set-mark 0xff" in mangle. Use dual routing tables, and a 
rule to put "fwmark 0xff" traffic in the alternate table. The mark can 
be anything from 0x0 to 0xffff.

http://lartc.org/howto/
-- 
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header


[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