IPv6/Router/Advertisement/Daemon: Unterschied zwischen den Versionen

Aus Foxwiki
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]]<ref>[http://lists.litech.org/pipermail/radvd-devel-l/2006-July/000229.html Pekka Savola on radvd-devel-l mailing list]</ref>
* 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}}.<ref>{{IETF RFC|2461}}, ''Neighbor Discovery for IP Version 6 (IPv6)'', T. Narten, E. Nordmark, W. Simpson (December 1998)</ref>
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}}.<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.
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}}.<ref>{{IETF RFC|6106}}, ''IPv6 Router Advertisement Options for DNS Configuration'', J. Jeong (Ed.), S. Park, L. Beloeil, S. Madanapalli (November 2010)</ref>
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


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

External links