查看局域网内某个ip地址对应的mac地址以及开启的网络端口服务命令

nmap -sS 192.168.1.101


Starting Nmap 5.00 ( http://nmap.org ) at 2012-04-25 09:16 CST
Interesting ports on 192.168.1.101:
Not shown: 997 closed ports
PORT      STATE SERVICE
111/tcp   open  rpcbind
2049/tcp  open  nfs
49152/tcp open  unknown
MAC Address: 54:04:A6:6D:61:85 (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 1.59 seconds


你可能感兴趣的:(网络,service,UP)