IPv6/Router/Advertisement/Daemon: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
Zeile 72: | Zeile 72: | ||
===== Projekt ===== | ===== Projekt ===== | ||
===== Weblinks ===== | ===== Weblinks ===== | ||
= TMP = | |||
{{Infobox software | |||
| name = radvd | |||
| developer = Reuben Hawkins, Robin Johnson | |||
| released = {{Start date and age|1996}} | |||
| latest release version = 2.19 | |||
| latest release date = {{Start date and age|2020|9|23}} | |||
| latest preview version = 2.18-rc1 | |||
| latest preview date = {{Start date and age|2019|2|16}} | |||
| programming language = [[C (programming language)|C]] | |||
| platform = [[Linux]] and [[BSD]] | |||
| language = English | |||
| license = [[BSD license|BSD]]-style [[License proliferation#Vanity_licenses|vanity]]<ref>[http://lists.litech.org/pipermail/radvd-devel-l/2006-July/000229.html Pekka Savola on radvd-devel-l mailing list]</ref> | |||
| website = [https://radvd.litech.org/ radvd] | |||
}} | |||
The '''Router Advertisement Daemon''' ('''radvd''') is an [[Open-source software|open-source]] software product that implements [[link-local address|link-local]] advertisements of [[IPv6]] router addresses and IPv6 routing prefixes using the [[Neighbor Discovery Protocol]] (NDP) as specified in {{IETF RFC|2461}}.<ref>{{IETF RFC|2461}}, ''Neighbor Discovery for IP Version 6 (IPv6)'', T. Narten, E. Nordmark, W. Simpson (December 1998)</ref> | |||
==Daemon== | |||
The Router Advertisement Daemon is used by system administrators in [[IPv6#Stateless address autoconfiguration (SLAAC)|stateless autoconfiguration]]({{IETF RFC|4862}}.<ref>{{IETF RFC|4862}}, ''IPv6 Stateless Address Autoconfiguration'', S, Thomson, T. Narten, T. Jinmei (September 2007)</ref>) methods of network hosts on [[Internet Protocol]] version 6 networks. | |||
When IPv6 hosts configure their [[network interface controller]]s, they [[multicast]] [[router solicitation]] (RS) requests onto the network to discover available routers. Radvd answers requests with [[router advertisement]] (RA) messages. In addition, radvd periodically multicasts RA packets to the attached link to update network hosts. The router advertisement messages contain the routing prefix used on the link, the link [[maximum transmission unit]] (MTU), and the address of the responsible [[default router]]. | |||
Radvd also supports the recursive DNS server (RDNSS) and DNS search list (DNSSL) options for NDP published in {{IETF RFC|6106}}.<ref>{{IETF RFC|6106}}, ''IPv6 Router Advertisement Options for DNS Configuration'', J. Jeong (Ed.), S. Park, L. Beloeil, S. Madanapalli (November 2010)</ref> | |||
==See also== | |||
{{Portal|Free and open-source software}} | |||
* [[Dynamic Host Configuration Protocol]] (DHCP) | |||
* [[Domain Name System]] (DNS) | |||
* [[Neighbor Discovery Protocol]] | |||
* [[Netsh]] on Microsoft Windows covers similar functionality | |||
==External links== | |||
*[http://radvd.litech.org/ Radvd web site] | |||
*[https://github.com/radvd-project/radvd/ Source code] | |||
[[Category:IPv6]] | |||
[[Category:Free network-related software]] | |||
[[Category:Free software programmed in C]] | |||
[[Kategorie:IPv6/Routing]] | [[Kategorie:IPv6/Routing]] | ||
{{DEFAULTSORT:radvd}} | {{DEFAULTSORT:radvd}} | ||
</noinclude> | </noinclude> |
Version vom 5. August 2023, 14:58 Uhr
topic - Kurzbeschreibung
Beschreibung
IPv6-Routing
IPv6-Forwarding aktivieren
/etc/sysctl.conf
net.ipv6.conf.all.forwarding=1
Einstellung übernehmen
# sysctl -p
Subnetz zuweisen
/etc/network/interfaces
# IPv6 iface enp2s0 inet6 static address 2020:fa19::1 netmask 64
Einstellungen übernehmen
# systemctl restart networking
Einstellungen prüfen
# ip a
Router Advertisement
IPv6-Router verteilen ein IPv6/Prefix im lokalen Netzwerk mithilfe von Advertisements.
- Dazu eignet sich der Router Advertisement Daemon "radvd", der installiert und dann konfiguriert werden muss.
Installation
# apt install radvd
Konfiguration
/etc/radvd.conf
interface enp2s0 { AdvSendAdvert on; AdvLinkMTU 1280; MaxRtrAdvInterval 120; prefix 2020:fa19::/64 { }; AdvSourceLLAddress on; };
Option | Beschreibung |
---|---|
AdvSendAdvert | Gibt an,dass der Router regelmäßig Routerankündigungen sendet oder nicht und auf Routeranfragen reagiert. Default: off |
AdvLinkMTU | Gibt den Wert für eine Maximum Transmission Unit (MTU) an, die vom Router gesendet wird. Null kennzeichnet, dass der Router keine MTU-Optionen angibt. |
MaxRtrAdvInterval | Gibt die maximale Dauer zwischen dem Senden von nicht angeforderten Multicast Advertisement-Nachrichten an |
prefix | Gibt Präfix-Informationen für eine Schnittstelle bekannt. Verwenden Sie die folgende Syntax: prefix Präfix/Länge Schnittstelle [Variablenwert] |
AdvSourceLLAddress | Wenn festgelegt, ist die MAC-Adresse der ausgehenden Schnittstelle in der RA enthalten |
radvd starten
Nach den Änderungen an der Konfigurationsdatei muss man den Daemon manuell starten.
# systemctl enable radvd
Wenn der Daemon bereits läuft, ist ein Neustart des Daemons notwendig.
# systemctl start radvd
Anhang
Siehe auch
Dokumentation
Links
Projekt
Weblinks
TMP
Vorlage:Infobox software The Router Advertisement Daemon (radvd) is an open-source software product that implements link-local advertisements of IPv6 router addresses and IPv6 routing prefixes using the Neighbor Discovery Protocol (NDP) as specified in Vorlage:IETF RFC.[1]
Daemon
The Router Advertisement Daemon is used by system administrators in stateless autoconfiguration(Vorlage:IETF RFC.[2]) methods of network hosts on Internet Protocol version 6 networks.
When IPv6 hosts configure their network interface controllers, they multicast router solicitation (RS) requests onto the network to discover available routers. Radvd answers requests with router advertisement (RA) messages. In addition, radvd periodically multicasts RA packets to the attached link to update network hosts. The router advertisement messages contain the routing prefix used on the link, the link maximum transmission unit (MTU), and the address of the responsible default router.
Radvd also supports the recursive DNS server (RDNSS) and DNS search list (DNSSL) options for NDP published in Vorlage:IETF RFC.[3]
See also
- Dynamic Host Configuration Protocol (DHCP)
- Domain Name System (DNS)
- Neighbor Discovery Protocol
- Netsh on Microsoft Windows covers similar functionality
External links
- ↑ Vorlage:IETF RFC, Neighbor Discovery for IP Version 6 (IPv6), T. Narten, E. Nordmark, W. Simpson (December 1998)
- ↑ Vorlage:IETF RFC, IPv6 Stateless Address Autoconfiguration, S, Thomson, T. Narten, T. Jinmei (September 2007)
- ↑ Vorlage:IETF RFC, IPv6 Router Advertisement Options for DNS Configuration, J. Jeong (Ed.), S. Park, L. Beloeil, S. Madanapalli (November 2010)