centos6.x and Windows XP and Windows Server 2003 open IPv6 related issues

Source: Internet
Author: User


Recently to start IPV6 equipment testing work, network deployment, the following host-related configuration also need to pay attention to, so record the relevant host to enable configuration IPv6 method (as to the principle and network device settings are not explained here)

First, CentOS open IPv6


Here is a static configuration example

1, IPv4 static configuration of the original configuration

[Email protected] network-scripts]# VI ifcfg-auto_eth2


Hwaddr=00:0c:29:67:da:22

Type=ethernet

Bootproto=none

ipaddr=192.168.202.102

Prefix=24

gateway=192.168.202.1

dns1=202.102.192.68

Defroute=yes

Ipv4_failure_fatal=yes

Ipv6init=no

Name= "Auto eth2"

Uuid=14d9f144-8c38-4dab-a918-028b942505c2

Onboot=yes

~


2. IPV6 static configuration (add IPv6 address on IPv4 basis)


[Email protected] network-scripts]# VI ifcfg-auto_eth2


Type=ethernet

Bootproto=none

ipaddr=192.168.202.11

Prefix=24

gateway=192.168.202.1

dns1=202.102.192.68

Defroute=yes

Ipv4_failure_fatal=yes

Ipv6init=yes #这里 * * * Part is about the original static to the "no" to indicate open IPV6 initialization

Ipvaddr=fc00:0:0:202::11 #本行及以下绿色部分, are manually added, this behavior to configure the IPv6 private network address

Ipv6_defaultgw=fc00:0:0:202::1 #配置ipv6网关

Name= "Auto eth2"

Uuid=96511ae6-4616-432e-be2c-c57f3dc7cfee

Onboot=yes

hwaddr=00:50:56:a5:4d:4f

Ipv6_autoconf=no #关闭IPv6自动配置

IPV6ADDR=FC00:0:0:202::11/64 #设置带掩码的IPv6地址, different from the ipvaddr above.

Ipv6_defroute=yes #开启默认路由

Ipv6_failure_fatal=no

~


Second, Windows XP and Windows Server 2003 to open IPv6 related matters


1. Install IPv6 protocol

C:\Documents and Settings\administrator>netsh interface ipv6 install


2. Add IPV6 Address

C:\Documents and Settings\administrator>netsh Inter IPv6 add address "Local Area Connection" fc00:0:0:216::195


Note: The fc00:0:0:216::195 here need to be modified according to the actual situation. Double quotation marks in "Local Area Connection" are English half-width double quotation marks, local connection is the network card command that configures IPv6 network card, fill in according to own actual


3. Add IPv6 route


C:\Documents and Settings\administrator>netsh Interface ipv6 add route::/0 "Local Area Connection" Fc00:0:0:216::1


Note: The double quotation marks in "Local Area Connection" are the English half-width double quotation marks, the local connection is the network card command that configures the IPv6 network card, fill in according to own actual


4. Open MSTSC Remote Desktop

C:\Documents and Settings\administrator>netsh interface portproxy add v6tov4 listenport=3389 connectport=3389

Note: If you modify the Remote Desktop port, you need to change the 3389


5, the relevant command reference


C:\Documents and Settings\administrator>netsh interface?


The following directives are valid:


Commands in this context:

? -Displays a list of commands.

Add-Adds a configuration item to the table.

Delete-Removes a configuration item from the table.

Dump-Displays a configuration script.

Help-Displays a list of commands.

IP-changed to ' netsh interface ip ' context.

IPv6-Change to ' netsh interface ipv6 ' context.

Portproxy-Change to ' netsh interface portproxy ' context.

Reset-Resets the information.

Set-Sets the configuration information.

Show-Displays information.


The following child contexts are available:

IP IPv6 portproxy


If you need more help with your command, type the command, followed by a space,

Back with?









This article is from the "Flying Pig" blog, please be sure to keep this source http://thinkpig007.blog.51cto.com/971471/1632809

centos6.x and Windows XP and Windows Server 2003 open IPv6 related issues

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.