Linux IPv6 Router Advertisement Daemon
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
- Radvd homepage: http://v6web.litech.org/radvd/
- Manual pages
| IPv6 |
|
How to get it How to configure it
|
IPv6 services Software |