Configure IPv6 in Windows XP

Source: Internet
Author: User
In Windows XP, all configuration work related to step 6 is completed through step 6.exe. Open the CMD window,
Run IPv6 and you will see some help information, as shown below:
Usage: ipv6 [-v] If [ifindex]
IPv6 [-p] ifcr v6v4 v4src v4dst [Nd] [pmld]
IPv6 [-p] ifcr 6over4 v4src
......
This document introduces the use of ipv6.exe.
1. IPv6 install/uninstall
The IPv6 stack of Windows XP needs to be manually installed. The installation method is to execute "IPv6 install". Of course
If you do not want to play IPv6, you can run "IPv6 Uninstall" to unmount the IPv6 protocol stack. Note:
Sometimes it is necessary to remove the IPv6 protocol stack, because IE6 in Windows XP supports IPv6.
When the IPv6 protocol stack is installed on the machine, when Internet Explorer is used to access some sites with both IPv6 and IPv4 addresses
In this case, ie will first connect through IPv6. If it fails, it will connect through IPv4.
It's big, and sometimes it's quite uncomfortable.
2. IPv6 if [ifindex]
In ipv6.exe, all interfaces are identified by interface indexes. Execute "IPv6 if" to view all
IPv6 interfaces and their related information (including interface indexes). If you need to view a specific interface,
For example, in interface 4, you can execute "IPv6 if 4.
3. IPv6 ADU ifindex/address [life validlifetime]
You can use this command to add an IPv6 address to an interface. For example, if you want to add an IPv6 address to interface 4
3ffe: 321f: 1/64, You need to execute the following command:
IPv6 ADU 4/3ffe: 321f: 1
Someone may ask, why didn't you specify a subnet mask? No way. The IPv6 ADU command cannot.
Specify the subnet mask. Therefore, you must specify a route to describe what subnet interface 4 belongs:
IPv6 RTU 3ffe: 321f:/64 4
This is actually quite normal. In earlier versions of Linux, in addition to specifying an IPv4 address for a nic, you also need
Use the "Route" command to manually add a route to describe what kind of sub-network is mounted on this Nic.
The method for deleting an IPv6 address is too much () $ (#) $ * # (now, I have been looking for a long time to figure out how to get it-that is
Set the lifetime of an address to 0! For example, to delete the IPv6 address specified above, run the following command:
IPv6 ADU 4/3ffe: 321f: 1 life 0
4. IPv6 RT
This command is used to view the IPv6 route table.
5. IPv6 RTU prefix ifindex [/address] [life validlifetime]
This command is used to process IPv6 route tables. Note that the prefix here uses "Address/prefixlen"
. For example, to add a default route and the gateway is 3ffe: 321f: 1111, run the following command:
IPv6 RTU:/0 4/3ffe: 321f: 1111
You can delete a route table entry in the same way as the interface address. Set the lifetime to 0. For example,
To delete the default route specified above, run the following command:
IPv6 RTU:/0 4/3ffe: 321f: 1111 life 0
Note the way I write the command line. "[/address]" indicates that this address can be omitted. In the following cases,
The address after the interface index can be omitted:
(A) This route indicates the LAN of the interface (as shown in the IPv6 ADU section above)
(B) This interface is a point-to-point Link Interface (for example, IPv6/IPv4 Tunnel, which will be introduced later)
6. IPv6 ifcr v6v4 v4src v4dst
This command is used to create an IPv6/IPv4 Tunnel. For example, you want to create an IPv6/IPv4 address
Tunnel. Your IPv4 address is 166.111.8.28, And the IPv4 address of the other party is 202.38.99.9. Then you can
Run the following command:
IPv6 ifcr v6v4 166.111.8.28 202.38.99.9
After executing this command, the system will tell you the index value of the newly created interface. How to configure this interface
It is exactly the same as other interfaces. You only need to note that it is a point-to-point Link Interface.
7. IPv6 IFD ifindex
This command is used to delete an interface. For example, if you build an IPv6/IPv4 Tunnel, its interface index is 5,
If you don't want this tunnel, you can run the following command to delete it:
IPv6 IFD 5

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.