Win环境下DHCP的IP分配情况怎么用程序查看啊?

[复制链接]
查看11 | 回复9 | 2005-2-28 12:57:00 | 显示全部楼层 |阅读模式
WMI、SNMP可全查不到,dhcp.mdb文件又用Access打不开,怎么解决啊?高手指点吧
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
IPCONFIG/ALL
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
需要查看整个server中IP分配的情况:
IP、hostname、mac地址的对应关系
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
需要查看整个server中IP分配的情况:
IP、hostname、mac地址的对应关系
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
怪怪的,为啥提这个问题呢?
在DHCP服务器的Address leases项中,不是可以查看IP、Hostname吗?
要看MAC,通过arp -a
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
最初由 SwordsMan 发布
[B]IPCONFIG/ALL [/B]

SwordsMan,请帮我看一下这个情况,好吗,先谢了。
http://www.itpub.net/showthread.php?s=&threadid=111281
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
包括IP地址分配情况
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
还有这个dhcp.mdb怎么打开啊
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
You can use DHCPCMD to get it, dhcp.mdb is not Access database format, so you cannot use Access to open it.
dhcpcmd IPAddress enumclients ScopeNetAddress -option > textfile.txt
where:
- IPAddress is the Internet Protocol (IP) address of the DHCP server.
- ScopeNetAddress is the network address of the DHCP scope.
- option is either v or h. The v option lists detailed lease
information; the h option lists lease information with hardware
information.
- textfile.txt is the name of the destination text file.


For example, to export the contents to a text file named 'export.txt', type:
dhcpcmd 127.0.0.1 enumclients 11.101.0.0 -h >export.txt
回复

使用道具 举报

千问 | 2005-2-28 12:57:00 | 显示全部楼层
dhcpcmd.exe是NT的命令,需要安装NT的supports tools。
但2K本身已自带了相应的命令,就是netshell中的DHCP命令,如下:

netsh dhcp servercomputername or ip scope subnetip show clients
版本5客户端用show clientsv5,netsh的?帮助写错了。
使用dump命令可以把内容导出到文本文件,netsh dhcp可以显示并配置2K dhcp服务器基本上所有的配置,但dhcpcmd.exe不能显示或配置2K dhcp服务器的新特性。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行