From fc5bf06ee85e1783eed5a570c4d2c5eb47adc936 Mon Sep 17 00:00:00 2001 From: John Grange Date: Mon, 28 May 2012 19:38:43 -0700 Subject: Add option to redistribute kernel routing table Quagga "redistribute static" behaves differently than ospfd redistribute static = only quagga static routes (in zebra) redistribute kernel = outside routes (from pfsense) Signed-off-by: John Grange --- config/quagga_ospfd/quagga_ospfd.inc | 4 ++++ config/quagga_ospfd/quagga_ospfd.xml | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'config/quagga_ospfd') diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc index 4b7e007e..ab251825 100644 --- a/config/quagga_ospfd/quagga_ospfd.inc +++ b/config/quagga_ospfd/quagga_ospfd.inc @@ -149,6 +149,10 @@ function quagga_ospfd_install_conf() { if ($ospfd_conf['redistributestatic']) $conffile .= " redistribute static\n"; + + if ($ospfd_conf['redistributekernel']) + $conffile .= " redistribute kernel\n"; + if ($ospfd_conf['redistributedefaultroute']) $conffile .= " default-information originate\n"; diff --git a/config/quagga_ospfd/quagga_ospfd.xml b/config/quagga_ospfd/quagga_ospfd.xml index 49c9d86c..7989b855 100644 --- a/config/quagga_ospfd/quagga_ospfd.xml +++ b/config/quagga_ospfd/quagga_ospfd.xml @@ -122,9 +122,16 @@ Redistribute static redistributestatic - Enables the redistribution of static routes + Enables the redistribution of static routes (only works if you are using quagga static routes) checkbox + + Redistribute Kernel + redistributekernel + Enables the redistribution of kernel routing table (this is required if using pfsense static routes) + checkbox + + SPF Hold Time spfholdtime -- cgit v1.2.3