I sometimes configure routers with my laptop and use connection sharing with Network manager and so my laptop acts as DHCP server. I then need to connect (via ssh usually) to the servers that are DHCP clients. Is there a simple way to find out the adresses they leased?
You can check your DHCP lease file (in the case of dhcp isc server
The format of these leases could be in the form of:
Of course, this may vary the implementation, but any ISC DHCP based implementation should be like this.