Community discussions

MikroTik App
 
MrHyde
just joined
Topic Author
Posts: 1
Joined: Tue Dec 27, 2011 9:35 pm

client computer's name

Tue Dec 27, 2011 9:38 pm

is there a way to get the computer's name using DHCP server?? i got the mac address but the machine name??
 
User avatar
elgo
Member Candidate
Member Candidate
Posts: 151
Joined: Sat Apr 02, 2011 2:34 am
Location: France

Re: client computer's name

Wed Dec 28, 2011 11:22 am

See "hostname" field:
> ip dhcp-server lease print
Flags: X - disabled, R - radius, D - dynamic, B - blocked
 #   ADDRESS                                    MAC-ADDRESS       HOST-NAME   SERVER   RATE-LIMIT   STATUS
 0   192.168.10.1                               00:30:18:AA:F5:0D             srv_D...
 1   192.168.0.1                                F4:6D:04:59:2B:1D kraken      srv_D...              bound
 2   192.168.0.2                                1C:6F:65:C9:B8:B5 crabman     srv_D...              bound
Only valid if hostname is set on host when DHCP request is made of course.

Who is online

Users browsing this forum: Kuwait, mrz, patrikg, regisc, sinisa and 116 guests