cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1640
Views
15
Helpful
6
Replies

Excluded-Addresses

Hello Guys, I'm having trouble identifying already used addresses of the excluded-address range and the ones that are still up for grab. Is there a command I can use?.

 

Thanks.

2 Accepted Solutions

Accepted Solutions

marce1000
Hall of Fame
Hall of Fame

 

      https://angryip.org/ 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

View solution in original post

Hello @kabambaivan06544 ,

unfortunately only the double check with ping and show ip arp can give a meaningful answer on what addresses are in use as I have explained in my previous post ( some hosts can have a SW firewall running blocking ICMP echo replies) and also you need to verify if there are powered off devices that could have one of these addresses.

 

However, unless you have issues with DHCP pool = you are using all the IP addresses in the pools this work can be done in background.

 

Hope to help

Giuseppe

 

View solution in original post

6 Replies 6

Hello,

 

you could use a broadcast ping. For Windows, the DOS command would look like below (with 192.168.1.0/24 being your network):

 

FOR /L %i IN (1,1,254) DO ping -n 1 192.168.1.%i

 

https://smallbusiness.chron.com/ping-ip-addresses-lan-68381.html

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @kabambaivan06544 ,

you can use the following commands :

ping x.x.x.x

show ip arp x.x.x.x

 

Note: an existing host with IP x.x.x.x may answer to ping (in that case it exists for sure) or it may not answer if the show ip arp x.x.x.x provides a complete MAC address and not tells incomplete the IP address is in use but there is a firewall running on the host.

You need to perform this two steps procedure for all the addresses in the excluded range.

At the end you can find how many of them are alive.

 

Warning: you need to consider also the possible case that some hosts that owns an exlcuded address is powered off during your checks so you may need to go on site to check for this or to have someone to make an on site check for you.

 

Hope to help

Giuseppe

 

Thanks guys, but my predecessor used to use big ranges and i wouldn't like to ping through all of them. Though I think i have to settle for this long method.

Hello @kabambaivan06544 ,

unfortunately only the double check with ping and show ip arp can give a meaningful answer on what addresses are in use as I have explained in my previous post ( some hosts can have a SW firewall running blocking ICMP echo replies) and also you need to verify if there are powered off devices that could have one of these addresses.

 

However, unless you have issues with DHCP pool = you are using all the IP addresses in the pools this work can be done in background.

 

Hope to help

Giuseppe

 

marce1000
Hall of Fame
Hall of Fame

 

      https://angryip.org/ 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Thanks People, i used the ping method.