Not work fine, Two Internet links

Linux Advanced Routing and Traffic Control

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

 



Hi! sorry my english (soy de Argentina)

This is my scene:

ISP 1: IP X.X.X.7/28, GW X.X.X.1
ISP 2: IP X.X.X.22/30, GW X.X.X.21

LINUX SERVER:
eth0, ISP 1 (default)
eth1, to intranet 192.168.1.0/24, 192.168.6.0/24, 192.168.50.0/24 (aliasing)
eth2, to intranet 192.168.8.0/24, 192.168.9.0/24
eth3, to intranet 192.168.0.0/24
eth4, ISP 2
eth5, to intranet 192.168.11.0/24, 192.168.12.0/24

I need two Internet connection for more BW. I read all the information on
lartc.org, FAQ, nano script, netsane script, advance routing, etc. but i
can´t make that "two ISP links" work.

My last script test, work good for 30 minutes, but after is very slow and
the
upload traffic as mail  is veeeery slow:

# add on file: /etc/iproute2/rt_tables
#
# 7     valida.7
# 22    valida.22
#
ip route add default via X.X.X.1 table valida.7
ip route add default via X.X.X.21 table valida.22

ip rule add from 192.168.0.0/24 lookup valida.7
ip rule add from 192.168.1.0/24 lookup valida.7
ip rule add from 192.168.6.0/24 lookup valida.7
ip rule add from 192.168.11.0/24 lookup valida.7
ip rule add from 192.168.12.0/24 lookup valida.7
ip rule add from 192.168.50.0/24 lookup valida.7
ip rule add from 192.168.8.0/24 lookup valida.7
ip rule add from 192.168.9.0/24 lookup valida.7

I know that is incomplete, but: what more i need write?

Thank !!!

pdta: sorry my english

David


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux