[Dnsmasq-discuss] dnsmasq - dhcp unicast or multicast

Simon Röblreiter simon.roeblreiter at gasslfeld.at
Sun Oct 23 20:57:17 BST 2016


Hello, dnsmasq-community!


I ran into a strange situation today.
I was configuring a virtual mikrotik router (routerOS)
to request a specific IP from my provider.

I did a series of tests in my local network.
When I checked the traces I was capturing, I noticed,
that routerOS was sending multiple dhcp-discover packets
in a burst-like manner and dnsmasq responded multiple times.
I suggest that is intended behaviour in order to ensure
the fastest possible completion of the handshake.

What puzzled me, was the fact, that each frame of the
communication was a broadcast.
Shouldn't each device send unicast frames as soon as
it knows the mac-address of the other device?

To be able to compare against something, i also traced
the dhcp-handshake of my smartphone (Galaxy S2 / cyanogenmod13)
to the same server.

You can view screenshots of the two traces as attachments
to this mail and through the following link:

https://www.gasslfeld.at/showcase/dnsmasq/

The cyanogenmod-handshake is doubled because I switched
the wifi on and off two times.
Both traces were captured with tshark directly on the machine
running dnsmasq (OS=ubilinux).

Any suggestions?


Thanks in advance!
Simon Röblreiter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyanogenmod13.jpg
Type: image/jpeg
Size: 42331 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161023/c29e8545/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mikrotik.jpg
Type: image/jpeg
Size: 48349 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161023/c29e8545/attachment-0003.jpg>


More information about the Dnsmasq-discuss mailing list