Linux IPv6 Router Advertisement Daemon

From LinuxReviews
Jump to: navigation, search

The Router Advertisement Daemon is a daemon which can automatically assign and configure IPv6 addresses to computers on a LAN.

Contents

[edit] Installation

radvd is included in all GNU/Linux distributions (apt-get install radvd or yum install radvd or emerge radvd or pacman -S radvd).

It's configuration file is /etc/radvd.conf on most distributions.

[edit] The basics

Route a /64 prefix to the interface which is connected to your LAN (eth1 in this example). Then configure radvd something like this:

File: /etc/radvd.conf
interface eth1
{
  AdvSendAdvert on;
  prefix 2001:0618:0400:f1a9:e000::/64
  {
    AdvOnLink on;
    AdvAutonomous on;
    AdvRouterAddr on;
  };
};

[edit] The prefix must be /64

It must be noted that the prefix must be /64. This is because 64 bits are used to generate the last part of the address using the network cards ID (you can't announce a /48 or /80 prefix with radvd).

[edit] More information


IPv6

How to get it

How to configure it

IPv6 services

Software

Personal tools
hardware tests
Categories
Privacy policy
linux events
ipv6
Networking
IPv6

Search:

linux newz | random page | poetry | free blog