Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re[2]: nmap 4.22S0C7 multiple IP address on one NIC in Win2000

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

From: Андрей Коростелёв <preacherandrew_at_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_at_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
Received on Oct 23 2007

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos