Re: Determine network devices on flat network

From: John Underhill (stepnwlf@magma.ca)
Date: Mon Jan 05 2004 - 19:22:00 GMT-3


There are good tools for a scanning job like this, like Fscan from
Foundstone, nmap, or Netcat. With Fscan, you can ping a specific port, across
any range, grab the banners and append all responses to an output file:
fscan -b -o c:\printers.txt -p 9100 10.0.0.1-254
called 'scanline' now.. (very lame), but free..

http://www.foundstone.com/index.htm?subnav=resources/navigation.htm&subconten
t=/resources/scanning.htm
  ----- Original Message -----
  From: Kenneth Wygand
  To: ccielab@groupstudy.com
  Sent: Monday, January 05, 2004 1:41 PM
  Subject: Determine network devices on flat network

  Hello everyone and Happy New Year -

  I have about 20 switches set up as a flat network with no VLANs
  (10.0.0.0). Different device groups all have a common second octet
  (clients are 10.0.x.x, printers are 10.1.x.x, servers are 10.2.x.x) but
  the network is flat, as they all use a /8 (255.0.0.0) mask. The
  printers, for example, are scattered across all switches but have
  10.1.x.x addresses. I need to find out what physical ports each printer
  is plugged into. I have ping-swept the 10.1.x.x range and found about
  150 printers total. However, I need to now find out what switch port
  each printer connects to (actually all I need to know is which switch,
  not necessarily which port).

  I know I can just enable CDP on the switch and sniff the actual drop
  that each printer is connected to and analyze the advertised information
  from the switch to determine where each printer is located, but 150
  printers is too many to do this on. Is there any easier way to
  determine which switch each printer connects to? I'm thinking it has to
  employ some layer-2 technology, but since the network is flat, the ARP
  table will only reside on layer-3 devices (of which the switches are
  not).

  The network is entirely Cat3550 switches running SMI images.

  Any suggestions are greatly appreciated! Thanks!

  Kenneth E. Wygand
  Systems Engineer, Project Services

  CISSP #37102, CCNP, CCDP, ACSP, Cisco IPT Design Specialist, MCP, CNA,
  Network+, A+
  Custom Computer Specialists, Inc.

  "Treat your password as you do your toothbrush; change it every six
  months and don't let anyone else use it."
  -Anonymous

  _______________________________________________________________________
  Please help support GroupStudy by purchasing your study materials from:
  http://shop.groupstudy.com

  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:37 GMT-3