you just need to add a route for ISPB's network, i.e.: route add -net 192.168.125.0/24 gw ISPB.gateway.here This way, your traffic will all be routed through ISPA, except for stuff intended for ISPB's netblock, which will be routed through ISPB.
On Thu, Jul 2, 2009 at 11:12 PM, Nelson Serafica <[email protected]>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 on the PUBLIC > SWITCH and use ISPA ip address and its gateway. > > What I want to do is also use ISPB on the same server. I have only 1 NIC > 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 was expected. To be > sure, I turn off iptables but still I can't see it on the Internet > > Is there a way wherein I can use both ISP and their provided ip block on > my web server? I'm searching about static routing with multiple isp just > want to know if someone on the list could recommend an idea on how to do > what I want. > > TIA > > > > > -- Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
