This section excerpt from the asynchronous community "in-depth analysis IPv6 (3rd Edition)" Chapter 2 of the book, Section 2.5, author: [US] Joseph Davies more chapters can be accessed Yunqi community "Asynchronous community" public No. View.
Unlike IPv6 in Windows XP and Windows Server 2003, the IPv6 protocol in Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, Windows 8, Windows 7 and Windows Vista has been installed and enabled by default. The goal of the Windows IPv6 protocol is to achieve automatic configuration. For example, the local link address used for communication between nodes on the link can be automatically configured. If there is an IPv6 router or an ISATAP router in the host subnet, the host can use the received router advertisement information to automatically configure other addresses, default routers, and other configuration parameters.
Users can also manually configure IPv6 addresses and other parameters in Windows as follows.
2.5.1 "Configure IPv6 through the properties of Internet Protocol Version 6 (TCP/IPv6)
To manually configure the IPv6 protocol through the "Network Connections" folder, you can follow the steps below.
1. In the network connection folder, right-click the connection or network adapter you want to configure, and then click the "Properties" option.
2. In the "Networking" tab of the connection or network adapter properties, double-click Internet Protocol Version 6 (TCP/IPv6) in the list under "This Connection Use The Following Items".
Windows will display the "Internet Protocol Version 6 Properties" dialog box. Figure 2-3 shows an example of this dialog box.
General tab
In the "General" tab of the "Internet Protocol Version 6 (TCP/IPv6) Properties" dialog box, you can configure as follows.
Advanced TCP/IP Setting
In the "General" tab, click the "Advanced" button to enter the "Advanced TCP/IP Settings" dialog box. This dialog box is very similar to the "Advanced TCP/IP Settings" dialog box of the Internet Protocol Version 4 (TCP/IPv4) component. The difference between the two is that there is no WINS tab (IPv6 does not use NetBIOS and Windows Internet Naming Service [WINS ]) and the "Options" tab (TCP/IP filtering only applies to IPv4 traffic). For IPv6, the "Advanced TCP/IP Settings" dialog box has "IP Settings" and "DNS" tabs. Figure 2-4 shows an example of the "IP Settings" tab.
In the "IP Settings" tab, you can configure the following.
Figure 2-5 shows an example of the DNS tab.
In the DNS tab, users can configure the following.
The IPv6 address of the DNS server (click the DNS server address, and the "Add" button under [DNS server addresses, in order of use]) is arranged in the order of use.
Preferred and designated connection DNS suffix, domain name registration and authorization behavior. These settings are the same as in IPv4.
2.5.2 Configure IPv6 with Windows PowerShell
The Windows PowerShell command line of Windows 2012 and Windows 8 can also configure IPv6 address, default gateway and DNS server.
Configure address
Configure the IPv6 address can use the command New-NetIPAddress to achieve. For example, if you want to configure the IPv6 unicast address 2001:db8:290c:1291::1 on the interface named "Wired Ethernet Connection", you must use the following command:
New-NetIPAddress –InterfaceAlias "Wired Ethernet Connection" –IPAddress 2001:db8:290c:1291::1
Add default gateway
Configure the default gateway can be achieved by using the command New-NetRoute. For example, if you want to add a default route on the interface named "Wired Ethernet Connection", that is, set the next address to fe80::2aa:ff:fe9a:21b8, you must use the following command:
New-NetRoute–DestinationPrefix::/0–InterfaceAlias "Wired Ethernet Connection" –NextHop fe80::2aa:ff:fe9a:21b8
Add DNS server
Configuring the IPv6 address of the DNS server can be achieved using the command Set-DnsClientServerAddress. For example, if you want to add a DNS server with the IPv6 address 2001:db8:99:4acd::8 on the interface named "Wired Ethernet Connection", you must use the following command:
Set-DnsClientServerAddress -InterfaceAlias "Wired Ethernet Connection"
-ServerAddresses 2001:db8:99:4acd::8
Comment
This section will only describe how to add addresses, default gateways, and DNS servers through commands in the Windows PowerShell command line. In addition, the Windows PowerShell command line has many other commands for configuring IPv6 settings and IPv6 components.
2.5.3 Configure IPv6 with Netsh.exe tool
Users can also configure the IPv6 address, default gateway and DNS server by using commands in the form of netsh interface ipv6 in the command line.
Configure address
Configure the IPv6 address by using the command netsh interface ipv6 add address. The command syntax is as follows.
netsh interface ipv6 add address [interface=] Interface NameorIndex [address=] IPv6 Address [/PrefixLength] [[type=] unicast|anycast] [[validlifetime=] Time|infinite] [[preferredlifetime=] Time|infinite] [[store=] active|persistent]
For example, if you want to configure the IPv6 unicast address 2001:db8:290c:1291::1 on the interface named "Local Area Connection", let this address be valid for a long time and be in the selected state, and the address will be after the system restart Still reserved, use the following command:
netsh interface ipv6 add address "Local Area Connection" 2001:db8:290c:1291::1
Add default gateway
You can configure the default gateway by using the command netsh interface ipv6 add route, and add a default route (::/0). The command syntax is as follows.
netsh interface ipv6 add route [prefix=]::/0 [interface=] InterfaceNameorIndex [[nexthop=] IPv6Address] [[siteprefixlength=] Length] [[metric=] MetricValue] [[publish=]no|yes|immortal] [[validlifetime=]Time|infinite] [[preferredlifetime=]Time|infinite] [[store=]active|persistent]
For example, if you want to add a default route on the interface named "Local Area Connection" and set the next hop address to fe80::2aa:ff:fe9a:21b8, use the following command:
netsh interface ipv6 add route ::/0 "Local Area Connection" fe80::2aa:ff:fe9a:21b8
Add DNS server
Configure the IPv6 address of the DNS server by using the command netsh interface ipv6 add dnsserver. The command syntax is as follows.
netsh interface ipv6 add dnsserver [name=] Interface Name [[address=] IPv6Address] [[index=] Preference Value]
By default, the DNS server will be added to the end of the DNS server list. If the index number is specified, the DNS server will be placed in the corresponding position in the list, and other DNS servers will be moved back accordingly.
For example, if you want to add a DNS server with an IPv6 address of 2001:db8:99:4acd::8 on the interface named "Local Area Connection", use the following command:
netsh interface ipv6 add dnsserver "Local Area Connection" 2001:db8:99:4acd::8
Comment
This section will only describe how to use Netsh commands to add addresses, default gateways, and DNS servers. In addition, there are many Netsh commands for configuring IPv6 settings and IPv6 components. If the reader needs the entire configuration command set, please refer to the "Help" and "Support" of the Windows system.
Input.GetAxis Get axis static function GetAxis (axisName : string) : float Descriptiondescription Returns the value of the virtual axis identified by axisName. Returns the value in the ...
Bean's reference statement First of all, this series of blog refers to the oil pipeSpring Expression LanguageTeaching videoReferencing BeansAnd write. start This episode is a simple look at how to use...
Article Directory Overview of ISIS Agreement IS-IS IPv6 Extended TLV type IPv6 Reachability TLV IPv6 Interface Address TLV(1) IS-IS ST single topology ST single topology disadvantages IS-IS support fo...
1. Network topology diagram Link: https://pan.baidu.com/s/1QHtOl2Uyi47neJLqHlv21Q Extraction code: 8888 eNSP Link: https://pan.baidu.com/s/1wP0vHim4yqVV0bc0wmzhFw Extraction code: 8888 2. Network requ...
Right click on the desktop_Send to _Mail recipient appears "No configuration file created. To create a new configuration file, please use the "Mail" icon in the "Control Panel"...
curlIt is an open source file transfer tool that uses URL syntax to work in command line mode. The default installation does not support the https protocol. Because the https protocol is an encrypted ...
IPv6 operating system configuration IPv6 type Reference link Precondition Check if the IPv6 module is loaded Configure /etc/sysctl.conf Configure /etc/modprobe.d/disable_ipv6.conf Centos7.* operating ...
Experiment goal Complete this experiment. The following goals should be achieved. Master how to configure RIPng on the router; Master how to view the IPv6 routing table; Master how to configure OSPFv3...
A value-seeking thing seeing outside the network. What is the equivalent Java configuration for the Spring Security tag? I tried http.addFilter( new MyUsernamePasswordAuthenticationFilter() ) where th...
Simply record ipv6 study notes First ipv4 header and ipv6 header comparison, ipv6 header is much simpler There is no concept of subnet (network segment) in ipv6, and there is no concept of broa...