diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ospfd.conf | 58 |
1 files changed, 31 insertions, 27 deletions
diff --git a/etc/ospfd.conf b/etc/ospfd.conf index 764a42aaaf2..fc5ad7b7330 100644 --- a/etc/ospfd.conf +++ b/etc/ospfd.conf @@ -1,34 +1,38 @@ -# $OpenBSD: ospfd.conf,v 1.1 2005/02/05 20:40:22 henning Exp $ +# $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $ -router-id 1.11.12.13 +# macros +password="secret" -hello-interval 10 -router-dead-time 40 -#spf-delay 5 -#spf-holdtime 10 -#auto-cost 1000 +# global configuration +router-id 10.0.0.1 +# fib-update no +# spf-delay 1 +# spf-holdtime 5 -router-priority 1 -metric 10 -#auth-type plain -#auth-key secret +# auth-key $password +# auth-type simple +# hello-interval 10 +# metric 10 +# retransmit-interval 5 +# router-dead-time 40 +# router-priority 1 +# transmit-delay 1 -area 0.0.0.0 { +# areas +area 0.0.0.5 { interface em0 { - hello-interval $test - router-dead-time 40 - router-priority 0 - metric 11 - #auth-type none - #auth-key secret - #transmit-delay 5 - #retransmit-interval 20 + auth-type simple + auth-key $password + } + + interface em1 { + auth-type simple + auth-key unknown + } +} + +area 0.0.0.7 { + interface em2 { + router-priority 5 } - -# interface em1 { -# hello-interval 10 -# router-dead-time 40 -# router-priority 3 -# metric 12 -# } } |