From: seantywork Date: Tue, 10 Jun 2025 06:07:13 +0000 (+0900) Subject: bgp working X-Git-Url: https://git.feebdaed.xyz/?a=commitdiff_plain;h=503c33495bbf20bac81a3d251207b0bfad08ff40;p=linuxyz.git bgp working --- diff --git a/README.md b/README.md index e754ff3..0b989e7 100644 --- a/README.md +++ b/README.md @@ -3570,6 +3570,76 @@ zone "50.168.192.in-addr.arpa" { ``` +# BGP BIRD + +```shell + +sudo apt update +sudo apt install bird + +# on machine1 +# /etc/bird/bird.conf + +router id 10.168.0.29; + +protocol kernel { + metric 0; + import none; + learn; + export all; +} + +protocol device { +} + +protocol direct { +} + +protocol bgp peer2 { + local as 64512; + neighbor 10.168.0.26 as 64513; + import all; + export all; +} + +# on machine2 +# /etc/bird/bird.conf + +router id 10.168.0.26; + + +protocol kernel { + metric 0; + import none; + learn; + export all; + +} + +protocol device { +} + +protocol direct { +} + +protocol bgp peer1 { + local as 64513; + neighbor 10.168.0.29 as 64512; + import all; + export all; +} + +# check + +birdc show protocols + +birdc show protocols all peer2 + +birdc show route + + + +``` # GRPC diff --git a/bgp/2506-03.xyz.md b/bgp/2506-03.xyz.md new file mode 100644 index 0000000..e69de29