Ver Fonte

Bird.conf defines

efbeff há 4 anos atrás
pai
commit
00c8e40f50
1 ficheiros alterados com 14 adições e 5 exclusões
  1. 14 5
      Community/Bildung/FF@home/Debian10.page

+ 14 - 5
Community/Bildung/FF@home/Debian10.page

@@ -36,7 +36,7 @@ An jedem Standort gibt es mehrere Tincverbindungen:
     # The loopback network interface
     auto lo
     iface lo inet loopback
-        	up ip addr add 193.43.220.130/32
+        	up ip addr add 193.43.220.130/32 dev lo
     	
     # The primary network interface
     allow-hotplug enp1s0
@@ -264,9 +264,18 @@ falls nicht durch die Installation schon eingerichtet:
 
 /etc/bird/bird.conf
 
-    router id 193.43.220.130; /* public IP APU */
+    # bird.conf Alle Anpassungen als defines
+    # damit keine übersehen wird
 
-    log syslog { debug, info, trace, remote }; /* optional */
+    define publicIP = 193.43.220.130;
+    define publicIP_32 = 193.43.220.130/32;
+    define isprouter = 192.168.178.254;
+
+    # ab hier passt alles für unsere lan/wan Netze
+
+    router id publicIP;
+    
+    # log syslog { debug, info, trace, remote }; /* optional */
 
     define AS35675_all = [
             193.43.220.0/23
@@ -315,7 +324,7 @@ falls nicht durch die Installation schon eingerichtet:
             ipv4 {
                     table fib1table;
             };
-            route 0.0.0.0/0 via 192.168.178.254; /* zur F!Box */
+            route 0.0.0.0/0 via isprouter; /* zur F!Box */
     }
 
     protocol ospf ospfwan {
@@ -324,7 +333,7 @@ falls nicht durch die Installation schon eingerichtet:
                     export where net ~ AS35675_any;
             };
             area 0.0.0.0 {
-                    stubnet 193.43.220.130/32 { cost 1; };
+                    stubnet publicIP_32 { cost 1; };
                     interface "wan" {    
                             type broadcast;
                             cost 100;