summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-12-08 09:19:20 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-12-08 09:19:20 +0000
commite3f2a29a548df8ef17591f65b242995125403042 (patch)
tree07260986d064bc4097f05883f8f5cd61e29aadcb /usr.sbin
parent9924d2811cfd65d87bbd6ed98b2cdcde59f96d5a (diff)
Document the interface:ip syntax and add some statements to the examples
to make them useful. OK norby@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/ospfd.conf.513
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfd.conf.5 b/usr.sbin/ospfd/ospfd.conf.5
index a880b7b9094..01402e5bf04 100644
--- a/usr.sbin/ospfd/ospfd.conf.5
+++ b/usr.sbin/ospfd/ospfd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ospfd.conf.5,v 1.19 2006/08/31 18:44:48 jmc Exp $
+.\" $OpenBSD: ospfd.conf.5,v 1.20 2006/12/08 09:19:19 claudio Exp $
.\"
.\" Copyright (c) 2005 Esben Norby <norby@openbsd.org>
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -173,9 +173,9 @@ be configured per area, overruling the global settings.
Specify an area section, grouping one or more interfaces.
.Bd -literal -offset indent
area 0.0.0.0 {
- interface em0 {
- }
+ interface em0
interface em1 {
+ metric 10
}
}
.Ed
@@ -183,9 +183,16 @@ area 0.0.0.0 {
.Sh INTERFACES
Each interface can have several parameters configured individually, otherwise
they are inherited.
+An interface is specified by its name.
+If multiple networks are configured an additional IP address can be supplied.
+By default the first IP address is used.
.Bd -literal -offset indent
interface em0 {
+ auth-type crypt
+ auth-md 1 "yotVoo_Heypp"
+ auth-md-keyid 1
}
+interface fxp0:192.168.1.3
.Ed
.Pp
Interface specific parameters are listed below.