Become a fan of Slashdot on Facebook


Forgot your password?
The Internet Software Linux

Build A Network Router On Linux 17

Idean writes "Zebra is open source TCP/IP routing software that is similar to Cisco's Internetworking Operating System (IOS). Flexible and powerful, it can handle routing protocols such as Routing Information Protocol (RIP), Open Shortest Path First (OSPF), Border Gateway Protocol (BGP), and all of their various flavors. This article shows how our authors set up Zebra and used it to manage routes dynamically in conjunction with real Cisco hardware."
This discussion has been archived. No new comments can be posted.

Build A Network Router On Linux

Comments Filter:
  • I've built a perfectly good router on my linux box at home using iptables - it even routes FTP properly.

    I don't see why you need special equipment to do it for you; maybe some things are better left to the experts?

    • ... Simple, really. What you set up was just a router between two (probably) networks. It had static routes to the networks involved. OSPF, etc, are protocols that learn the complete network topology around them, in an automated manner. They're useful for complex network environments.
    • Well first routers are built to handle more complex situations. A lot end router is easially beat for most tasks by a linux box. A high end router often had more bandwidth than the linux box.

      However for speed custom hardware might be worth it, if you care enough to pay for it. Custom hardware designed from the ground up can do some things faster.

  • by dmayle ( 200765 ) on Wednesday October 15, 2003 @09:57AM (#7218925) Homepage Journal

    ...with real Cisco hardware.

    As opposed to the fake Linux stuff everyone's got? Linux is used in millions of shipped units of networking equipment, and there's no reason to expect less of it. Heck, if nothing else, add all of the Net-Link/D-Sys/Linkgear equipment together and you've got solid numbers. And they all support complex networking.

    Up until recently, the Cisco PIX series was nothing more then a modified PC running a customized version of BSD (and when they first bought the company that made them, it was barely even a modified PC, with floppy drive and all...).

    Software is the hardware of our times, and Linux is damn impressive software...

    • I thought the same way as the post author, and was quite suprised when I cracked open the PIX 515 that we picked up to see a Pentium 200 processor and normal PCI cards for network interfaces.

      Not to mention that the firewall software running the device is totally flaky crap unless updated with every patch, which then goes and breaks something else.
  • Perfect for Labs (Score:2, Informative)

    by skreuzer ( 613775 )
    What is great about this is that is allows you to create a routing lab that seems to very closely resembles a cisco device.

    I bought 3 2500 routers on eBay for 700 bucks, had I known about this software, I could have spent that money on something else.
  • by mnmn ( 145599 ) on Wednesday October 15, 2003 @10:09AM (#7219066) Homepage
    Ive two networks of Solaris and Linux connected together with cisco routers, all working with OSPF. I change the default route once in a while, hook up the second network behind yet another network and watch the route updates spread.

    Now the firewall that I use used to be Linux, but has been replaced by Solaris just because I'm studying for its certs. The box runs NAT and squid, letting through certain IPs without mapping them, ip accounting, ipsec VPN and zebra for updates, rp_pppoe software for the dsl connection, and of course the apache, postfix, samba and other such things.

    Now should I go about writing a slashdot article on this? I would have, but I know other guys who have other complex settings involving Linux/FreeBSD and dont think much of it.

    • Now should I go about writing a slashdot article on this?

      Maybe. I didn't know about Zebra before the linked article, and now I do. The furthest I've gone with any high-level networking so far is just simple dedicated linux NAT firewalls, so zebra sounds pretty cool.

      Slashdot has a certain range of geek-level associated with it. An article talking about how you can use this whole "ether-net" thing to connect your computers would be below the range, and a 200 page dissertation on quantum mechanics would
  • Quagga (Score:2, Insightful)

    by nsrbrake ( 233425 )
    As seen on OpenBSD's d=20031013113 502&mode=flat

    In which it was mentioned in a comment that Zebra is dead, and has been replaced by:

    • Quagga is a fork of the main Zebra code. This occured due to some problems with the company that produces the Zebra code (IPInfusion).

      They also produce ZebOS which is a "more mature" version of the Zebra codebase. Zebra is opensource while the ZebOS code is not.

      The main reason for the fork was that people felt that the opensource version was not being maintained and they were using peoples efforts to further the closed source project, while stifling the opensource version.

      -Just my $0.02 worth and based o
  • I have been searching for a device/linux software package that will "route" my internet traffic through either one of my 2 broadband (cable and DSL) connections intelligently.

    Does anyone know of any solutions?
    • I assume this thing is also doing NAT?

      Intellegently as in sends the traffic over whichever connection gets it there the fastest? The usual way of doing that would be to receive BGP announcements from both ISPs and build a full internet routing table. Once you have that the kernel will send the traffic via whichever route has the lowest metric. But it will be a cold day in hell when you find an ISP that will do BGP with you over an average consumer broadband connection.
  • Let's say you had a friend who had some numbers assigned a long time ago in the early nineties say. They were still in the ARIN registry, but they weren't being routed. It was a situation where he registered at the time and had an ISP for awhile, but then things slowed down for a long time and he didn't use them. Newer numbers require fees and would revert back to the pool of open numbers, but these were registered before that policy came into effect, so they fall under the old policy which is that the numb

When a fellow says, "It ain't the money but the principle of the thing," it's the money. -- Kim Hubbard