Compare commits
2 Commits
af0de1612a
...
d536cb2f79
Author | SHA1 | Date |
---|---|---|
graffen | d536cb2f79 | |
graffen | 7f9ce9ce33 |
|
@ -1,2 +1,3 @@
|
||||||
peers[46]/*
|
peers[46]/*
|
||||||
local[46].conf
|
local[46].conf
|
||||||
|
registry/
|
||||||
|
|
19
bgp4.conf
19
bgp4.conf
|
@ -19,8 +19,13 @@ template bgp ibgppeer {
|
||||||
path metric on;
|
path metric on;
|
||||||
import keep filtered;
|
import keep filtered;
|
||||||
import all;
|
import all;
|
||||||
export all;
|
export filter {
|
||||||
source address OWNIP_IBGP;
|
if is_self_net() then {
|
||||||
|
reject;
|
||||||
|
}
|
||||||
|
accept;
|
||||||
|
};
|
||||||
|
source address OWNIP;
|
||||||
next hop self;
|
next hop self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,9 +35,15 @@ template pipe iBGP_Pipe {
|
||||||
export all;
|
export all;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol pipe {
|
template pipe dn42peer_pipe {
|
||||||
|
peer table master;
|
||||||
|
import all;
|
||||||
|
export all;
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol pipe P_BGP_to_Master {
|
||||||
table master;
|
table master;
|
||||||
peer table T_BGP;
|
peer table T_BGP;
|
||||||
import all;
|
import all;
|
||||||
export all;
|
export all;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ template pipe iBGP_Pipe {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protocol pipe {
|
protocol pipe P_BGP_to_Master {
|
||||||
table master;
|
table master;
|
||||||
peer table T_BGP;
|
peer table T_BGP;
|
||||||
import all;
|
import all;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
protocol ospf {
|
protocol ospf O_OSPF {
|
||||||
table T_OSPF;
|
table T_OSPF;
|
||||||
import all;
|
import all;
|
||||||
export all;
|
export all;
|
||||||
|
@ -6,6 +6,9 @@ protocol ospf {
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "wg-ospf-*" {
|
interface "wg-ospf-*" {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
interface "wg-roam-*" {
|
||||||
|
};
|
||||||
|
|
||||||
interface "lo" {
|
interface "lo" {
|
||||||
stub;
|
stub;
|
||||||
|
@ -14,12 +17,12 @@ protocol ospf {
|
||||||
}
|
}
|
||||||
|
|
||||||
filter filter_OSPF {
|
filter filter_OSPF {
|
||||||
# ospf_metric1 = 1000;
|
ospf_metric1 = 1000;
|
||||||
if is_self_net() then accept;
|
if is_self_net() then accept;
|
||||||
else reject;
|
else reject;
|
||||||
};
|
};
|
||||||
|
|
||||||
protocol pipe {
|
protocol pipe P_OSPF_to_Master {
|
||||||
peer table T_OSPF;
|
peer table T_OSPF;
|
||||||
table master;
|
table master;
|
||||||
import filter filter_OSPF;
|
import filter filter_OSPF;
|
||||||
|
|
|
@ -19,7 +19,7 @@ filter filter_OSPF {
|
||||||
else reject;
|
else reject;
|
||||||
};
|
};
|
||||||
|
|
||||||
protocol pipe {
|
protocol pipe P_OSPF_to_Master {
|
||||||
peer table T_OSPF;
|
peer table T_OSPF;
|
||||||
table master;
|
table master;
|
||||||
import filter filter_OSPF;
|
import filter filter_OSPF;
|
||||||
|
|
Loading…
Reference in New Issue