RE: failover routing

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
yes we run ripv2 and both quagga and zebra.
 
The script on the primary gateway just pings the nexthop. The return value is formated.
and stored in a log file.
Next the script checks the last three values in the log, if current value 100 (down) or 0 (up) matches the last
three values in the log file determines the outcome of either stopping rip or starting it.
 
For example: logfile values 100 100 100  current value 100 --this would stop ripd
In order for ripd to start  we would need : 0 0 0 in the logfile and a current value 0, this would then start ripd
 
 
! this is what is in my secondary gateway ripd.conf
router rip
 default-information originate
 offset-list 1 out 4 eth0
 network eth0

access-list 1 permit 0.0.0.0

 


!this is what is in my primary gateway ripd.conf
router rip
 default-information originate
  network eth0
 
Jason

From: the sew [mailto:sewlist@xxxxxxxxx]
Sent: Tue 2/7/2006 1:58 PM
To: comp.techs
Cc: lartc@xxxxxxxxxxxxxxx
Subject: Re: failover routing

sounds good, do your run ripv2 with zebra or quagga?, your idea sounds exactly what I have in mind. Mind explaining a bit more technical and sharing some usefull bits in your config?

Thanks

Sew




On 2/7/06, comp.techs <comp.techs@xxxxxxxxxxxxx> wrote:
Hi, our network has a hand full of 2k servers that use silent rip. We use 2 Linux gateways with separate isp's.
Each gateway does a ' default-originate'  to advertise its default route in ripv2 (with on having a different metric).
The main gateway has a ping script written in shell that will ping the gateway, determine if its up or down; With either result it checks its history of the last 3 intervals, and will only stop rip if or start rip if there is/was 3 concurrent ups or downs.
I have been running this for 2 years with no problems.
 
I hope this helps
 

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc



_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux