Chinaunix

标题: Win环境下DHCP的IP分配情况怎么用程序查看啊? [打印本页]

作者: thinsun_2003    时间: 2003-04-10 15:17
标题: Win环境下DHCP的IP分配情况怎么用程序查看啊?
WMI、SNMP可全查不到,dhcp.mdb文件又用Access打不开,怎么解决啊?高手指点吧
作者: thinsun_2003    时间: 2003-04-10 16:01
标题: 这是Client端的查看吧,只能显示本机的DHCP情况
需要查看整个server中IP分配的情况:\r\nIP、hostname、mac地址的对应关系
作者: thinsun_2003    时间: 2003-04-10 16:24
标题: 这是Client端的查看吧,只能显示本机的DHCP情况
需要查看整个server中IP分配的情况:\r\nIP、hostname、mac地址的对应关系
作者: grassstar    时间: 2003-04-10 16:36
标题: A:
怪怪的,为啥提这个问题呢?\r\n在DHCP服务器的Address leases项中,不是可以查看IP、Hostname吗?\r\n要看MAC,通过arp -a
作者: grassstar    时间: 2003-04-10 16:38
最初由 SwordsMan 发布\r\n[B]IPCONFIG/ALL [/B]
\r\nSwordsMan,请帮我看一下这个情况,好吗,先谢了。\r\nhttp://www.itpub.net/showthread.php?s=&threadid=111281
作者: thinsun_2003    时间: 2003-04-10 17:41
标题: 还没有解决啊,请教WMI高手
还有这个dhcp.mdb怎么打开啊
作者: frankpro    时间: 2003-04-10 19:13
You can use DHCPCMD to get it, dhcp.mdb is not Access database format, so you cannot use Access to open it.\r\n\r\ndhcpcmd IPAddress enumclients ScopeNetAddress -option > textfile.txt\r\n\r\nwhere:\r\n\r\n- IPAddress is the Internet Protocol (IP) address of the DHCP server.\r\n\r\n- ScopeNetAddress is the network address of the DHCP scope.\r\n\r\n- option is either v or h. The v option lists detailed lease \r\n  information; the h option lists lease information with hardware \r\n  information.\r\n\r\n- textfile.txt is the name of the destination text file.\r\n\r\n\r\n\r\n\r\nFor example, to export the contents to a text file named \'export.txt\', type:\r\n\r\ndhcpcmd 127.0.0.1 enumclients 11.101.0.0 -h >export.txt
作者: winmag    时间: 2003-04-11 08:35
dhcpcmd.exe是NT的命令,需要安装NT的supports tools。\r\n\r\n但2K本身已自带了相应的命令,就是netshell中的DHCP命令,如下:\r\n\r\n\r\nnetsh dhcp server  computername or ip scope subnetip show clients\r\n\r\n版本5客户端用show clientsv5,netsh的?帮助写错了。\r\n\r\n使用dump命令可以把内容导出到文本文件,netsh dhcp可以显示并配置2K dhcp服务器基本上所有的配置,但dhcpcmd.exe不能显示或配置2K dhcp服务器的新特性。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2