看板FreeBSD
标 题Re: [问题]Ping一个网段
发信站小鹿鹿 BBS (Sat May 1 06:55:09 2004)
转信站ptt!ctu-reader!news.nctu!abpe.org
※ 引述《[email protected] (pipw)》之铭言:
: 在Linux中,可以用ping -b 140.127.0.255来ping从140.127.0.1~140.127.0.255
: 不过这个参数-b在FreeBSD下好像失效了?
: 那FreeBSD中该怎麽来ping一个区段呢?man当中怎麽没有提及?
你需要的是像 nmap 这种极品 (阳) 工具。
gslin@netnews [~] [14:54/W4] sudo nmap -sP 140.113.27.96/27
Starting nmap 3.50 (
http://www.insecure.org/nmap/ ) at 2004-05-01 14:54 CST
Host 140.113.27.96 seems to be a subnet broadcast address (returned 1 extra pings). Note -- the actual IP also responded.
Host d2-server.NCTU.edu.tw (140.113.27.97) appears to be up.
Host pop3.NCTU.edu.tw (140.113.27.98) appears to be up.
Host mrtg.NCTU.edu.tw (140.113.27.99) appears to be up.
Host pop3-backup.NCTU.edu.tw (140.113.27.100) appears to be up.
Host ms105.NCTU.edu.tw (140.113.27.105) appears to be up.
Host Debian.NCTU.edu.tw (140.113.27.121) appears to be up.
Host mailreg.NCTU.edu.tw (140.113.27.124) appears to be up.
Host 140.113.27.125 appears to be up.
Host 140.113.27.126 appears to be up.
Host 140.113.27.127 seems to be a subnet broadcast address (returned 1 extra pings). Note -- the actual IP also responded.
Nmap run completed -- 32 IP addresses (11 hosts up) scanned in 1.447 seconds
--
Resistance is futile.
<
[email protected]>
--
※ Origin: 邪恶小鹿鹿 <Deer.twbbs.org> ◆ From: deer.math.nctu.edu.tw