Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: write each host IP in a file using host name  (Read 2682 times)

0 Members and 1 Guest are viewing this topic.

deepakmi

    Topic Starter


    Newbie

    • Experience: Familiar
    • OS: Windows 7
    write each host IP in a file using host name
    « on: October 16, 2014, 09:55:48 AM »
    Hi,

    I have 10,000 host and i need IP of that host in a file,i used ping command but it is manual,can you please suggest how to automate.

    Salmon Trout

    • Guest
    Re: write each host IP in a file using host name
    « Reply #1 on: October 16, 2014, 11:16:31 AM »
    Give example of a few lines of host file

    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: write each host IP in a file using host name
    « Reply #2 on: October 16, 2014, 11:20:52 AM »
    You have 10,000 computers that you need the IP addresses for and of which you know the host names of all of them?

    * Reason why I am questioning this is because if you are the system admin of 10,000 systems, you would already have tools available to know what your IPs are etc, and you would be able to look at the DHCP pool of all the DHCP servers. Also if its to create a file that was for active IP's with systems turned off for a weekend etc that lose their lease and get a new IP address on Monday etc your IPs could be ever changing on you.

    Is this for a Dynamic or Static Network?


    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: write each host IP in a file using host name
    « Reply #3 on: October 16, 2014, 02:58:26 PM »
    I smell Halibut...
    " Anyone who goes to a psychiatrist should have his head examined. "