Shunze 學園 >電腦資訊學系 >吃軟不吃硬 > 《分享》網段169.254.XX.XX 哈囉,還沒有註冊或者登入。請你[註冊|登入]
« 上一篇主題 下一篇主題 » 顯示成列印模式 | 增加到我的最愛
發表新主題 發表回覆
作者
主題
shunze
工友伯伯


註冊日期: 2002 04
來自: 潮汐終止之地
文章: 2380

shunze 離線
《分享》網段169.254.XX.XX引用回覆 編輯/刪除文章 搜尋由  發表的其他文章 回報給版主 IP 位置 回此頁最上方

IP從169.254.0.1到169.254.155.254的這個B級網段,我想網管人員一定都會有印象吧!
順子也是在接觸了部分網管工作後,才發現到這個奇怪的IP網段。

而究竟在什麼樣的情況下,會配發這個網段內的IP呢?
其實,只要DHCP伺服器無法正常配發虛擬IP給client端電腦時,就會由Windows自動配發這個網段的IP。

這是Automatic Private IP Addressing (APIPA)自動私人IP定址所提供的功能。
當TCP/IP通訊協定設定為自動取得位址,但無法使用Dynamic Host Configuration Protocol (DHCP)時,
便會自動設定從169.254.0.1到169.254.155.254之間的IP位址,及255.255.0.0的子網路遮罩。


以下為MSCE Training Kit的說明資料:

Using Automatic Private IP Addressing

The Windows 2000 implementation of TCP/IP supports a new mechanism for automatic address assignment of IP addresses for simple LAN-based network configurations. This addressing mechanism is an extension of dynamic IP address assignment for LAN adapters, enabling configuration of IP addresses without using static IP address assignment or installing the DHCP Service.

For the Automatic Private IP Addressing (APIPA) feature to function properly on a computer running Windows 2000, you must configure a network LAN adapter for TCP/IP and click Obtain An IP Address Automatically in the Internet Protocol (TCP/IP) Properties dialog box.


The following steps outline how APIPA assigns an IP address:


  1. Windows 2000 TCP/IP attempts to find a DHCP server on the attached network to obtain a dynamically assigned IP address.
  2. In the absence of a DHCP server during startup (for example, if the server is down for maintenance or repairs), the client cannot obtain an IP address.
  3. APIPA generates an IP address in the form of 169.254.x.y (where x.y is the client's unique identifier) and a subnet mask of 255.255.0.0. If the address is in use, APIPA selects another IP address and, if necessary, reselects addresses up to 10 times.


NOTE

The Internet Assigned Numbers Authority (IANA) has reserved 169.254.0.0 through 169.254.255.255 for Automatic Private IP Addressing. As a result, APIPA provides an address that is guaranteed not to conflict with routable addresses.


所以說,當你看到你的電腦配發的是這個網段的IP,不要懷疑,找你們家的網管人員來處理吧!


另外,還有個有趣的玩法喔!
我們可以把區域網路內的電腦全設成DHCP,可是就是不要讓伺服器的DHCP服務跑起來。
這麼一來,區域網路內所有電腦的IP全都會在這個網段內;
而且因為是同一網段,所以電腦間的溝通、分享都沒有問題!
儼然是最簡單,且沒有DHCP伺服器的DHCP環境。

不過,網路內的電腦當然是連不出去的啦...



♥順子老婆的網拍,請多關照∼

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2004-11-06, 23:06 shunze 的個人資料 把 shunze 加入好友列表 發送Email給 shunze 瀏覽 shunze 的網站 MSN : shunze@gmail.com
  « 上一篇主題 下一篇主題 »
發表新主題 發表回覆
跳到:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR