Jelajahi Sumber

Technik/Routing/IGP-Kopplung/bird.instX.conf (Prototypimplentierung zum Text Fußgängerzonenproblem)

Ignore-this: b765e86fc610fe1802dcad74ceebe482
altlast 9 tahun lalu
induk
melakukan
228e687695
1 mengubah file dengan 40 tambahan dan 0 penghapusan
  1. 40 0
      Technik/Routing/IGP-Kopplung/bird.instX.conf

+ 40 - 0
Technik/Routing/IGP-Kopplung/bird.instX.conf

@@ -0,0 +1,40 @@
+##### OSPF X #####
+
+table ospfXtable;
+
+protocol pipe master2ospfX {
+	description "master to OSPF instance X";
+	peer table ospfXtable;
+	import filter { if fn_import_master_ospf("ospfX") then accept; else reject; };
+	# XXX geht nicht als Funktion!?!:-(
+	# export filter { if fn_export_master_ospf() then accept; else reject; };
+	export filter { if proto ~ "ospf*" then reject;
+			else if fn_am_local_to_ospf_table() then accept;
+			else reject; };
+}
+
+protocol bgp master2bgpX {
+	router id 127.0.X.0;
+	local 127.0.X.0 as 31371;
+	neighbor 127.0.X.1 as 31371;
+	next hop keep;
+	export filter {	if fn_export_master_bgpospf("ospfX") then accept; else reject; };
+}
+
+protocol bgp bgpXospfX {
+	router id 127.0.X.1;
+	local 127.0.X.1 as 31371;
+	neighbor 127.0.X.0 as 31371;
+	next hop keep;
+	table ospfXtable;
+	import filter { if fn_import_bgpospf() then accept; else reject; };
+	export none;
+}
+
+protocol ospf ospfX {
+	#debug all;
+	table ospfXtable;
+	import filter { if fn_import_ospf_master(X) then accept; else reject; };
+	export filter { if fn_export_ospf(X) then accept; else reject; };
+	include "/usr/local/etc/bird.instX.local.conf";
+}