Configuring IPv6

Linux

  • Assign address to interface: ip addr add fec0::1:0:0:0:3/64 dev eth0
  • Default route: ip -f inet6 route add 0::/0 via fec0:0:0:1::1

Debian/Ubuntu

Static IPv6 address:

# /etc/network/interfaces
auto eth1
iface eth1 inet6 static
        address 2001:1458:E008:0001::2
        netmask 64
        gateway 2001:1458:E008:0001::1
        pre-up modprobe ipv6

More about Debian

RedHat/SLC

/etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=yes
IPV6ADDR=2001:1458:E00C::63/64

cat /etc/sysconfig/network
NETWORKING_IPV6=yes
IPV6_DEFAULTGW=2001:1458:E00C::1

  • WARNING: SLC5 images have the ipv6 module disabled. Please edit the file /etc/modprobe.conf and remove the lines which disable ipv6 (#alias ipv6 off, #options ipv6 disable=1); then reboot.
  • WARNING: SLC6 images may have the ipv6 module disabled. Please edit the file /etc/modprobe.d/ipv6.conf and remove the lines which disable ipv6 (# options ipv6 disable=1); edit the file /etc/avahi/avahi-daemon.conf and set use-ipv6=yes; then reboot.

Apache 2

in httpd.conf (or /etc/apache2/ports.conf in debian): Listen [2001:1458:e008:1::2]:80
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2013-03-07 - EdoardoMARTELLI
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    IPv6 All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback