1.2.1 Setting up an ISATAP interface
For configuring the host as router one first has to set up the special ISATAP interface (is0) and switch it on:
# /sbin/ip tunnel add is0 mode isatap local <IPv4 address> ttl 64
# /sbin/ip link set is0 up
With "IPv4 address" we refer to the address of the physical interface used for the outgoing (tunneled) packets.
Now the interface has to be assingned an ISATAP address corresponding to the format described above. In our example this address is:
2001:638:500:201::5efe:80b0:f53a/64
To assign the address again the command ip is used:
# /sbin/ip addr add <ISATAP address> dev is0
(Nearly) done.
"1. Linux" 
1.2.2 Configuring Router Advertisements (RA) for the ISATAP interface
To send out RAs on the interface one usually uses the routing daemon radvd, which can be found at http://v6web.litech.org/radvd/. You can also use Zebra (http://www.zebra.org/) if this software is running for other routing purposes anyway.
If you are using radvd you have to edit the configuration file (usually /etc/radvd.conf). In our example the file containes the following lines:
interface is0
{
AdvSendAdvert on;
UnicastOnly on;
AdvHomeAgentFlag off;
prefix 2001:638:500:201::0/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
};
Done. After starting radvd the host should be working properly as an ISATAP router.
If you want this configuration to be saved beyond the next reboot you should add the ip-commands as well as the start-command for radvd to /etc/rc.local or any other script executed at system startup.
"1. Linux" 
1.3 Configuring a Linux host as an ISATAP client
After the kernel is patched and iproute2 updated (see above) it is rather easy to configure a Linux host as an ISATAP client. You just have to configure the interface as follows and switch it on.
# /sbin/ip tunnel add is0 mode isatap local <local IPv4 address> \\
v4any <Server IPv4 address> ttl 64
# /sbin/ip link set is0 up
"local IPv4 address" again refers to the physical interface to use for the tunneled packets.
Done. The host should now have global IPv6 connectivity.
You can also add the ip-commands to /etc/rc.local to have the client set up like this after each reboot.
"1. Linux" 
Back to Top