免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3114 | 回复: 7
打印 上一主题 下一主题

Win环境下DHCP的IP分配情况怎么用程序查看啊? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-10 15:17 |只看该作者 |倒序浏览
WMI、SNMP可全查不到,dhcp.mdb文件又用Access打不开,怎么解决啊?高手指点吧

论坛徽章:
0
2 [报告]
发表于 2003-04-10 16:01 |只看该作者

这是Client端的查看吧,只能显示本机的DHCP情况

需要查看整个server中IP分配的情况:\r\nIP、hostname、mac地址的对应关系

论坛徽章:
0
3 [报告]
发表于 2003-04-10 16:24 |只看该作者

这是Client端的查看吧,只能显示本机的DHCP情况

需要查看整个server中IP分配的情况:\r\nIP、hostname、mac地址的对应关系

论坛徽章:
0
4 [报告]
发表于 2003-04-10 16:36 |只看该作者

A:

怪怪的,为啥提这个问题呢?\r\n在DHCP服务器的Address leases项中,不是可以查看IP、Hostname吗?\r\n要看MAC,通过arp -a

论坛徽章:
0
5 [报告]
发表于 2003-04-10 16:38 |只看该作者
最初由 SwordsMan 发布\r\n[B]IPCONFIG/ALL [/B]
\r\nSwordsMan,请帮我看一下这个情况,好吗,先谢了。\r\nhttp://www.itpub.net/showthread.php?s=&threadid=111281

论坛徽章:
0
6 [报告]
发表于 2003-04-10 17:41 |只看该作者

还没有解决啊,请教WMI高手

还有这个dhcp.mdb怎么打开啊

论坛徽章:
0
7 [报告]
发表于 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

论坛徽章:
0
8 [报告]
发表于 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服务器的新特性。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP