summaryrefslogtreecommitdiff
path: root/etc/examples/ospfd.conf
blob: 70bdfbb2461abfc3f9d9e85facd2c99f57c90cb0 (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
37
38
39
40
41
# $OpenBSD: ospfd.conf,v 1.1 2014/07/11 16:36:35 deraadt Exp $

# macros
password="secret"

# global configuration
# router-id 10.0.0.1
# fib-update no
# stub router no
# spf-delay 1
# spf-holdtime 5

# auth-key $password
# auth-type simple
# hello-interval 10
# metric 10
# retransmit-interval 5
# router-dead-time 40
# router-priority 1
# transmit-delay 1

# rtlabel "DMZ" external-tag 1

# areas
area 0.0.0.5 {
	interface em0 {
		auth-type simple
		auth-key $password
	}

	interface em1 {
		auth-type simple
		auth-key unknown
	}
}

area 0.0.0.7 {
	interface em2 {
		router-priority 5
	}
}