LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-25-2007, 09:17 PM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Linux Box Router doing Dynamic routing like BGP, and loadbalancing


Hi guys,

I am exploring backup measures (and documenting it, urgh) in the event the router (CISCO 3845) supporting my web servers fail and I need to put in place a substitude, should it fail outside its "warranty period".

My router does BGP routing via 2 uplinks, 1 is a full transit line (10Mb) the other is a local peering line (1Gb).

I'm thinking of finding ways to build a linux box to do routing in place of the CISCO box in times of adversity, but so far my searches turn out Zebra, which according to their page was last updated 2003. Then there's Simple Linux Router, which is already defunct.

So what you guys recommend and how should i go about it? ALso, is it even possible to do a load-balancing scenario? using heartbeat?

thanks!
 
Old 01-25-2007, 10:43 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
OpenBGPD

It's a production-quality BGP4 (EGP/IGP) & OSPF router, very easy to configure, and very secure. Some of the largest carriers in the world are currently using it on the live Internet for testing 32bit ASNs. The other alternative is Quagga, which is based on Zebra, but I have heard that there are quite a few problems with Quagga and it's not really production-quality right now (just what I heard--I don't do BGP myself so I don't have first-hand knowledge).
 
Old 01-26-2007, 04:07 AM   #3
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
hi chort,

thanks! does it mean i need to install openbsd for this to work? will it work on redhat or fedora?
 
Old 01-26-2007, 09:23 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Quote:
Originally Posted by Swakoo
hi chort,

thanks! does it mean i need to install openbsd for this to work?
Currently, yes. The same team did make a portable version of OpenNTPD, but I don't expect there will be a portable version of OpenBGPD any time soon because it uses some of the architecture from PF and CARP which currently only work on *BSD OSs.

Quote:
will it work on redhat or fedora?
Nope.
 
Old 01-26-2007, 10:30 AM   #5
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
There is al so ipcop and the more ad advanced iptables method. I recommend the eai;ire of the two.
 
Old 01-26-2007, 10:58 PM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Quote:
Originally Posted by badboy88
There is al so ipcop and the more ad advanced iptables method. I recommend the eai;ire of the two.
IPCop does not do BGP, and iptables is only a netfilter, it doesn't do routing protocols.
 
Old 01-27-2007, 12:04 AM   #7
WCowger
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
current using linux for hi load, works great.

Quagga works great for OSPF BGP RIP and regular routing.. Works up to 700 packets per second on Dual Xeon 3.6GHz Dell Poweredge 2650 supplies High speed wireless connections, bandwidth limiting, Qos and mac filtering. For just a basic router it will handle much more. There are even production routers that use Quaga or Gated, that are Linux based and work just as good as Cisco and half the price ImageStream routers. If you are going to build a Linux version use Quagga along with Deamontools to ensure that the processes are not killed and restarted automatically. I have seen it run on Suse, Slackware, Gentoo, and Debian distros. They are quite reliable but all in all, computers don't make reliable routers due to the fact that there is too much hardware that can go wrong vs, ImageStream or Cisco that are maid for routing and has less hardware components to fail.. Once Quagga is installed you can use vtysh and configure it just as it was a Cisco router.. Quagga uses Zebra, ospfd, bgpd, and Ripd, We are an ISP with over 4000 dialup customers and about 500 wireless customers, and most of our equipment is Linux with two gateways to the Internet load balancing BGP with two different providers. I recommend Slackware because it is tried and true and one of the most stable systems, Gentoo also works good. The main components is a stable kernel and lots of memory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help please :) Problem routing through Linux box jrd426 Linux - Newbie 22 03-11-2006 06:26 PM
routing two isp connection to lan using linux box tisson Linux - Networking 2 09-08-2004 08:39 PM
linux routing VS cisco router shoot2kill Linux - Networking 5 07-01-2002 10:31 PM
dynamic routing kevin_5050 Linux - General 0 04-17-2001 07:36 AM
dynamic routing kevin_5050 Linux - Networking 0 04-16-2001 07:38 AM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration