Moved GoBGP docs to site

This commit is contained in:
Pavel Odintsov 2017-12-03 12:38:12 +00:00 committed by GitHub
parent e964e6eaa7
commit a7d99faeed
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,64 +1 @@
### GoBGP integration
We have complete GoBGP integration for unicast IPv4.
We have following configuration options for GoBGP:
```bash
gobgp = off
gobgp_next_hop = 0.0.0.0
gobgp_announce_host = on
gobgp_announce_whole_subnet = off
```
We haven't enabled GoBGP build by default because it needs really huge dependency list.
Please use following reference:
```bash
wget https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl
```
Open fastnetmon_install.pl file and replace ```my $enable_gobgp_backend = '';``` by ```my $enable_gobgp_backend = '1';```.
```bash
sudo perl fastnetmon_install.pl --use-git-master
```
Create example configuration for GoBGPD in gobgpd.conf file in current directory:
```bash
[global.config]
as = 65001
router-id = "213.133.111.200"
[[neighbors]]
[neighbors.config]
neighbor-address = "10.10.10.250"
peer-as = 65001
[neighbors.ebgp-multihop.config]
enabled = true
[[neighbors.afi-safis]]
afi-safi-name = "ipv4-unicast"
```
Run it:
```bash
/opt/gobgp_1_0_0/gobgpd -f gobgpd.conf
```
Check announced routes:
```bash
/opt/gobgp_1_0_0/gobgp global rib
Network Next Hop AS_PATH Age Attrs
*> 192.168.1.1/32 0.0.0.0 00:00:08 [{Origin: ?}]
```
Announce custom route:
```bash
gobgp global rib add 10.33.0.0/24 -a ipv4
```
Withdraw route (please be careful! FastNetMon do not expect this from your side):
```bash
gobgp global rib del 10.33.0.0/24 -a ipv4
```
We moved this page to our new [site](https://fastnetmon.com/docs/gobgp-integration/)