Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

WinXP 從 IPv4 升級至 IPv6 完整設定指南(含隧道連線)

編輯:關於 Windows

IPv4 位址枯竭,IPv6 提供龐大位址空間與更佳安全性。WinXP SP1 以上版本支援 IPv6,以下為完整設定流程。

前置準備

  • 確認 WinXP 已安裝 SP1 或更新版本。
  • 確認已安裝 IPv6 協定(若無,命令提示字元執行 ipv6 install)。

基本設定(純 IPv6 或雙棧環境)

  1. 命令提示字元執行 ipv6 if 查看介面編號(通常介面 4 為實體網卡)。
  2. 若為 IPv6 原生環境,系統自動取得位址,無需額外設定。
  3. 若需固定 IPv6 位址:
    netsh interface ipv6 add address "區域連線" fe80::a520:1314:1
    netsh interface ipv6 add dns "區域連線" 2001:251:e101::2

IPv4 環境建立 6to4 隧道連線

需對端 IPv4/IPv6 位址資訊,假設:

  • 本端 IPv4:210.35.168.100
  • 對端 IPv4:210.35.240.24
  • 對端 IPv6:2001:250:6c01:1000::1
  • 獲配本端 IPv6:2001:250:6c01:1000::2
  1. 建立隧道:ipv6 ifc v6v4 210.35.168.100 210.35.240.24
  2. 設定本端 IPv6:ipv6 adu 4/2001:250:6c01:1000::2(4 為實體介面編號)
  3. 設定預設路由:ipv6 rtu ::/0 4/2001:250:6c01:1000::1

啟用轉發功能(作為 IPv6 路由器)

ipv6 ifc 4 forwards 啟用介面 4 轉發,依需求開啟路由通告。

測試驗證

ping 2001:250:6c01:1000::1 若通聯成功,即完成 IPv6 部署。

雖 IPv9 概念近年被討論,但 IPv6 仍為主流過渡方案。WinXP 用戶可參考本指南提前佈局。

Copyright © Windows教程網 All Rights Reserved