mirror of https://github.com/tLDP/LDP
Add infos about ISC DHCP and Dibbler
This commit is contained in:
parent
1f830c4aa8
commit
377433296d
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
||||||
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
|
#LyX 1.6.2 created this file. For more info see http://www.lyx.org/
|
||||||
\lyxformat 345
|
\lyxformat 345
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
|
@ -84,7 +84,7 @@ status open
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
|
||||||
<revision> <revnumber>0.63</revnumber> <date>2009-02-14</date> <authorinitials>PB
|
<revision> <revnumber>0.64</revnumber> <date>2009-05-28</date> <authorinitials>PB
|
||||||
</authorinitials></revision>
|
</authorinitials></revision>
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ status open
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
|
||||||
<revision> <revnumber>0.62</revnumber> <date>2008-11-09</date> <authorinitials>PB
|
<revision> <revnumber>0.63</revnumber> <date>2009-02-14</date> <authorinitials>PB
|
||||||
</authorinitials></revision>
|
</authorinitials></revision>
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
@ -9535,7 +9535,15 @@ target "http://klub.com.pl/dhcpv6/"
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
by Tomasz Mrugalski <thomson at klub dot com dot pl>
|
by Tomasz Mrugalski <thomson at klub dot com dot pl> (
|
||||||
|
\begin_inset CommandInset ref
|
||||||
|
LatexCommand ref
|
||||||
|
name "Hints for configuration"
|
||||||
|
reference "hints-daemons-dibbler"
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
)
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Itemize
|
\begin_layout Itemize
|
||||||
|
@ -9557,6 +9565,25 @@ reference "hints-daemons-dhcpv6"
|
||||||
)
|
)
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Itemize
|
||||||
|
\begin_inset CommandInset href
|
||||||
|
LatexCommand href
|
||||||
|
name "ISC DHCP"
|
||||||
|
target "http://www.isc.org/software/dhcp"
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
(
|
||||||
|
\begin_inset CommandInset ref
|
||||||
|
LatexCommand ref
|
||||||
|
name "Hints for configuration"
|
||||||
|
reference "hints-daemons-isc-dhcp"
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
)
|
||||||
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Chapter
|
\begin_layout Chapter
|
||||||
\begin_inset CommandInset label
|
\begin_inset CommandInset label
|
||||||
LatexCommand label
|
LatexCommand label
|
||||||
|
@ -13920,7 +13947,7 @@ You can specify more information than by using radvd.
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
After a proper configuration, the daemon reacts on received ICMPv6 multicast
|
After a proper configuration, the daemon reacts on received ICMPv6 multicast
|
||||||
packets sent by a client to address ff02::16
|
packets sent by a client to address ff02::1:2
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Subsection
|
\begin_layout Subsection
|
||||||
|
@ -14042,7 +14069,7 @@ Start client in foreground, e.g.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Code
|
\begin_layout Code
|
||||||
# # dhcp6c -f eth0
|
# dhcp6c -f eth0
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Subsection
|
\begin_layout Subsection
|
||||||
|
@ -14123,6 +14150,361 @@ Oct/03/2005 17:18:17 renew time 60, rebind time 9
|
||||||
Note that the netlink error messages have no impact.
|
Note that the netlink error messages have no impact.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
As general debugging for test whether the IPv6 DHCP server is reable on
|
||||||
|
the link use an IPv6 ping to the DHCP multicast address:
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
# ping6 -i eth0 ff02::1:2
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Section
|
||||||
|
\begin_inset CommandInset label
|
||||||
|
LatexCommand label
|
||||||
|
name "hints-daemons-isc-dhcp"
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
ISC Dynamic Host Configuration Server (dhcpd)
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
ISC DHCP supports IPv6 since version 4.x.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsection
|
||||||
|
Configuration of the ISC DHCP server for IPv6 (dhcpd)
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Note that currently, the ISC DHCP server can only serve IPv4 or IPv6, means
|
||||||
|
you have to start the daemon twice (for IPv6 with option
|
||||||
|
\begin_inset Quotes sld
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
-6
|
||||||
|
\begin_inset Quotes srd
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
) to support both protocols.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsubsection
|
||||||
|
Simple configuration
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Create a dedicated configuration file /etc/dhcp/dhcpd6.conf for the IPv6
|
||||||
|
part of the dhcpd.
|
||||||
|
Note, that the router requires to have a interface configured with an IPv6
|
||||||
|
address out of the defined subnet.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
default-lease-time 600;
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
max-lease-time 7200;
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
log-facility local7;
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
subnet6 2001:db8:0:1::/64 {
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
range6 2001:db8:0:1::129 2001:db8:0:1::254;
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
option dhcp6.name-servers fec0:0:0:1::1;
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
option dhcp6.domain-search "domain.example";
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
}
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsection
|
||||||
|
Usage
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsubsection
|
||||||
|
dhcpd
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Start server in foreground:
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
# /usr/sbin/dhcpd -6 -f -cf /etc/dhcp/dhcpd.conf eth1
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Internet Systems Consortium DHCP Server 4.1.0
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Copyright 2004-2008 Internet Systems Consortium.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
For info, please visit http://www.isc.org/sw/dhcp/
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not
|
||||||
|
specified in the config file
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Wrote 0 leases to leases file.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Bound to *:547
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Listening on Socket/5/eth1/2001:db8:0:1::/64
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
Sending on Socket/5/eth1/2001:db8:0:1::/64
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Section
|
||||||
|
\begin_inset CommandInset label
|
||||||
|
LatexCommand label
|
||||||
|
name "hints-daemons-dibbler"
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
DHCP Server Dibbler
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Dibbler is also a DHCP server
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsection
|
||||||
|
Configuration of the Dibbler DHCP server for IPv6
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsubsection
|
||||||
|
Simple configuration
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Create a dedicated configuration file /etc/dibbler/server.conf .
|
||||||
|
Note, that the router requires to have a interface configured with an IPv6
|
||||||
|
address out of the defined subnet.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
log-level 8
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
log-mode short
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
preference 0
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
iface "eth1" {
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
// also ranges can be defines, instead of exact values t1 1800-2000 t2
|
||||||
|
2700-3000
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
prefered-lifetime 3600
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
valid-lifetime 7200
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
class {
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
pool 2001:6f8:12d8:1::/64
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
}
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
option dns-server fec0:0:0:1::1
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
option domain domain.example
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
}
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsection
|
||||||
|
Usage
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Subsubsection
|
||||||
|
dibbler-server
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Start server in foreground:
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
# dibbler-server run
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
| Dibbler - a portable DHCPv6, version 0.7.3 (SERVER, Linux port)
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
| Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl
|
||||||
|
>
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
| Licence : GNU GPL v2 only.
|
||||||
|
Developed at Gdansk University of Technology.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
| Homepage: http://klub.com.pl/dhcpv6/
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Notice My pid (1789) is stored in /var/lib/dibbler/s
|
||||||
|
erver.pid
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Notice Detected iface eth0/3, MAC=54:52:00:01:23:45.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Notice Detected iface eth1/2, MAC=54:52:00:67:89:ab.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Notice Detected iface lo/1, MAC=00:00:00:00:00:00.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Debug Skipping database loading.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Debug Cache:server-cache.xml file: parsing started,
|
||||||
|
expecting 0 entries.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
2009.05.28 10:18:48 Server Notice Parsing /etc/dibbler/server.conf config
|
||||||
|
file...
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Debug Setting 0 generic option(s).
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Debug 0 per-client configurations (exceptions) added.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Debug Parsing /etc/dibbler/server.conf done.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Info 0 client class(es) defined.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Debug 1 interface(s) specified in /etc/dibbler/server.conf
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Info Mapping allow, deny list to class 0:0 allow/deny
|
||||||
|
entries in total.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Info Interface eth1/2 configuration has been loaded.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Notice Running in stateful mode.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Info My DUID is 00:01:00:01:11:aa:6d:a7:54:52:00:67:89:ab.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Notice Creating multicast (ff02::1:2) socket on eth1/2 (eth1/2)
|
||||||
|
interface.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Debug Cache: size set to 1048576 bytes, 1 cache entry size
|
||||||
|
is 87 bytes, so maximum 12052 address-client pair(s) may be cached.
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Code
|
||||||
|
18:48 Server Notice Accepting connections.
|
||||||
|
Next event in 4294967295 second(s).
|
||||||
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Section
|
\begin_layout Section
|
||||||
\begin_inset CommandInset label
|
\begin_inset CommandInset label
|
||||||
LatexCommand label
|
LatexCommand label
|
||||||
|
@ -27726,6 +28108,10 @@ Versions x.y.z are work-in-progress and published as LyX and SGML file on
|
||||||
Releases 0.x
|
Releases 0.x
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Description
|
||||||
|
0.64 2009-05-28/PB: extend DHCP server examples (ISC DHCP, Dibbler)
|
||||||
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Description
|
\begin_layout Description
|
||||||
0.63 2009-02-14/PB: Fix FSF address, major update on 4in6 tunnels, add new
|
0.63 2009-02-14/PB: Fix FSF address, major update on 4in6 tunnels, add new
|
||||||
section for address resolving, add some URLs, remove broken URLs
|
section for address resolving, add some URLs, remove broken URLs
|
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue