i'm been trying this "ip route add ... equalize..." thing. sometimes
it works, sometimes it doesn't.

however failover is automatic and looks like it works. i can unplug
any of the routers and after some time all the pings to different
hosts work again. (dead route detection)

i also see pings to google going out of routerA and pings to facebook
going out of routerB, which means routes are distributed.

despite of successful pings i can't telnet to port 80 of google or
facebook, and i wonder why?




On Fri, Jul 3, 2009 at 7:22 PM, Alec Joseph Rivera<[email protected]> wrote:
> Try looking for LARTC on googs. It's got a lot of examples to help you
> achieve what you want.
>
> Agi
>
> Nelson Serafica wrote:
>> I have 2 isp provider (ISPA and ISPB) and I have 1 machine. The 2 isp
>> provide a modem/router and both of them hook up on the same switch. I
>> called it "PUBLIC SWITCH". My web server was connected also on the
>> PUBLIC SWITCH and use ISPA provided ip address and its gateway.
>>
>> What I want to do is also use ISPB on the same server. I have only 2 NIC
>> (1 on PUBLIC SWITCH and 1 on my private network) on my webserver. But
>> since it was connected on the PUBLIC SWITCH, I can use ISPB.
>>
>> I put ip address provided by ISPB as virtual (ifcfg-eth0:1) and the
>> metric gateway was 1. But I think this won't work as expected.
>>
>> Is there a way wherein I can use both ISP and their provided ip block on
>> my web server (just like a router)? My client is on a tight budget and
>> don't want to purchase another machine just for a load balancer. But
>> purchasing another NIC card is ok.
>>
>> The OS is CentOS 5.3 with kernel 2.6.18-128.el5. Upon Googling, there is
>> a patch on the kernel on how to do this but it seems old. Just asking a
>> recommendation on the list who is expert to this.
>> _________________________________________________
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to