1RADVD(8) RADVD(8)
2
3
4
6 radvd - router advertisement daemon for IPv6
7
9 radvd [ -hsvc ] [ -d debuglevel ] [ -C configfile ] [ -p pidfile ] [ -m
10 logmethod ] [ -l logfile ] [ -n nodaemon ] [ -f facility ] [ -t chroot‐
11 dir ] [ -u username ]
12
13
15 radvd is the router advertisement daemon for IPv6. It listens to router
16 solicitations and sends router advertisements as described in "Neighbor
17 Discovery for IP Version 6 (IPv6)" (RFC 4861). With these advertise‐
18 ments hosts can automatically configure their addresses and some other
19 parameters. It also defines "Neighbor Discovery Optimization for IPv6
20 over Low-Power Wireless Personal Area Networks (6LoWPANs)" (RFC6775).
21 They also can choose a default router based on these advertisements.
22
23 The configuration file must not be writable by others, and if non-root
24 operation is requested, not even by self/own group.
25
26
28 For every one character option there is also a long option, which is
29 listed right next to the "short" option name:
30
31
32 -v, --version
33 Displays the version of radvd and then aborts.
34
35 -h, --help
36 Displays a short usage description and then aborts.
37
38 -c, --configtest
39 Test configuration and do startup tests and then exit.
40
41 -n, --nodaemon
42 Prevent the daemonizing.
43
44 -d debuglevel, --debug debuglevel
45 With this option you turn on debugging information. The debug‐
46 ging level is an integer in the range from 1 to 5, from quiet
47 to very verbose. A debugging level of 0 completely turns off de‐
48 bugging. If a debugging level greater than 0 is used, radvd
49 doesn't background itself on start. The default debugging level
50 is 0.
51
52 -C configfile, --config configfile
53 Specifies an alternate config file. Normally the compiled in de‐
54 fault /etc/radvd.conf is used.
55
56 -p pidfile, --pidfile pidfile
57 Specifies an alternate pidfile. Normally the compiled in default
58 /run/radvd/radvd.pid is used.
59
60 -m method, --logmethod method
61 Specifies the logging method to use. Possibly values are:
62
63 none Completely disables any logging.
64
65 logfile
66 Logs to the logfile which is specified by the -l option.
67 If no logfile is specified on the command line, then a
68 compiled in default is used (see next option).
69
70 stderr Logs to standard error.
71
72 stderr_syslog
73 Logs only the high messages (of at least LOG_ERR prior‐
74 ity) to standard error, and everything to syslog (default
75 method).
76
77 syslog Logs to syslog.
78
79 -l logfile, --logfile logfile
80 Specifies the logfile to use when using the logging method log‐
81 file. The default logfile is /var/log/radvd.log.
82
83 -f facility, --facility facility
84 Specifies the facility (as an integer) when using syslog log‐
85 ging. Default is LOG_DAEMON.
86
87 -t chrootdir, --chrootdir chrootdir
88 If specified, switches to chrootdir before doing anything else.
89 This directory and its subdirectories must have been populated
90 first. For security reasons, -u must always be used when using
91 chrootdir.
92
93 Note that on Linux radvd requires access to the /proc filesys‐
94 tem, so it is more challenging to set up the chroot environment.
95
96 -u username, --username username
97 If specified, drops root privileges and changes user ID to user‐
98 name and group ID to the primary group of username. This is
99 recommended for security reasons. You might also need to use -p
100 to point to a file in a username -writable directory (e.g.
101 /var/run/radvd/radvd.pid).
102
104 /usr/sbin/radvd
105 /etc/radvd.conf
106 /run/radvd/radvd.pid
107 /var/log/radvd.log
108
110 There certainly are some bugs. If you find them or have other sugges‐
111 tions please contact Reuben Hawkins <reubenhwk@gmail.com>.
112
113
115 radvd.conf(5), radvdump(8)
116
118 Pedro Roque <roque@di.fc.ul.pt> - wrote first version for Linux
119 Lars Fenneberg <lf@elemental.net> - previous maintainer
120 Nathan Lutchansky <lutchann@litech.org> - previous maintainer
121 Pekka Savola <pekkas@netcore.fi> - previous maintainer
122 Craig Metz <cmetz@inner.net> - port to NRL's IPv6 code for BSD4.4
123 Marko Myllynen <myllynen@lut.fi> - RFC 2461 update, Mobile IPv6 support
124 Jim Paris <jim@jtan.com> - Privilege separation support
125 Reuben Hawkins <reubenhwk@gmail.com> - current maintainer
126 Pierre Ossman <pierre@ossman.eu> - RFC6106 (DNSSL) support
127 Varka Bhadram <varkabhadram@gmail.com> - 6LoWPAN-ND (RFC6775) support
128 Robin H. Johnson <robbat2@gentoo.org> - RA splitting per RFC 6980 & RFC4861#6.2.3
129
130
131
132radvd 2.19 14 Dec 2010 RADVD(8)