查看局域网内在线的主机ip和mac地址

 

]# nmap  -sP 192.168.1.0/24

Starting Nmap 5.51 ( http://nmap.org ) at 2016-12-12 22:43 CST
Nmap scan report for 192.168.1.1
Host is up (0.0029s latency).
MAC Address: EC:88:8F:30:81:6C (Unknown)
Nmap scan report for 192.168.1.105
Host is up.
Nmap scan report for 192.168.1.107
Host is up (0.064s latency).
MAC Address: 38:BC:1A:25:52:FD (Unknown)
Nmap scan report for 192.168.1.108
Host is up (0.041s latency).
MAC Address: E0:94:67:15:EA:1C (Unknown)
Nmap scan report for 192.168.1.109
Host is up (0.041s latency).
MAC Address: EC:F3:5B:04:82:68 (Unknown)
Nmap done: 256 IP addresses (5 hosts up) scanned in 3.96 seconds

 

posted @ 2016-12-12 22:44  bass  阅读(865)  评论(0编辑  收藏  举报