windows7有時間會顯示IPv6地址“受到抨擊”,不清楚“受到抨擊”代表的什么意思?
以太網適配器 localIntf: 連接特定的 DNS 后綴 . . . . . . . : 描述. . . . . . . . . . . . . . . : Realtek PCIe GBE Family Controller 物理地址. . . . . . . . . . . . . : C8-0A-A9-7B-AD-00 DHCP 已啟用 . . . . . . . . . . . : 是 自動配置已啟用. . . . . . . . . . : 是 臨時 IPv6 地址. . . . . . . . . . : 2015:3::bcfa:d11e:7dba:735(受到抨擊) IPv6 地址 . . . . . . . . . . . . : 2015:3::bdaf:c351:a79c:4558(受到抨擊) 本地鏈接 IPv6 地址. . . . . . . . : fe80::bdaf:c351:a79c:4558%12(首選) IPv4 地址 . . . . . . . . . . . . : 192.168.1.56(首選) 子網掩碼 . . . . . . . . . . . . : 255.255.255.0 獲得租約的時間 . . . . . . . . . : 2015年2月12日 8:30:16 租約過期的時間 . . . . . . . . . : 2015年2月13日 8:30:15 默認網關. . . . . . . . . . . . . : fe80::1%12 192.168.1.1 DHCP 服務器 . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 264768169 DHCPv6 客戶端 DUID . . . . . . . : 00-01-00-01-18-05-8C-9C-C8-0A-A9-7B-AD-00 DNS 服務器 . . . . . . . . . . . : 4014:7:8:9::1 2000::fe 192.168.1.1 TCPIP 上的 NetBIOS . . . . . . . : 已啟用
好吧這是微軟的問題, “受到抨擊”其實是“Deprecated” 的很蹩腳的中文翻譯。
Ethernet adapter localIntf: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller Physical Address. . . . . . . . . : C8-0A-A9-7B-AD-00 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Temporary IPv6 Address. . . . . . : 2015:3::bcfa:d11e:7dba:735(Deprecated) IPv6 Address. . . . . . . . . . . : 2015:3::bdaf:c351:a79c:4558(Deprecated) Link-local IPv6 Address . . . . . : fe80::bdaf:c351:a79c:4558%12(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.56(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : 20152?12? 8:30:16 Lease Expires . . . . . . . . . . : 2015?2?13? 8:30:16 Default Gateway . . . . . . . . . : fe80::1%12 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 264768169 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-05-8C-9C-C8-0A-A9-7B-AD-00 DNS Servers . . . . . . . . . . . : 4014:7:8:9::1 2000::fe 192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled
這個翻譯真的很蹩腳 :-), 因為你完全無法從“受到抨擊”聯想到它的英文單詞是“Deprecated”。 所以在計算機科學方面,英文的表達要比還是要比中文嚴謹一些,這就是建議大家要多閱讀英文的原始文檔,翻譯總難免有像“受到抨擊”這種詞不達意的情況。
。
好了, 按照RFC文檔的規定IPv6地址有四種狀態是分別是“Perferred”, "Valid","Deprecated", "Invalid". 當IPv6地址的在Perferred Time之內時IPv6地址狀態是“Perferred”, 當IPv6地址的生命周期超過了Preferred Time但是沒有超過Valid Time時IPv6地址的狀態是“Deprecated”, 在win7/win8中這個英文單詞被翻譯成“受到抨擊”。無論"Perferred"還是“Deprecated”, IPv6地址都是“Valid”的, 當IPv6地址的生命周期超過Valid Time之后, IPv6地址的狀態是“Invalid”. 說以Win7出現某個IPv6地址顯示“受到抨擊”, 就是說這個Ipv6地址的Lifetime超過了Preferred Time卻沒有超過Valid Lifetime這種情形。