per port ip routing -- possible?

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



you can use the iptables mangle table to match packets (or rather with 
CONNMARK mark entire connections) and then ip routing can be made to
take this into consideration (see 'ip rule' fwmark option) by having 2 or 
more routing tables selected by the 'ip rule's.

On Thu, 2 Mar 2006, Jack Bailey wrote:

> Hello,
>
> I have a customer who has two Internet connections, cable and DSL, where the 
> cable is much faster than the DSL connection.  Is it possible in CentOS 4.2 
> to use the "ip route" command to direct certain outbound traffic over the 
> faster connection, say http(s) requests?  Web searches turn up solutions 
> where NAT is involved, but this guy isn't using NAT.  Example configs that 
> show how to load balance multiple connections and ensure symmetric routing 
> all work great, but I don't an example of per-port routing.
>
> Any pointers or example commands would be greatly appreciated.
>
> Jack
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux