Listing LAN IP addresses

Hello and good day to all,

I have recently installed a new gateway on my LAN and was forced to DHCP all of my client thicknet systems. Before installation of this new gateway I was able to statically address my clients from my original gateway. Now, because the new gateway does not indicate what its address is, I am not able to learn or discover its address.

Question; Is there a command or utility available to list or display all the IP addresses in use on my LAN? I’m running a peer-to-peer network with no primary file server in use.

Many thanks for your help,

Jet Driver

Hi
Use arp-scan;


zypper in arp-scan
arp-scan --localnet

Thank you, Malcolm, for the command. You are very helpful. Many thanks.

nmap comes to mind:


nmap -sn 192.168.0.1-255

If your box has talked to all other boxes recently (within a bunch of
seconds) you could also query arp tabes:


ip neigh


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

Thank you, AB, for your help. Looks like a useful command. Eager to use it. You and Malcolm are very helpful. Many thanks.

Jet Driver

Thank you to Malcolm and AB for providing solutions. Your suggestions were what I was looking for. Worked very well.

Many thanks,

Jet Driver