diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-08-25 15:05:39 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-11-02 00:14:09 +0900 |
commit | d2a34c964aa0a43afc488f1d4497e4cd51a8c15a (patch) | |
tree | 2c86b9b69e9db679ced84a5813bc6ebbae04805c /docs/sources | |
parent | 1dc56d5a724a394f5db5cb75e305e8da286c52dc (diff) |
zclient: Enable to connect to FRRouting
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'docs/sources')
-rw-r--r-- | docs/sources/configuration.md | 1 | ||||
-rw-r--r-- | docs/sources/zebra.md | 24 |
2 files changed, 18 insertions, 7 deletions
diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md index e334a772..0c795649 100644 --- a/docs/sources/configuration.md +++ b/docs/sources/configuration.md @@ -41,6 +41,7 @@ enabled = true url = "unix:/var/run/quagga/zserv.api" redistribute-route-type-list = ["connect"] + version = 2 # version used in Quagga on Ubuntu 16.04 [[neighbors]] [neighbors.config] diff --git a/docs/sources/zebra.md b/docs/sources/zebra.md index b5b431d1..6d3193a9 100644 --- a/docs/sources/zebra.md +++ b/docs/sources/zebra.md @@ -3,11 +3,12 @@ This page explains how to perform FIB manipulation; kernel routing table updates, interface lookups, and redistribution of routes between different routing protocols. GoBGP uses zebra included in -[Quagga](http://www.nongnu.org/quagga/). +[Quagga](http://www.nongnu.org/quagga/) or [FRRouting](https://frrouting.org/). ## Prerequisites -Assume you finished [Getting Started](https://github.com/osrg/gobgp/blob/master/docs/sources/getting-started.md) and installing [Quagga](http://www.nongnu.org/quagga/) on the same host with GoBGP. +Assume you finished [Getting Started](https://github.com/osrg/gobgp/blob/master/docs/sources/getting-started.md) +and installing Quagga or FRRouting on the same host with GoBGP. ## Contents - [Configuration](#section0) @@ -22,13 +23,22 @@ You need to enable the zebra feature in the Global configuration as follows. enabled = true url = "unix:/var/run/quagga/zserv.api" redistribute-route-type-list = ["connect"] + version = 2 ``` -You can skip Url. If it's skipped, GoBGP uses "unix:/var/run/quagga/zserv.api" as the Url. -This configuration specifies unix domain socket in its Url and you can change it to the one using TCP. -If you use TCP, Url can be like "tcp:192.168.24.1:2600". -Specify which route type you want to redistribute through bgp. -Here gobgp will redistribute connected routes which zebra has. +- `url` specifies the path to the unix domain socket or the TCP port for connecting to Zebra API. +If omitted, GoBGP will use `"unix:/var/run/quagga/zserv.api"` by the default. +Please note that with FRRouting, the path to the unix domain socket would be like +`"unix:/var/run/frr/zserv.api"`. +To specify the TCP port, `url` value would be like `"tcp:192.168.24.1:2600"`. + +- `redistribute-route-type-list` specifies which route types you want to receive from Zebra +daemon. For example, with `["connect"]`, GoBGP will receive the connected routes and redistribute +them. + +- `version` specifies Zebra API version. `2` is the version used by Quagga on Ubuntu 16.04 LTS. +To enable the Next-Hop Tracking features, please specify `3` or later. +For connecting to FRRouting, please specify `4`. ## <a name="section1">Check Routes from zebra |