List Info

Thread: routing two gateway




routing two gateway
country flaguser name
Philippines
2008-03-11 00:35:01
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 www2.domain.com to ip of telcoA and 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 www6.domain.com but not 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 www2.domain.com, it will use telcoA gateway and www6.domain.com will use telcoB?





Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
Re: routing two gateway
user name
2008-03-11 02:18:03

Use PBR for this. What router and routing protocol are you using?

 

BR/Van

 


From: plug-bounceslists.linux.org.ph [mailto:plug-bounceslists.linux.org.ph] On Behalf Of Nelson Serafica
Sent: Tuesday, March 11, 2008 1:35 PM
To: pluglists.linux.org.ph
Subject: [plug] routing two gateway

 

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 www2.domain.com to ip of telcoA and 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 www6.domain.com but not 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 www2.domain.com, it will use telcoA gateway and www6.domain.com will use telcoB?

 

 


Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com

Re: routing two gateway
user name
2008-03-11 06:50:42
On 3/11/08, Van Quintero <avrquinterogmail.com> wrote:
>
>
>
>
> Use PBR for this. What router and routing protocol are
you using?

pardon my ignorance. what's PBR? anyway he doesnt appear to
use
dynbamic routing.

to the OP, i think that will not work because when metric 0
is alive,
all routes goes there. you need multipath instead of backup
default
route, please see larct.org for more info.

>
>
>
> BR/Van
>
>
>
>  ________________________________
>
>
> From: plug-bounceslists.linux.org.ph
> [mailto:plug-bounceslists.linux.org.ph] On
Behalf Of Nelson Serafica
>  Sent: Tuesday, March 11, 2008 1:35 PM
>  To: pluglists.linux.org.ph
>  Subject: [plug] routing two gateway
>
>
>
>
>
>
> 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
> www2.domain.com to ip of telcoA and 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 www6.domain.com but not 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 www2.domain.com,
> it will use telcoA gateway and www6.domain.com will use
telcoB?
>
>
>
>
>
>
>
>  ________________________________
>
>
> Tired of spam? Yahoo! Mail has the best spam protection
around
>  http://ph.mail.yahoo.com

> _________________________________________________
>  Philippine Linux Users' Group (PLUG) Mailing List
>  pluglists.linux.org.ph (#PLUG  irc.free.net.ph)
>  Read the Guidelines: http://linux.org.ph/lists
>  Searchable Archives: http://archives.free.net.
ph
>

--edel
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
pluglists.linux.org.ph (#PLUG  irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.
ph

Re: routing two gateway
user name
2008-03-14 03:27:31

Hi!

i think you'd be better off asking this question to cisco forum/mailing list. I read this type of problem was answered in cisco mailing of ittoolbox.com Sorry, i forgot the answer but i think you will need the ISP's help to solve this problem.


just my suggestion.




On Tue, Mar 11, 2008 at 1:35 PM, Nelson Serafica < ntseraficayahoo.com" target="_blank">ntseraficayahoo.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.&nbsp; Port 80 no doubt is open for both ips. I have configured www2.domain.com to ip of telcoA and 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 www6.domain.com but not 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 www2.domain.com, it will use telcoA gateway and www6.domain.com will use telcoB?





Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
pluglists.linux.org.ph" target="_blank">pluglists.linux.org.ph (#PLUG irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph



--
Registered Linux User# 459081
Linux machine registration number# 369005.

Linux users please register and be counted!

http://counter.li.org

Key ID # CA53B229
Re: routing two gateway
country flaguser name
Philippines
2008-03-14 04:47:10
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]ntseraficayahoo.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
pluglists.linux.org.ph (#PLUG  irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.
ph

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )