Router Advertisement Daemon: Unterschied zwischen den Versionen

Aus Foxwiki
Zeile 74: Zeile 74:


= TMP =
= TMP =
{|
* name                  = radvd
| name                  = radvd
* developer              = Reuben Hawkins, Robin Johnson
| developer              = Reuben Hawkins, Robin Johnson
* released              = {{Start date and age|1996}}
| released              = {{Start date and age|1996}}
* latest release version = 2.19
| latest release version = 2.19
* latest release date    = {{Start date and age|2020|9|23}}
| latest release date    = {{Start date and age|2020|9|23}}
* latest preview version = 2.18-rc1
| latest preview version = 2.18-rc1
* latest preview date    = {{Start date and age|2019|2|16}}
| latest preview date    = {{Start date and age|2019|2|16}}
* programming language  = [[C (programming language)|C]]
| programming language  = [[C (programming language)|C]]
* 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]]<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]
| 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}}.<ref>{{IETF RFC|2461}}, ''Neighbor Discovery for IP Version 6 (IPv6)'', T. Narten, E. Nordmark, W. Simpson (December 1998)</ref>

Version vom 5. August 2023, 16:01 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.[2]

Daemon

The Router Advertisement Daemon is used by system administrators in stateless autoconfiguration(Vorlage:IETF RFC.[3]) 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.[4]

See also

Vorlage:Portal

External links


  1. Pekka Savola on radvd-devel-l mailing list
  2. Vorlage:IETF RFC, Neighbor Discovery for IP Version 6 (IPv6), T. Narten, E. Nordmark, W. Simpson (December 1998)
  3. Vorlage:IETF RFC, IPv6 Stateless Address Autoconfiguration, S, Thomson, T. Narten, T. Jinmei (September 2007)
  4. Vorlage:IETF RFC, IPv6 Router Advertisement Options for DNS Configuration, J. Jeong (Ed.), S. Park, L. Beloeil, S. Madanapalli (November 2010)