Yes, if you are using linux, you can use iptables
CONNMARK/MARK for marking packets so when that packets
come from that interface it will go out where it was
marked.
I had that kind of situation before, using different
kinds of iptables and iproute2 will do the trick.
--- "Norbert P. Copones" <norbert tricom.com.ph>
wrote:
> though not a linux solution. it can be done on
> openbsd
>
> sysctl net.inet.ip.multipath=1
>
> http:/
/www.openbsd.org/faq/faq6.html#Multipath
>
>
> cheers!
>
> > On Tue, Mar 11, 2008 at 1:35 PM, Nelson
> Serafica
> > <[2]ntserafica yahoo.com> wrote:
> >
> > I have client that will changing provider as I
> stated in my previous
> > email. Right now, this server has two ip and
> two gateway. 1 from
> > telcoA and 1 from telcoB (new provider). Right
> now, primary gateway
> > which is metric 0 is gw of telcoA and telcoB
is
> the secondary as
> > metric 1. This has a running apache tomcat.
> Port 80 no doubt is open
> > for both ips. I have configured
> [3]www2.domain.com to ip of telcoA and
> > [4]www6.domain.com to ip of telcoB. Now, if I
> browse www2 its ok but
> > when I browse www6, it is not available.
> > If I reverse the gateway, primary is telcoB
and
> secondary is telcoA, I
> > can view [5]www6.domain.com but not
> [6]www2.domain.com.
> > Do you think both telco is not allowing other
> network? bgp?
> > Is their a way to reroute lets say if someone
> try to visit
> > [7]www2.domain.com, it will use telcoA gateway
> and [8]www6.domain.com
> > will use telcoB?
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> plug lists.linux.org.ph (#PLUG irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
a>
> Searchable Archives: http://archives.free.net.
ph
>
____________________________________________________________
________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
a>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug lists.linux.org.ph (#PLUG irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
a>
Searchable Archives: http://archives.free.net.
ph
|