namp usage ? (bug?)

stan stanb at panix.com
Tue Oct 5 04:24:54 PDT 2004


I'm trying to use nmap to check for all hosts that are up on a subnet. I'm
using this syntax:


 nmap -sP 170.85.113.0/25

 Bit, I'm getting the follwing error messge;

 Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-10-05 07:22 EDT
 sendto in send_ip_raw: sendto(4, packet, 28, 0, 170.85.113.0, 16) => Can't
 assign requested addres

 Here's the approriate NIC config:

 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
		 inet 170.85.113.56 netmask 0xffffff80 broadcast 170.85.113.127
		 ether 00:01:fa:ff:fa:bc
		 media: Ethernet autoselect (10baseT/UTP) status: active

Am I using this incorectly? Yes I'm loged in as root, when I try this. I't
on FreeBSD STABLE built a couple of weeks ago.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin


More information about the freebsd-questions mailing list