Stage 1: IPv6-capable PCs
 

Kernel Configuration:
 


Installation of Required Software:

Thanks to Peter Bieringer (http://www.bieringer.de) for having provided much of this information in his excellent IPv6 HowTo.

net-tools:  http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.54.tar.gz
    Supplies:  hostname, netstat, arp, ifconfig, rarp, route
 


iputils:  ftp://ftp2.3dgamers.com/pub/mirrors/redhat/ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS/iputils-20000121-2.i386.rpm
    Supplies:  arping, clockdiff, ping6, rdisc, tracepath, tracepath6, traceroute6

    If you are using RedHat 6.2, you can skip this
 


Netkit:  ftp://ftp.suse.com/pub/people/kukuk/ipv6/nkit-0.4.1.tar.gz
    Supplies:  finger, fingerd, inetd, ping, ping6, telnet, telnetd and IPv4 only ruptime, rwho, rwhod


xinetd:  http://synack.net/xinetd/xinetd-2.1.8.8p2.tar.gz
    Supplies:  xinetd (inetd replacement), itox (converts inetd.conf)


libpcap:  http://www.tcpdump.org/daily/libpcap-current.tar.gz
    Supplies:  libpcap.a  (packet capture library; needed by tcpdump)


tcpdump:  http://www.tcpdump.org/daily/tcpdump-current.tar.gz
    Supplies: tcpdump (packet capture utility)
 


Apache:  http://www.apache.org/dist/apache_1.3.12.tar.gz(needs patch at ftp://ftp.kame.net/pub/kame/misc/apache-1.3.12-v6-20000518.diff.gz)
    Supplies:  httpd (Apache Web Server)
 


Chimera:  ftp://ftp.jindai.net/pub/linux/ipv6-rpm/glibc21/RPMS/i386/chimera-2.0a14-1.i386.rpm
    Supplies: Chimera (an IPv6-compatible web browser)

        Don't bother trying to compile from the source; the Makefile will need a number of changes to work.
        Instead, settle for the RPM:


Basic configuration:

/etc/protocols:  Append new lines with IPv6 protocol numbers if they are not there:

       ipv6       41 IPv6       # IPv6
       ipv6-route 43 IPv6-Route # Routing Header for IPv6
       ipv6-frag  44 IPv6-Frag  # Fragment Header for IPv6
       ipv6-crypt 50 IPv6-Crypt # Encryption Header for IPv6
       ipv6-auth  51 IPv6-Auth  # Authentication Header for IPv6
       ipv6-icmp  58 IPv6-ICMP  icmpv6 icmp6   # ICMP for IPv6
       ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
       ipv6-opts  60 IPv6-Opts  # Destination Options for IPv6

/etc/hosts:  Append new lines with special IPv6 addresses if they are not there:

       ::1     ip6-localhost ip6-loopback
       fe00::0 ip6-localnet
       ff00::0 ip6-mcastprefix
       ff02::1 ip6-allnodes
       ff02::2 ip6-allrouters
       ff02::3 ip6-allhosts

Configuring xinetd:

/etc/xinetd.conf must be edited to support the currently installed daemons, if it doesn't already. Look in xinetd/sample.conf for a sample config. Specifically, the paths to your servers are most likely wrong. For example:

        /usr/sbin/tcpd/in.telnetd

should be:

        /usr/sbin/in.telnetd

...and so on.

Now you will need to start the daemon. First, make sure you have no active connections through inetd, and then:

        # killall inetd
        # xinetd

After a moment, xinetd will return you to the shell and it will be running in the background. Look at /var/log/messages to see if there were any errors. You will need to kill inetd and start xinetd manually every time you boot now unless you change your init scripts and rc files to do this for you.

Check that the services are running. Look at the output of the following command for lines with ":::<well-known port>":

        # netstat -A inet6 -anp

Now test the server by doing a telnet localhost. You may also need to edit your /etc/hosts.allow and /etc/hosts.deny files if it doesn't work (ie. if you get a "connection refused").