Re: Load-banancing. two ip's from one isp

Linux Advanced Routing and Traffic Control

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

 




Hi,

while I was waiting for your reply i decided to read everything once more:
http://www.ssi.bg/~ja/#route
routes-2.6.14-12.diff - March 3, 2005. Patch containing all following parts (applied in the same order), apply after disabling the IP_ROUTE_MULTIPATH_CACHED config option

AND after this I decided look at my kernel configuration - ofcourse I have the IP_ROUTE_MULTIPATH_CACHED enabled on my 2.6.15. I decided to use older version of kernel 2.6.14-gennto-r5 (all test till now I'was doing on 2.6.15-gentoo-r1) to have sure that this is a clear (non patched copy of kernel) i mark the route_multipath and multipath_cached i've lived disabled. I've patch the route.diff of Anastasov compile kernel reboot system and NOW IT'S WORKING :) with my old script. Now my "test of truth" is showing correct gw and src ip. Now every thing is just I wanted to be. I don't need to use NAT/PAT witch was wierd for me.

I don't know where was problem 
IP_ROUTE_MULTIPATH_CACHED must be disabled or maby some bug in 2.6.15 kernel. Now I'm too tired and huppy to test it out and make sure. I'll do it tommorow and will send the solution or rather answer where was my mistake.

Once more thanks for support!

pozdrawiam Szymon Mroofka

lucy mroofka # ip rou ge 80.48.56.1
80.48.56.1 via 80.48.56.65 dev eth0  src 80.48.56.70
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.2
80.48.56.2 via 192.168.1.1 dev eth1  src 192.168.200.10
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.3
80.48.56.3 via 80.48.56.65 dev eth0  src 80.48.56.70
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.4
80.48.56.4 via 192.168.1.1 dev eth1  src 192.168.200.10
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.5
80.48.56.5 via 80.48.56.65 dev eth0  src 80.48.56.70
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.6
80.48.56.6 via 192.168.1.1 dev eth1  src 192.168.200.10
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.7
80.48.56.7 via 80.48.56.65 dev eth0  src 80.48.56.70
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.8
80.48.56.8 via 192.168.1.1 dev eth1  src 192.168.200.10
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.9
80.48.56.9 via 80.48.56.65 dev eth0  src 80.48.56.70
    cache  mtu 1500 advmss 1460 metric 10 128
lucy mroofka # ip rou ge 80.48.56.10
80.48.56.10 via 192.168.1.1 dev eth1  src 192.168.200.10
    cache  mtu 1500 advmss 1460 metric 10 128

----------------------------------------------------------------------
Jak sie go pozbyc? >>> http://link.interia.pl/f191a

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


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