Linux install Quagga to do BGP experiments

Source: Internet
Author: User

as an effort in the IT line struggle people, inspirational to do the following points:

Moved the machine, played the system, proficient in the protocol, hit the code.

--I want to keep my efforts!

--------------------------------------------------------------------------------------------------------------- -------------------------- what is Quagga

Quagga software formerly known as Zebra is a GNU copyrighted software written by a Japanese development team. Quagga project started with 1996, the current version is 0.98.4 version can use the Quagga Linux machine to make a fully functional router.

Quagga Supported routing protocols

Quagga can support many TCP/IP protocols such as RIPV1, RIPv2, RIPng, OSPFv2, OSPFv3, BGP-4 and bgp-4+ at the same time. which

RIPv1, RIPV2, OSPFv2 are applicable to the autonomous domain system internal Network routing protocol for Ipv4.

BGP-4 is an external network routing protocol between the autonomous domain systems used for Ipv4.

RIPng, OSPFv3, bgp-4+ mainly extend the support to Ipv6.


First, Quagga installation:

Yum Install-y quagga

After installation is complete, the configuration file defaults to:/etc/quagga

[Email protected] ~]# ll/etc/quagga/

Total 56

-RW-------1 quagga quagga 263 Mar 13:39 bgpd.conf

-rw-r--r--1 root root 566 Sep bgpd.conf.sample

-rw-r--r--1 root root 2801 Sep bgpd.conf.sample2

-rw-r--r--1 root root 566 Mar 13:19 Bgpd.conf.sav

-rw-r--r--1 root root 1110 Sep ospf6d.conf.sample

-RW-------1 quagga quagga April 13:39 ospfd.conf

-rw-r--r--1 root root 182 Sep ospfd.conf.sample

-rw-r--r--1 root root 182 Mar 13:20 Ospfd.conf.sav

-rw-r--r--1 root root 406 Sep ripd.conf.sample

-rw-r--r--1 root root 390 Sep ripngd.conf.sample

-rw-r-----1 quagga quaggavt 0 Mar 13:14 vtysh.conf

-rw-r--r--1 quagga quaggavt Sep vtysh.conf.sample

-RW-------1 quagga quagga 269 Mar 13:39 zebra.conf

-rw-r--r--1 root root 369 Sep zebra.conf.sample

-rw-r-----1 quagga quagga 13:14 zebra.conf.sav

-RW-------1 quagga quagga 0 Mar 14:41 Zebra.log

Second, start quagga set boot

Service Zebra Start

Service BGPD Start

Chkconfig Zebra on

Chkconfig BGPD on


Third, set the BGP route:
Vtysh

Config T

Log File/etc/quagga/zebra.log # need to close SELinux






This article from "It is not a thing" blog, reprint please contact the author!

Linux install Quagga to do BGP experiments

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.