1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to find a free IP address on a network

Discussion in 'Tech Support' started by sotu1, 16 May 2008.

  1. sotu1

    sotu1 Ex-Modder

    Joined:
    24 Aug 2007
    Posts:
    2,884
    Likes Received:
    26
    as the title says, does anyone know how to find an open ip address on a server based network? rather than picking one at random and hoping it's free, is there a better way to do this?

    help muchosly appreciated!
     
  2. notatoad

    notatoad pretty fing wonderful

    Joined:
    25 Jun 2004
    Posts:
    3,213
    Likes Received:
    60
    dhcp client?
     
  3. badders

    badders Neuken in de Keuken

    Joined:
    4 Dec 2007
    Posts:
    2,642
    Likes Received:
    74
    Advanced IP scanner will let you scan each IP in your B or C subnet (B takes a while), is threaded for multicore processors, and will tell you whether each one responds to ping or not. It'll also give you the netBIOS info for each one.
     
  4. Fod

    Fod what is the cheesecake?

    Joined:
    26 Aug 2004
    Posts:
    5,802
    Likes Received:
    133
    "arp -a" in a cmd shows all ethernet adaptors your machine can see.

    works for me.
     
  5. Gareth Halfacree

    Gareth Halfacree WIIGII! Lover of bit-tech Administrator Super Moderator Moderator

    Joined:
    4 Dec 2007
    Posts:
    17,130
    Likes Received:
    6,719
    Checking the ARP table as per Fod's suggestion is good, but be aware that if you're running a large network with statically-assigned addresses and no management (as opposed to static assignments distributed via a DHCP server) then you're asking for trouble. If a computer is switched off, you won't realise it's got a static IP address - and when it comes back on, it'll conflict with yours if you've chosen the same one.

    I'd recommend putting a DHCP server in place - you can still give each computer a static IP address, but it means that the address will remain reserved even if the PC is off.
     
  6. Phil

    Phil What's a Dremel?

    Joined:
    19 Jul 2001
    Posts:
    1,005
    Likes Received:
    0
    whatever you do, don't purely rely on PING either. Once upon a time at $work, our $isp reallocated our Gateway IP address to another customer...
    we'd set it not to reply to Pings* and so when they pinged the host and got no response, falsely assumed it was a free IP address. Bad move.

    *tbh, blocking ICMP echo request on a piece of networking equipment like a router is a baaad idea.
     
Tags:

Share This Page