Results 1 to 7 of 7

Thread: DOS command

  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    Long Beach, California, USA
    Posts
    233
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DOS command

    This board seems to be the most likely place to post this. Is there a DOS command that will return all node addys actively connected to a LAN? Thanks in advance.

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: DOS command

    I didn't know that a LAN had any "node addys", whatever they are.

    Are you asking whether there's a command to determine which IP addresses in a range return a positive response?
    With a bit more information, I'd probably construct something in a BATch file which made use of something along the lines of:
    FOR /L %%a IN (1,1,255) DO PING -n 1 11.22.33.%%a

    Or you might consider using NBTSTAT...

    If you say what you want to test, what the range(s) are, the subnet mask, what you want to do with the results, as a MINIMUM, I could probably knock up a working BATch file for you!
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    Long Beach, California, USA
    Posts
    233
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DOS command

    It was my understanding that any component (PC, Printer, etc) that attaches to a LAN is a node. Each node has an IP address. Is this not correct?

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: DOS command

    It's sort of correct. For the kinds of LAN that are most commonly in use.

    It is not necessary to run IP protocol on a LAN at all. For example you could have 2 or 3 Windows 98 PCs running NETbeui protocol to share files and no IP addresses in use at all.

    StuartR

  5. #5
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: DOS command

    And in addition, if you're willing to settle for names rather than IP nums, NET VIEW will return the machines currently engaged. Huh?

  6. #6
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: DOS command

    You still haven't explained what you want! A powered-on and connected device on a LAN could be called a node, I suppose, if you wish. But do you want a list of working servers? PCs? printers? hubs? routers? switches? any other connected device? any combination of these? Many/most of these can be pulled out by a number of command-line utilities, as I and others have suggested...
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  7. #7
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    Long Beach, California, USA
    Posts
    233
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DOS command

    Thanks John and every one else for the responses. What I was looking for was the ability to see what users (PC's) are currently connected to our LAN. The Net View command seems to be what I was looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •