ip balance

Linux Advanced Routing and Traffic Control

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

 



hi, i keep on fighting with balancing my two internet conections..
ive improved a routing like this:

root@debian:/wk/ESTADISTICAS/Trafico_en_kisero_hq# ip route list
172.0.0.0/24 dev eth0  proto kernel  scope link  src 172.0.0.82 
172.0.0.0/24 dev eth1  proto kernel  scope link  src 172.0.0.81 
default 
        nexthop via 172.0.0.1  dev eth0 weight 1
        nexthop via 172.0.0.1  dev eth1 weight 1
root@debian:/wk/ESTADISTICAS/Trafico_en_kisero_hq# 

(the 172.0.0.1 is my gateway)

i made a simple script to generate traffic to many diferent ip
address..while i graph the traffic from the ethX..

the result was that the %78 of traffic goes to eth0 and the rest from
eth1..!!!.

any idea? i still dont understand based on what dsecicion the kernel
routes one paquet to eth0 or eth1...any idea?

well, thanks in advance..
this is geting really interesting :)

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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