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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>