summaryrefslogtreecommitdiff
path: root/etc/examples
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2017-09-22 09:28:48 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2017-09-22 09:28:48 +0000
commit39e42dd72176de37ae53cf8880acd44bd9071944 (patch)
tree4f9276ad68594bdb911619fb9852f38c0cefa438 /etc/examples
parentaa1788fd739798fd39c7ce31be2aa7df5189ae14 (diff)
fix the example neighbor configurations
noticed by Alex Holst OK henning@
Diffstat (limited to 'etc/examples')
-rw-r--r--etc/examples/bgpd.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/examples/bgpd.conf b/etc/examples/bgpd.conf
index 95bc30411cf..fa9d875d8d3 100644
--- a/etc/examples/bgpd.conf
+++ b/etc/examples/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.6 2017/08/12 17:39:51 job Exp $
+# $OpenBSD: bgpd.conf,v 1.7 2017/09/22 09:28:47 phessler Exp $
# sample bgpd configuration file
# see bgpd.conf(5)
@@ -39,6 +39,7 @@ group "peering AS65002" {
group "peering AS65042" {
descr "peering AS 65042"
+ remote-as 65042
local-address 10.0.0.8
ipsec ah ike
neighbor 10.2.0.1
@@ -66,6 +67,7 @@ neighbor 10.0.2.0 {
neighbor 10.0.0.0/24 {
descr "template for local peers"
+ enforce neighbor-as no
}
neighbor 10.2.1.1 {