On 02/08/2018 08:40, Learn wrote:
> Hi
> 
> Not very sure if this is a bug, but I saw dnsmasq.log:
> 
> Aug  2 14:13:28 dnsmasq-dhcp[5748]: 4278662147 available DHCP range:
> 172.24.1.10 -- 172.24.1.249
> Aug  2 14:13:28 dnsmasq-dhcp[5748]: 4278662147 vendor class: MSFT 5.0
> Aug  2 14:13:28 dnsmasq-dhcp[5748]: 4278662147 client provides name: xxx
> 
> But my dhcp-script file does not capture anything.
> 
> Here is my simple dhcp-script:
> 
>> #!/bin/sh
>>  op="${1:-op}"
>>  mac="${2:-mac}"
>>  ip="${3:-ip}"
>>  hostname="${4}"
>>  tstamp="`date '+%Y-%m-%d %H:%M:%S'`"
>>  payload="${tstamp} ${op} ${ip} (${mac} - ${hostname})"
>>  ddd="`date +%Y_ww%W`"
>>  echo $payload >> /var/log/dhcp-$ddd.log
> 
> I am sure that I could capture actions from an iPhone iOS. And my
> Windows 10 client does lease a dhcp address.

maybe it is a DHCPINFORM ? Windows sure does funky stuff with DHCP.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to