IPv6 installation and configuration in various operating systems

Source: Internet
Author: User

This article describes how to install and configure the IPv6 protocol in the Redhat Linux 9, Windows 2000 Server, Windows XP Professional, and Free BSD Unix operating systems.
I. Linux operating system
Take RedHat9.0 as an example. The default kernel version of the system is 2.4.20-8, and the IPv6 module has been provided. The configuration process is as follows:
The commands in the following example are case-sensitive)
1. Load the ipv6 Module
Run the command insmod ipv6 or modprobe ipv6, and then run the command lsmod to view the list of modules loaded by the system. If ipv6 is displayed, the module has been loaded successfully. Run rmmod ipv6 to delete the ipv6 module. You can also enable the system to automatically load the ipv6 module when the network is started by editing the/etc/sysconfig/network file and adding a new line of NETWORKING_IPV6 = YES.
2. Configure the ipv6 address
By default, once the ipv6 module is loaded, the system automatically configures the ipv6 local link address for the NIC). The address here starts with [fe80. If the machine is connected to a vroipv6 that supports ipv6 and is configured with a stateless address, then the system automatically configures a Global Address for the NIC ). The local link address is unique in the local link, and the global address is unique in the Global IPv6 network.
You can also manually configure the IP address for the network card. For example, if the network card is an Ethernet card, you can use the following command to configure a Global IP address for the network card as 2001: 250: 3000: 1: 1: 1, ipv6 address with the Network Prefix 112:
Ifconfig eth0 add 2001: 250: 3000: 1: 1: 1/112
3. Test network connectivity
Before the network connectivity test, there is another ipv6 network node, which can be a common ipv6-supported pc or ipv6-supported router. They are either directly connected at the link layer or indirectly connected at the link layer through other ipv6-supported network nodes. If the global address of the network node of another machine is 2001: 250: 3000: 1: 1: 2, run the following command:
Ping6 2001: 250: 3000: 1: 1: 2/112
You can see the following results:
PING 2001: 250: 3000: 1: 1: 2 (2001: 250: 3000: 2: 1: 1) 56 data bytes
64 bytes from 2001: 250: 3000: 1: 1: 2: icmp_seq = 1 ttl = 64 time = 0.082 MS
64 bytes from 2001: 250: 3000: 1: 1: 2: icmp_seq = 2 ttl = 64 time = 0.058 MS
This indicates that the ipv6 network connectivity between the two nodes is normal.
4. Configure the static route table
Route-A inet6 can view the static route table of ipv6 );
Route-A inet6 add default gw 2001: 250: 3000: 2: 2c0: 95ff: fee0: 473f add A static route record to the system's static route table)
5. supported services
WEB Services
Server Apache 2.0.40
Start method:/etc/init. d/httpd start
Client lynx 2.8.5
Running Method: lynx http: // [ipv6-address]: port/
LDAP Service
I use the server and client provided by openldap, an open-source project. The version number is 2.0.25 and its website is [url] http://www.openldap.org/#/url.pdf. This software supports IPv6.
Server startup method:/etc/init. d/ldap start
Client Access Method: ldapsearch-x-h [ipv6-addr]-D "cn = Manager"
Ii. Windows 2000 Server Operating System
1. Preparations
On the Microsoft website [url] www.microsoft.com [/url], there is a simple description of the installation protocol. The original Article is excerpted as follows:
1. Save the file tpipv6-001205.exe from the download page to a local folder (for example, C: \ 00006tp ).
2. From the local folder (C: \ Users 6tp), run Tpipv6-001205.exe and extract the files to the same location.
3. From the local folder (C: \ Program 6tp), run Setup.exe-x and extract the files to a subfolder of the current folder (for example, C: \ Program 6tp \ files ).
4. From the folder containing the extracted files (C: \ Users 6tp \ files), open the file Hotfix. inf in a text editor.
5. In the [Version] section of the Hotfix. inf file, change the line NTServicePackVersion = 256 to NTServicePackVersion = 1024, and then save changes.
6. From the folder containing the extracted files (C: \ Program 6tp \ files), run Hotfix.exe.
7. Restart the computer when prompted.
8. after the computer is restarted, continue installing the Microsoft IPv6 Technology Preview for Windows 2000 starting at step 3 of the "Installing the IPv6 Technology Preview for Windows 2000" section of either the Introduction to the Microsoft IPv6 Technology Preview for Windows 2000 or the Readme.htm file in the folder containing Setup.exe (C: \ IPv6TP ).
2. install and configure
After completing the preparation, you also need to add an IPv6 protocol family to the ethernet card. Here, we also extract some original articles.
1. from the Windows 2000 desktop, click Start, point to Settings, and then click Network and Dial-up Connections. as an alternative, you can right-click My Network Places, and then click Properties.
2. Right-click the Ethernet-based connection to which you want to add the IPv6 protocol, and then click Properties. Typically, this connection is named Local Area Connection.
3. Click Install.
4. In the Select Network Component Type dialog box, click Protocol, and then click Add.
5. In the Select Network Protocol dialog box, click Microsoft IPv6 Protocol and then click OK.
6. Click Close to close the Local Area Connection Properties dialog box.
3. Test network connectivity
The prerequisites for the test are similar to those configured in the Linux environment.
In Windows NT operating systems, one network adapter can correspond to multiple interfaces), one interface corresponds to an ipv6 address, and the same applies to Windows 2000 Server. Therefore, when a network adapter usually has multiple ipv6 addresses, there must be at least a local link address, usually a site address, a global address, and a transitional address from ipv4 to ipv6 ), for Windows 2000 Server, multiple interfaces are used. Generally, a network adapter has four interfaces. One of them corresponds to the global address. When manually configuring the global address for the NIC, you must also pay attention to the interface, this interface is characterized by its description containing the keyword "Local Connection" or "Local Area Connection.
If the serial number of the interface corresponding to "Local Connection" is 2, switch to the command prompt and use the following command to manually add the ipv6 address:
Ipv6 adu 2/2001: 250: 3000: 1: 1: indicates that the Operation corresponds to interface 2.
If the router address is 2001: 250: 3000: 1: 2c0: 95ff: fee0: 473f, run the following command to manually add a static route table:
Ipv6 rtu:/0 2/2001: 250: 3000: 1: 2c0: 95ff: fee0: 473f. the following address indicates the IPv6 address of the router ,:: /0 is equivalent to the default gw of the static route table in Redhat Linux 9.
Run the command ping6 2001: 250: 3000: 1: 2c0: 95ff: fee0: 473f. If a response is received, the ipv6 network between the local machine and the ipv6 router is interconnected.
Iii. Windows XP Professional Operating System
The installation protocol is much simpler. You only need to enter the command mode and then run ipv6 install. Other operations are similar to Windows 2000 Server.
4. FreeBSD Unix
The method for installing the protocol is also very simple. You only need to modify the/etc/rc. conf file and add a new line:
Listen 6_enable = "YES"
The configuration address can also be completed in this file, such as adding a new line:
20176_ifconfig_fxp0 = "2001: 250: 3000: 1: 1: 1 prefixlen 64"
A network prefix of 64 is assigned to fxp0, and the global address is 2001: 250: 3000: 1: 1: 1.
The principles of other network connectivity tests are the same as those described above.
I hope this article will bring some interest to readers in the Next Generation Internet NGN, Next Generation Network) Core Protocol-IPv6 protocol.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.