]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
bgp working
authorseantywork <seantywork@gmail.com>
Tue, 10 Jun 2025 06:07:13 +0000 (15:07 +0900)
committerseantywork <seantywork@gmail.com>
Tue, 10 Jun 2025 06:07:13 +0000 (15:07 +0900)
README.md
bgp/2506-03.xyz.md [new file with mode: 0644]

index e754ff367c907a90dc750d36d34fd4add17ffafb..0b989e7ed79cd41961996291c17a1eba71107e57 100644 (file)
--- 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 (file)
index 0000000..e69de29