Nmap Development mailing list archives
Re[2]: nmap 4.22S0C7 multiple IP address on one NIC in Win2000
From: Андрей Коростелёв <preacherandrew () mail ru>
Date: Wed, 24 Oct 2007 10:51:51 +0400
On 10/23/07, Brett Cunningham wrote:Specify which NIC you want it to use with the -e option. On 10/23/07, preacherandrew () mail ru <> wrote:Hi, Fyodor. My config: Windows 2000; one NIC; in TCP/IP properties set multiple IP addresses nmap prints out: "WARNING: Unable to find appropriate interface for system route to ..."- - - - words - - - -
use nmap --iflist to get a list of your interfaces so you know what to stick after the -e for example on my system
C:\>>nmap --iflist
Starting Nmap 4.22SOC7 ( http://insecure.org ) at 2007-10-23 22:05 Central Daylight Time ************************INTERFACES************************ DEV (SHORT) IP/MASK TYPE UP MAC eth0 (eth0) 192.168.235.3/24 ethernet up 00:10:5A:1D:5C:3F lo0 (lo0) 127.0.0.1/8 loopback up
DEV WINDEVICE eth0 \Device\NPF_{533105BE-8018-4212-A4FF-50A1EE7F9270} lo0 \Device\NPF_GenericDialupAdapter
**************************ROUTES************************** DST/MASK DEV GATEWAY 64.233.171.19/32 eth0 192.168.235.1 66.249.83.83/32 eth0 192.168.235.1 192.168.235.255/32 eth0 192.168.235.3 192.168.235.3/32 lo0 127.0.0.1 255.255.255.255/32 eth0 192.168.235.3 192.168.235.0/0 eth0 192.168.235.3 127.0.0.0/0 lo0 127.0.0.1 224.0.0.0/0 eth0 192.168.235.3 0.0.0.0/0 eth0 192.168.235.1
So I would run
C:\>>nmap -e eth0 <other options> <target>
to select that interface.
I rename my interfaces to reasonable things like 'eth0' instead of Windows default (in English anyway) 'LAN interface' or whatever.
-Jason
Thanks you for tips. I will run nmap as you say. But if my comp have one NIC with two IP-addresses, I guess nmap should run normal whithout additional options. And this situation is considered in code, but it is appears code has small bug. _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- nmap 4.22S0C7 multiple IP address on one NIC in Win2000 preacherandrew (Oct 22)
- Re: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 Brett Cunningham (Oct 23)
- Re: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 DePriest, Jason R. (Oct 23)
- Re[2]: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 Андрей Коростелёв (Oct 23)
- Re: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 Brandon Enright (Oct 24)
- Re[2]: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 preacherandrew (Oct 24)
- Re: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 DePriest, Jason R. (Oct 23)
- Re: nmap 4.22S0C7 multiple IP address on one NIC in Win2000 Brett Cunningham (Oct 23)