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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
.\" $OpenBSD: dvmrpd.conf.5,v 1.8 2012/04/24 14:56:09 jmc Exp $
.\"
.\" Copyright (c) 2005, 2006 Esben Norby <norby@openbsd.org>
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
.\" Copyright (c) 2002 Daniel Hartmeier <dhartmei@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: April 24 2012 $
.Dt DVMRPD.CONF 5
.Os
.Sh NAME
.Nm dvmrpd.conf
.Nd Distance Vector Multicast Routing Protocol daemon configuration file
.Sh DESCRIPTION
The
.Xr dvmrpd 8
daemon implements the Distance Vector Multicast Routing Protocol as described
in draft-ietf-idmr-dvmrp-v3-11 DVMRP Version 3.
.Sh SECTIONS
The
.Nm
config file is divided into three main sections.
.Bl -tag -width xxxx
.It Sy Macros
User-defined variables may be defined and used later, simplifying the
configuration file.
.It Sy Global Configuration
Global settings for
.Xr dvmrpd 8 .
A number of global settings can be overruled in specific areas or interfaces.
.It Sy Groups
Groups are used to group similar interfaces, simplifying configuration.
.El
.Sh MACROS
Macros can be defined that will later be expanded in context.
Macro names must start with a letter, digit, or underscore,
and may contain any of those characters.
Macro names may not be reserved words (for example,
.Ic area ,
.Ic interface ,
or
.Ic hello-interval ) .
Macros are not expanded inside quotes.
.Pp
For example:
.Bd -literal -offset indent
hi="60"
group {
interface em0 {
query-interval $hi
}
}
.Ed
.Pp
The same can be accomplished by specifying the query-interval
globally or within the group declaration.
.Sh GLOBAL CONFIGURATION
All interface related settings can be configured globally, per group and per
interface.
The only settings that can be set globally and not overruled are listed below.
.Bl -tag -width Ds
.It Xo
.Ic mfc-update
.Pq Ic yes Ns | Ns Ic no
.Xc
If set to
.Ic yes ,
the kernel Multicast Forwarding Cache is updated with information from the
daemon.
The default is
.Ic yes .
.El
.Sh GROUPS
Groups can be used to easily configure similar interfaces.
All interface-specific parameters can
be configured per group, overruling the global settings.
.Bl -tag -width Ds
.It Ic group
Specify a group section, grouping one or more interfaces.
.Bd -literal -offset indent
group {
robustness 4
interface em0
interface em1
}
.Ed
.El
.Sh INTERFACES
Each interface can have several parameters configured individually, otherwise
they are inherited.
.Bd -literal -offset indent
interface em0 {
}
.Ed
.Pp
Interface-specific parameters are listed below.
.Bl -tag -width Ds
.It Ic igmp-version Ar number
Do not use a newer version than specified.
Valid range 1\(en2.
The default version used is 2.
.It Ic last-member-query-count Ar count
The default value is equal to the default robustness variable;
valid range is 1\(en255.
.It Ic last-member-query-interval Ar seconds
The default value is 10; valid range is 1\(en65535.
.It Ic metric Ar cost
Set the interface metric a.k.a. cost.
The default value is 1; valid range is
1\(en31.
.It Ic passive
Prevent transmission and reception of IGMP and DVMRP packets on this interface.
.It Ic query-interval Ar seconds
Set the query interval.
The default value is 125 seconds; valid range is 1\(en65535 seconds.
.It Ic query-response-interval Ar seconds
Set the query-response-interval; note that this must be less
than the query-interval.
The default value is 100 seconds; valid range is 1\(en65535 seconds.
.It Ic robustness Ar factor
Set the robustness factor; note that this value might
have an impact on other variables.
The default value is 2; valid range is 1\(en4.
.It Ic startup-query-count Ar count
Set the startup-query-interval, used during startup to speed up the process of
building the IGMP table for an interface.
The default value is equal to the default robustness variable; valid range is
the same as the robustness variable.
.It Ic startup-query-interval Ar seconds
Used during startup, see the startup-query-interval.
The default value is query-interval / 4; valid range is the same as the
query-interval.
.El
.Sh FILES
.Bl -tag -width "/etc/dvmrpd.conf" -compact
.It Pa /etc/dvmrpd.conf
.Xr dvmrpd 8
configuration file
.El
.Sh SEE ALSO
.Xr dvmrpctl 8 ,
.Xr dvmrpd 8 ,
.Xr rc.conf.local 8
.Rs
.%R "draft-ietf-idmr-dvmrp-v3-11"
.%T "DVMRP Version 3"
.%D August 2000
.Re
.Sh HISTORY
The
.Nm
file format first appeared in
.Ox 4.0 .
|