Nmap Development mailing list archives

Re: nmap 4.22S0C7 multiple IP address on one NIC in Win2000


From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Tue, 23 Oct 2007 22:07:07 -0500

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

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: