forked from jech/shncpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shncpd.man
95 lines (93 loc) · 2.19 KB
/
shncpd.man
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
.TH SHNCPD 8
.SH NAME
shncpd \- the simple, stupid and slow HNCP daemon
.SH SYNOPSIS
.B shncpd
.IR option ...
[
.B \-\-
]
.IR interface ...
.SH DESCRIPTION
.B Shncpd
is a standalone implementation of a useful subset of the Homenet protocol
stack. It implements:
.IP \[bu] 2
DNCP flooding;
.IP \[bu]
prefix and address assignment;
.IP \[bu]
prefix delegation (manually configured);
.IP \[bu]
a router advertisement server;
.IP \[bu]
a DHCPv4 server.
.RE
.B Shncpd
does not do routing itself, but relies on
.BR babeld .
Before running
.BR shncpd ,
you should start an instance of
.B babeld
with redistribution of protocol 43 enabled.
.SH OPTIONS
.TP
.BI \-m " multicast-address"
Specify the link-local multicast address to use. The default is
.BR ff02::11 .
.TP
.BI \-p " port"
Specify the UDP port number to use. The default is
.BR 8231 .
.TP
.BI \-d " level"
Specify the amount of debugging information dumped to standard error.
Useful values are
.B 0
(the default) and
.BR 2 .
.TP
.BI \-E " prefix"
Announce an externally delegated prefix over both HNCP and the routing
protocol. This option may be repeated multiple times.
.TP
.BI \-N " prefix"
Announce a name server over HNCP. This option may be repeated multiple
times.
.TP
.BI
.TP
.B \-R
Disable the router advertisement (RA) server. By default, router
advertisements are sent if we are a router.
.TP
.B \-D
Disable the DHCPv4 server. By default, the DHCPv4 server is enabled if we
win the election, even if we are not acting as a router.
.TP
.BR \-s " script"
Run the given script when we learn new DHCP data. The script is called
multiple times with the argument "up", then a single time with the
argument "down".
.TP
.BR \-L " interface"
Add a leaf interface.
.TP
.BR \-A " interface"
Add an ad-hoc interface. This assigns a /64 prefix (/24 for IPv4), and
runs a RA and DHCPv4 server. This is not likely to be useful, but it's in
the spec.
.TP
.BR \-M " interface"
Add an ad-hoc interface. This doesn't assign any prefixes, only addresses,
and doesn't run a DHCPv4 server. THis is not in the spec, but is likely
to actually be useful.
.SH SIGNALS
.TP
.B SIGUSR1
Dump the current state to standard output.
.SH SEE ALSO
.BR babeld (8).
.SH AUTHOR
Juliusz Chroboczek.