summaryrefslogtreecommitdiff
path: root/etc/bgpd.conf
blob: f5b85377020b2a3f60e4266fa77b4260df4dedf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $OpenBSD: bgpd.conf,v 1.2 2003/12/28 12:52:28 henning Exp $
# sample bgpd configuration file
# see bgpd.conf(5)

#macros
peer1="10.0.0.2"
peer2="10.0.0.3"

# global configuration
AS 65001
router-id 10.0.0.1
holdtime 180
holdtime min 3
listen on 127.0.0.1
# fib-update no
# log updates

# neighbors and peers
group "peering AS65002" {
	remote-as 65002
	neighbor $peer1 {
		descr	"AS 65001 peer 1"
	}
	neighbor $peer2 {
		descr	"AS 65001 peer 2"
	}
}

neighbor 10.0.1.0 {
	remote-as	65003
	descr		upstream
	multihop	2
	local-address	10.0.0.8
	passive
}