Re: [問題]Ping一個網段

看板FreeBSD作者時間21年前 (2004/05/01 23:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/7 (看更多)
※ 引述《pipw.bbs@bbs.sayya.org (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. <gslin@ccreader.nctu.edu.tw> -- ※ Origin: 邪惡小鹿鹿 <Deer.twbbs.org> ◆ From: deer.math.nctu.edu.tw
文章代碼(AID): #10axkt00 (FreeBSD)
文章代碼(AID): #10axkt00 (FreeBSD)