IPv6/Router/Advertisement/Daemon: Unterschied zwischen den Versionen
Zeile 84: | Zeile 84: | ||
* platform = [[Linux]] and [[BSD]] | * platform = [[Linux]] and [[BSD]] | ||
* language = English | * language = English | ||
* license = [[BSD license|BSD]]-style [[License proliferation#Vanity_licenses|vanity]] | * license = [[BSD license|BSD]]-style [[License proliferation#Vanity_licenses|vanity]] | ||
* website = [https://radvd.litech.org/ radvd] | * 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}}. | 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}}. | ||
===Daemon=== | ===Daemon=== | ||
The Router Advertisement Daemon is used by system administrators in [[IPv6#Stateless address autoconfiguration (SLAAC)|stateless autoconfiguration]]({{IETF RFC|4862}}. | The Router Advertisement Daemon is used by system administrators in [[IPv6#Stateless address autoconfiguration (SLAAC)|stateless autoconfiguration]]({{IETF RFC|4862}}.) 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]]. | 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}}. | Radvd also supports the recursive DNS server (RDNSS) and DNS search list (DNSSL) options for NDP published in {{IETF RFC|6106}}. | ||
===See also=== | ===See also=== |
Version vom 5. August 2023, 15:07 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
- name = radvd
- developer = Reuben Hawkins, Robin Johnson
- released = Vorlage:Start date and age
- latest release version = 2.19
- latest release date = Vorlage:Start date and age
- latest preview version = 2.18-rc1
- latest preview date = Vorlage:Start date and age
- programming language = C
- platform = Linux and BSD
- language = English
- license = BSD-style vanity
- website = radvd
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.
Daemon
The Router Advertisement Daemon is used by system administrators in stateless autoconfiguration(Vorlage:IETF RFC.) 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.
See also
- Dynamic Host Configuration Protocol (DHCP)
- Domain Name System (DNS)
- Neighbor Discovery Protocol
- Netsh on Microsoft Windows covers similar functionality
External links