怎樣配置ipv6的ip地址

1安裝ipv6的協議
在“開始”-----“運行”----“cmd”後回車,輸入“netsh   interface  ipv6  install”
則安裝成功(這適應windows 2003版本的)
卸載的時候用netsh  interface ipv6 uninstall
windows  xp 可以用 ipv6  install。
卸載的時候用 ipv6  uninstall。
2.手動配置ipv6的ip地址
使用手動地址配置 IPv6
  1. 打開 命令提示符
  2. 在命令提示符處,鍵入 netsh,然後按 Enter。
  3. 鍵入 interface ipv6,然後按 Enter。
  4. 鍵入 add address [interface=]String [address=]IPv6Address
    其中:
    [interface=]String
    指定接口名稱。
    [address=]IPv6Address
    指定 IPv6 地址。
實例是:
            
C:\>netsh
netsh>interface
netsh interface>ipv6
netsh interface ipv6>set address interface="aa" address=fec0::a
確定。
“aa”可以是本地連接。
3.用ipconfig  /all 來查看你配置的ip地址.
Ethernet adapter aa:
   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.3.123
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IP Address. . . . . . . . . . . . : fec0::a%1
   IP Address. . . . . . . . . . . . : 1111::124
   IP Address. . . . . . . . . . . . : fe80::216:ecff:fe9a:595a%7
   Default Gateway . . . . . . . . . : 192.168.3.1
假如是同一網段的可以ping通。

4.測試
C:\>ping fec0::b%1
Pinging fec0::b%1 from fec0::a%1 with 32 bytes of data:
Reply from fec0::b%1: time<1ms
Reply from fec0::b%1: time<1ms
Reply from fec0::b%1: time<1ms
Reply from fec0::b%1: time=3ms
Ping statistics for fec0::b%1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 3ms, Average = 0ms
有%號的時候,要加%。
 
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章