如何搜尋同網段上的 DHCP server ?
版主: bryanchang、digdog、謝孟叡
如何搜尋同網段上的 DHCP server ?
假設同一個網段有兩台以上的 DHCP server ,有沒有什麼工具可以把這幾台 DHCP server 的 IP 都找出來?
最後由 ross_tt 於 08/19/2005 10:24 pm 編輯,總共編輯了 1 次。
【老地方神聖狂吃團之大吃客】
其實只要用能夠支援UDP port scan的軟體就可以了,一般的DHCP server使用UDP 67來接受用戶端送出的DHCPdiscovery的訊息,假設你想在Mac OS X上做port scan,內建的Network Utility只支援TCP port scan,所以必須下載像NMAP這種支援UDP port scan的軟體,然後針對整個subnet做掃描,就可以找到哪一個IP是DHCP Server了。
有這樣的東西喔~好像還可以跨平台,有興趣可以嘗試看看。
到底要不要「買」我倒是不清楚,擷取一段說明下來給大家看看:
我看的那個網頁似乎 Lost 了,不過可以試試看用 Google 的頁庫存檔瞧瞧~
原網址:https://schist.und.nodak.edu:8899/SiteS ... onitor.htm
頁庫存檔:http://66.102.7.104/search?q=cache:XpEw ... r&hl=zh-TW
裡面有講到 Installation Notes,有興趣可以看看。
到底要不要「買」我倒是不清楚,擷取一段說明下來給大家看看:
他叫做 SiteScope DHCP Monitor 吧...Usage Guidelines:
If your DHCP server fails, machines relying on DHCP will be unable to acquire a network configuration when rebooting. Additionally, as DHCP address leases expire on already-configured machines, those machines will "drop off" the network when the DHCP server fails to renew their address lease. Therefore, it is important that you monitor your DHCP server(s) to ensure that they are working properly.
Most networks have a DHCP server listening for DHCP requests. This monitor will "find" DHCP servers by broadcasting a request for an IP address and waiting for a DHCP server to respond.
Note: The SiteScope server must be on the same subnet as a DHCP server. The use of a relay agent is not currently supported.
我看的那個網頁似乎 Lost 了,不過可以試試看用 Google 的頁庫存檔瞧瞧~
原網址:https://schist.und.nodak.edu:8899/SiteS ... onitor.htm
頁庫存檔:http://66.102.7.104/search?q=cache:XpEw ... r&hl=zh-TW
裡面有講到 Installation Notes,有興趣可以看看。
我是有 windows 的網路 scan 工具,下載了這個 mac 版
http://www.versiontracker.com/dyn/moreinfo/macosx/15741
雖然找到了 udp port....

看起來跟 windows 一樣,似乎都不太方便,可能要從 1 試到 254.... 會搞死人.....
http://www.dhcp.org/javadhcp/
This API will allow programmers to easily write DHCP clients, servers and applications.
好像也不是郵戳想要的...
http://www.versiontracker.com/dyn/moreinfo/macosx/15741
雖然找到了 udp port....

看起來跟 windows 一樣,似乎都不太方便,可能要從 1 試到 254.... 會搞死人.....
http://www.dhcp.org/javadhcp/
This API will allow programmers to easily write DHCP clients, servers and applications.
好像也不是郵戳想要的...