<br><br><div><span class="gmail_quote">On 7/21/07, <b class="gmail_sendername">Simon Kelley</b> <<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Steven wrote:<br>> Hi,<br>> I have a problem setting up a dhcp server using dnsmasq.<br>><br>> Seems that the server is working fine but the client are not able to<br>> get an ip address.<br>> The interface on the server is configured to have a static IP address,
<br>> and on the client DHCP is used (obviously).<br>> The client sends a DHCPDISCOVER packet, dnsmasq receives it and sends<br>> a DHCPOFFER packet, but the client doesn't recognizes this packet (i<br>> think).
<br>> With other dhcp server (as dhcp3-server) everything is working fine,<br>> so i suspect this may be an issue with dnsmasq or my config file.<br>><br>> I'm using Ubuntu, Feisty Fawn, Linux steven-laptop
2.6.20-16-generic<br>> #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux<br>><br><br>The explanation for dhclient ignoring the DHCPOFFERS seems to be that<br>the UDP checksum is incorrect. Is the Ubuntu system the client, or the
<br>server? The checksum problem seems to be originating on the server, and<br>if the server is running Ubuntu (or any Linux distro) then it's a kernel<br>problem: on Linux dnsmasq delegates UDP and IP header creation to the
<br>kernel. If you are running dnsmasq on *BSD, then it could be a dnsmasq</blockquote><div><br>What kind of network card on the server? Some fancy ones support "checksum offload" and this has bugs more often than not.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">problem: on those platforms (some of) the UDP and IP headers are created<br>by dnsmasq itself.
<br><br>Cheers,<br><br>Simon.<br><br>_______________________________________________<br>Dnsmasq-discuss mailing list<br><a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br></blockquote></div><br>