[LARTC] Using multiple uplinks
Michel Angelo da Silva Pereira
michel@michel.eti.br
Wed, 02 Jul 2003 15:46:48 -0300
Hi, I'm with a problem here on configuring our server to use multiple
uplinks with different providers.
The packet goes though on my way, but there is some lost packets that I
don't known where it's going and causing my link to goes slow and stop
sending/receiving data.
Here i'm listing the route tables and the rules. It's only for 1 IP.
[root@firewall /root]# ip ro li
200.148.140.252/30 dev eth4 proto kernel scope link src 200.148.140.253
172.16.2.0/24 dev eth2 proto kernel scope link src 172.16.2.254
default via 200.148.140.254 dev eth4
[root@firewall /root]# ip ro li table 4
200.153.199.64/26 dev eth3 proto kernel scope link src 200.153.199.116
172.16.2.0/24 dev eth2 proto kernel scope link src 172.16.2.254
default via 200.153.199.65 dev eth3
[root@firewall /root]# ip rule list
0: from all lookup local
32764: from all fwmark 4 lookup speedy
32765: from all lookup main
32767: from all lookup 253
[root@firewall /root]# iptables -t mangle -L -nv
Chain PREROUTING (policy ACCEPT 11M packets, 3773M bytes)
pkts bytes target prot opt in out source
destination
104 8576 MARK all -- * * 172.16.2.251
0.0.0.0/0 MARK set 0x4
[root@firewall /root]# iptables -t nat -L POSTROUTING -nv
Chain POSTROUTING (policy ACCEPT 350K packets, 23M bytes)
pkts bytes target prot opt in out source
destination
0 0 SNAT all -- * eth3 0.0.0.0/0
0.0.0.0/0 to:200.153.199.116
Thanks for the help
--
===================================================================
Analista de Segurança
Solaris Certified System Administrator - Conectiva Linux Specialist
Mondonet Network Solutions - www.mondonet.com.br - (016) 3911-5323
===================================================================