Use Zebra to build a router on a Linux operating system

Source: Internet
Author: User
Use Zebra to build a router-Linux Enterprise Application-Linux server application information on the Linux operating system. The following is a detailed description. I was bored with visiting the IBM website two days ago. I saw a document about building a CISCO router under LINUX and tried it. Now I share it with you.

   What is Zebra?

Zebra is a TPC/IP routing software that supports BGP-4, BGP-4 +, OSPFv2, OSPFv3, r1_1, r1_2, and RIPng. Its release complies with the GNU General Public License protocol and can run on Linux and other Unix variant operating systems. Zebra is the routing software in the latest release version of the system. The latest version of Zebra and its documentation can be downloaded from the GNU Zebra website (see the link in references ).

The original Zebra package was completed by Kunihiro Ishiguro and Yoshinari Yoshikawa in 1996. Currently, this software package is mainly composed of IP Infusion ?? Is the CTO Mr. Ishiguro ?? It was maintained with the help of multiple network engineers and open-source volunteers.

Zebra is designed to manage protocols in modules. You can enable or disable the Protocol as needed. One of the most practical aspects of Zebra is that its configuration format is extremely similar to that of Cisco IOS. Although its configuration is somewhat different from that of IOS, it is quite easy for network engineers who are familiar with IOS to work in this environment.

Although the version of Zebra has not reached 1.0 ?? When the author completes this article, the version is 0.93b ?? However, this product is sufficient for small networks that require core routers. [Note that the version 0.93b is used in this article. The installation and configuration of the new version may be different. -Edit Note]

   Install Zebra

Our Zebra testing platform is an old but still very useful ThinkPad X20, which runs Red Hat Linux 9. ThinkPad has a built-in Ethernet interface, and we add a PCMCIA ethernet card to it to enable the router function. Before installing Zebra, we confirm that both NICs have been recognized by Linux and work properly.

The RPM installation package for the Zebra-0.93b has been attached to Red Hat 9. This version is the same as the version provided on the Zebra website, so we decided to use it directly instead of downloading it from the Internet and compiling it by ourselves. Zebra RPM will install binary files, scripts and configuration files, as well as necessary manuals, examples, and documentation files.

   Basic Zebra Configuration

The zebra daemon is a real routing manager that controls other modules and interacts with each other. We need to configure the Zebra daemon first. The corresponding configuration file is/etc/zebra. conf.

The Zebra RPM package contains a complete configuration file sample. However, in the simplest case, we only need to create a/etc/zebra. conf file containing the following lines:

Hostname speedmetal
Password zebra
Enable password zebra

Hostname specifies the vro name when you enter the interactive configuration mode. It can be any identifier and does not have to be the same as the host name of the machine.

Password specifies the password required to log on to the interactive Zebra terminal. Enable password specifies the password required to access Zebra with a higher level of identity when you want to change the configuration. After the/etc/zebra. conf file is created, run the following command to start the zebra daemon:

# Service zebra start

Now, telnet to port 2601 of our machine to access the interactive session of Zebra.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.