Differences between revisions 7 and 10 (spanning 3 versions)
Revision 7 as of 2006-12-06 16:00:18
Size: 2197
Editor: mohacsi
Comment:
Revision 10 as of 2008-04-10 15:29:34
Size: 2751
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[TableOfContents]] <<TableOfContents>>
Line 30: Line 30:
 Have look at [:IPv6hostslinux_disableIPv6: Disabling IPv6 on linux guide]  Have look at [[IPv6hostslinux_disableIPv6| Disabling IPv6 on linux guide]]
Line 62: Line 62:
 * [:IPv6hostslinux_ubuntu: Ubuntu Linux configuration guide]
 * [:IPv6hostslinux_fedora: Redhat/Fedora Linux configuration guide]
 * [[IPv6hostslinux_ubuntu| Ubuntu Linux configuration guide]]
 * [[IPv6hostslinux_fedora| Redhat/Fedora Linux configuration guide]]
Line 65: Line 65:

= Which linux kernel version has broken IPv6? =
 * 2.6 kernel series
  * According to our and [[https://www.redhat.com/archives/fedora-test-list/2007-February/msg00285.html|some independent test]] you should avoid 2.6.19: seriously broken router advertisment/mutlicast handling. Use instead Linux kernel 2.6.20
 * 2.4 kernel series

= How can I setup 6to4 relay on Linux? =
 * [[Linux_6to4_konfiguráció| Linux 6to4 relay konfiguráció]]

= How can I setup NAT-PT box on Linux? =
 * [[http://tomicki.net/naptd.php|Use the naptd deamon]]

IPv6 configuration on Linux operating systems

How can I add IPv6 address to a specific interface?

There are several ways to configure a new address to on interface:

  • ip -f inet6 addr add IPV6_ADDRESS/MASK dev INTERFACE_NAME

or

  • ifconfig INTERFACE_NAME add IPV6_ADDRESS/MASK

How can I remove IPv6 address from a specific interface?

There are several ways to configure a new address to on interface (very similar to adding new address - just replacing add to del):

  • ip -f inet6 addr del IPV6_ADDRESS/MASK dev INTERFACE_NAME

or

  • ifconfig INTERFACE_NAME del IPV6_ADDRESS/MASK

How can look at IPv6 routing table?

There are several ways to do that:

  • route -A inet6

or

  • netstat -A inet6 -r

or

  • ip -f inet6 route

How can I disable IPv6 on the Linux system ?

Using Linux as a router

How can configure of Router ADVertisement Daemon (radvd) under Linux

If we want to use a Linux machine as an IPv6 router and provide stateless autoconfiguration information for clinets we need the Router ADVertisement Daemon (radvd). Luckily radvd is part of the major Linux distributions (Debian, RedHat, SuSE), therefore installing it is straightforward.

The configuration of the daemon is stored in /etc/radvd.conf configuration files. You can configure router advertisments per interfaces. You can configure more than one prefix per interfaces.

A sample comfiguration that answers to router solicitation messages on two VLANS (different prefixes):

 interface eth0.105
 {
   AdvSendAdvert on;
   prefix 2001:db8:6001:500::/64
   {
   };
 };
 interface eth0.60
 {
   AdvSendAdvert on;
   prefix 2001:db8:6001:3f00::/64
   {
   };
 };

Can you help me with Linux distribution xyz?

Which linux kernel version has broken IPv6?

  • 2.6 kernel series
    • According to our and some independent test you should avoid 2.6.19: seriously broken router advertisment/mutlicast handling. Use instead Linux kernel 2.6.20

  • 2.4 kernel series

How can I setup 6to4 relay on Linux?

How can I setup NAT-PT box on Linux?

Campus6: IPv6hostslinux (last edited 2008-04-10 15:29:34 by localhost)