* [LARTC] bgp require in multigateway routing
@ 2007-12-12 12:03 sonu chouhan
2007-12-12 14:18 ` Radek 'Goblin' Pieczonka
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: sonu chouhan @ 2007-12-12 12:03 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1087 bytes --]
hi all,
first i wann to explain my network & it's problem,
i am using a redhat el5 for multigateway routing, i have 3 adsl lines which is connected with eth0, eth2 and eth3. eth1 is my local network.
those 3 lines comes with adsl modem from same isp with equal bandwidth (512 Kbps).
In this adsl modems there is one lan and one wan port, adsl modem's lan ip is gateway for my linux box, some times wan port of the modem got hang and that time lan ip of modem does up and accessable, so for my linux box gateway is up but internet is down of this gateway, but linux box seem this like running gateway and it's continusly send request to this gateway,
so that time failover routing not work, so i need it's solution.
somebody suggest me to use border gateway protocol for this, but i don't have any knowledge about this protocol that it will useful for me our not, and plz also guide me how to configure this protocol.
sorry for my poor english
thanks in advance
sonu
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[-- Attachment #1.2: Type: text/html, Size: 1234 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] bgp require in multigateway routing
2007-12-12 12:03 [LARTC] bgp require in multigateway routing sonu chouhan
@ 2007-12-12 14:18 ` Radek 'Goblin' Pieczonka
2007-12-13 14:12 ` sonu chouhan
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Radek 'Goblin' Pieczonka @ 2007-12-12 14:18 UTC (permalink / raw)
To: lartc
> somebody suggest me to use border gateway protocol for this, but i
> don't have any knowledge about this protocol that it will useful for
> me our not, and plz also guide me how to configure this protocol.
considering the bandwidth, i dont think your ISP would even start to
think about BGP, not to mention the fact that as long as you use the
same ISP I'd rather think of OSPF or even RIPv2. Also, there is a
question of support on modem, as from what you say its actually a router
with adsl modem integrated, so it should take part of dynamic routing.
All in all, first question to ask is what your ISP is willing to do in
this case. As an alternative you can always run some checks on links and
switch routing information (aspecially default route, or selection of
routing table in policy routing) in static table from some cron script /
daemon accordingly.
--
Radek aka Goblin
goblin@pentex.pl
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] bgp require in multigateway routing
2007-12-12 12:03 [LARTC] bgp require in multigateway routing sonu chouhan
2007-12-12 14:18 ` Radek 'Goblin' Pieczonka
@ 2007-12-13 14:12 ` sonu chouhan
2007-12-13 17:09 ` Grant Taylor
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: sonu chouhan @ 2007-12-13 14:12 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1481 bytes --]
Thanks a lot for your reply,
my isp doesn't support bgp, so i have a second chance to write a script for this,
but my question is, if i run a script which will detect dead route and then delete that route, all is fine but after deleting route how can i know that this route is working again and need to add it again. plz help me and if you have any script like this plz provide me.
thanks again
sonu....
> somebody suggest me to use border gateway protocol for this, but i
> don't have any knowledge about this protocol that it will useful for
> me our not, and plz also guide me how to configure this protocol.
considering the bandwidth, i dont think your ISP would even start to
think about BGP, not to mention the fact that as long as you use the
same ISP I'd rather think of OSPF or even RIPv2. Also, there is a
question of support on modem, as from what you say its actually a
router
with adsl modem integrated, so it should take part of dynamic routing.
All in all, first question to ask is what your ISP is willing to do in
this case. As an alternative you can always run some checks on links
and
switch routing information (aspecially default route, or selection of
routing table in policy routing) in static table from some cron script
/
daemon accordingly.
--
Radek aka Goblin
goblin@pentex.pl
------------------------------
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[-- Attachment #1.2: Type: text/html, Size: 2130 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] bgp require in multigateway routing
2007-12-12 12:03 [LARTC] bgp require in multigateway routing sonu chouhan
2007-12-12 14:18 ` Radek 'Goblin' Pieczonka
2007-12-13 14:12 ` sonu chouhan
@ 2007-12-13 17:09 ` Grant Taylor
2007-12-14 8:49 ` Nickola Kolev
2007-12-14 13:52 ` Manish Kathuria
4 siblings, 0 replies; 6+ messages in thread
From: Grant Taylor @ 2007-12-13 17:09 UTC (permalink / raw)
To: lartc
On 12/13/07 08:12, sonu chouhan wrote:
> my isp doesn't support bgp, so i have a second chance to write a
> script for this, but my question is, if i run a script which will
> detect dead route and then delete that route, all is fine but after
> deleting route how can i know that this route is working again and
> need to add it again. plz help me and if you have any script like
> this plz provide me.
I think you will want to delete the route (or mark it dead) in your
(main?) routing table that gets used by most of your traffic and leave
additional administrative / test routing tables alone. With the
additional administrative / test routing tables you can have your test
traffic go out the routes that would otherwise not be used by your
normal traffic. Thus you can have test scripts see if the routes are
good or not. If the routes are good, you can re-add the routes to your
mail (?) routing table.
Another idea is to use different routing tables based on the connection
status. I.e. have main_both, main_isp_a, and main_isp_b routing tables
that are used for your normal traffic. If something happens, just
change the routing table that is used from main_both to main_isp_<that
is still up>. Changing which routing table is used is probably going to
be easier than altering a routing table.
Just to be clear, you will still want to have test_isp_a and test_isp_b
routing tables so you can direct your test traffic to use either
connection. So all in all, this route, you will have five routing
tables: main_both, main_isp_a, main_isp_b, test_isp_a, and test_isp_b.
Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] bgp require in multigateway routing
2007-12-12 12:03 [LARTC] bgp require in multigateway routing sonu chouhan
` (2 preceding siblings ...)
2007-12-13 17:09 ` Grant Taylor
@ 2007-12-14 8:49 ` Nickola Kolev
2007-12-14 13:52 ` Manish Kathuria
4 siblings, 0 replies; 6+ messages in thread
From: Nickola Kolev @ 2007-12-14 8:49 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 781 bytes --]
На Thu, 13 Dec 2007 06:12:36 -0800 (PST)
sonu chouhan <hi100nu@yahoo.com> написа:
> Thanks a lot for your reply,
> my isp doesn't support bgp, so i have a second chance to write a
> script for this, but my question is, if i run a script which will
> detect dead route and then delete that route, all is fine but after
> deleting route how can i know that this route is working again and
> need to add it again. plz help me and if you have any script like
> this plz provide me. thanks again sonu....
You can take a look at this document:
http://blog.taragana.com/index.php/archive/how-to-load-balancing-failover-with-dual-multi-wan-adsl-cable-connections-on-linux/
The script mentioned is working as a charm.
[ cut ]
--
Regards,
Nickola Kolev
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] bgp require in multigateway routing
2007-12-12 12:03 [LARTC] bgp require in multigateway routing sonu chouhan
` (3 preceding siblings ...)
2007-12-14 8:49 ` Nickola Kolev
@ 2007-12-14 13:52 ` Manish Kathuria
4 siblings, 0 replies; 6+ messages in thread
From: Manish Kathuria @ 2007-12-14 13:52 UTC (permalink / raw)
To: lartc
On 12/13/07, sonu chouhan <hi100nu@yahoo.com> wrote:
> Thanks a lot for your reply,
> my isp doesn't support bgp, so i have a second chance to write a script for
> this,
> but my question is, if i run a script which will detect dead route and then
> delete that route, all is fine but after deleting route how can i know that
> this route is working again and need to add it again. plz help me and if you
> have any script like this plz provide me.
> thanks again
>
> sonu....
>
I had posted a script on this list early this year. You can check out
the link and use the script.
http://mailman.ds9a.nl/pipermail/lartc/2007q1/020170.html
You will have to modify it since this one is for two internet links
whereas you have three links. But I think it should be easy to do,
just the number of cases would increase. You will have to take care of
all possible scenarios (all 3 links active, any two links active and
any one link active) and set the default route for these 7 cases.
--
Manish Kathuria
Tux Technologies
http://www.tuxtechnologies.co.in/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-12-14 13:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 12:03 [LARTC] bgp require in multigateway routing sonu chouhan
2007-12-12 14:18 ` Radek 'Goblin' Pieczonka
2007-12-13 14:12 ` sonu chouhan
2007-12-13 17:09 ` Grant Taylor
2007-12-14 8:49 ` Nickola Kolev
2007-12-14 13:52 ` Manish Kathuria
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.