From 4c2a56618e1badc38b7ce6ec8271e012ea319f02 Mon Sep 17 00:00:00 2001 From: norby <> Date: Sun, 6 Feb 2005 20:07:09 +0000 Subject: [PATCH] Tweak sample file. ok henning@ --- src/etc/ospfd.conf | 58 +++++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/src/etc/ospfd.conf b/src/etc/ospfd.conf index 764a42aa..fc5ad7b7 100644 --- a/src/etc/ospfd.conf +++ b/src/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 -# } }