(→Cross Compiling Radvd for ARM) |
|||
Line 2: | Line 2: | ||
The IPv6 Router Advertisement Daemon (radvd) periodically sends router advertisement (RA) messages to a local ethernet LAN advertising among other things, the IPv6 prefix and router address. | The IPv6 Router Advertisement Daemon (radvd) periodically sends router advertisement (RA) messages to a local ethernet LAN advertising among other things, the IPv6 prefix and router address. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Cross Compiling Radvd for ARM === | === Cross Compiling Radvd for ARM === | ||
Line 38: | Line 15: | ||
<PRE> | <PRE> | ||
− | wget http://www.litech.org/radvd/dist/radvd- | + | wget http://www.litech.org/radvd/dist/radvd-2.11.tar.gz |
− | tar -xzf radvd- | + | tar -xzf radvd-2.11.tar.gz |
− | cd radvd- | + | cd radvd-2.11 |
− | ./configure --prefix= | + | ./configure --prefix= --host=arm-linux-gnueabi --sysconfdir=/etc |
− | + | ||
− | + | ||
− | + | ||
make | make | ||
make install DESTDIR=/home/export/rootfs | make install DESTDIR=/home/export/rootfs |
The IPv6 Router Advertisement Daemon (radvd) periodically sends router advertisement (RA) messages to a local ethernet LAN advertising among other things, the IPv6 prefix and router address.
Radvd requires the following to be installed on your build system:
sudo apt-get install bison sudo apt-get install flex
Download radvd, extract and cross compile for ARM:
wget http://www.litech.org/radvd/dist/radvd-2.11.tar.gz tar -xzf radvd-2.11.tar.gz cd radvd-2.11 ./configure --prefix= --host=arm-linux-gnueabi --sysconfdir=/etc make make install DESTDIR=/home/export/rootfs
A default /etc/radvd.conf file is shown below advertising an address prefix:
interface eth0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix 2003:44b9:4219:6400::/64 { AdvOnLink on; AdvAutonomous on; }; };
Options
The daemon can be started by simply running:
radvd
The link below contains a bzip2 tarball of the radvd binaries compiled for ARM :