From 0b2795ea9003528d30857dabc7b9223229f087d3 Mon Sep 17 00:00:00 2001 From: graffen Date: Fri, 14 Sep 2018 20:32:25 +0000 Subject: [PATCH] OSPF BGP link --- ospf.conf | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ospf.conf b/ospf.conf index 6555ef2..6847c9f 100644 --- a/ospf.conf +++ b/ospf.conf @@ -6,6 +6,9 @@ protocol ospf { area 0 { interface "wg-ospf-*" { }; + + interface "wg-uk-lon1" { + }; interface "lo" { stub; @@ -13,6 +16,14 @@ protocol ospf { }; } +protocol direct { + table T_OSPF; + import where is_self_net(); + export none; + + interface "lo"; +} + filter filter_OSPF { ospf_metric1 = 1000; if source = RTS_STATIC then accept; @@ -21,6 +32,7 @@ filter filter_OSPF { protocol pipe { peer table T_OSPF; - import all; - export filter filter_OSPF; + import filter filter_OSPF; + export none; +# export filter filter_OSPF; }