<div class="gmail_extra">Daryl may still be correct.  Linux's bridge module also implements the learning phase (for detection of loops) before it begins forwarding packets.<br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 10:38 PM, Adrian May <span dir="ltr"><<a href="mailto:adrian.may@oregan.net" target="_blank">adrian.may@oregan.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Daryl,<br>
<br>
There is no switch. I'm trying to build a router and I'm plugging clients directly into it. It's actually a little fanless thing with 8 ethernet ports, 7 of which I bridge to make the private LAN, and the other of which dials pppoe. I installed ubuntu server 10.04, followed by the bridge, and then dnsmasq.<br>

<br>
In the meantime, I got another result. With IPFire, I found dhcp very fast, and it turned out that some of the home made cables around here can't connect the embedded boards to the little box I'm making the router out of. But they can connect any PC to my router or the 10 dollar router, and they can connect any PC or embedded board to the 10 dollar router, and the proper cables can connect anything to anything. In other words, the only combination that doesn't work is the home-made cable connecting the embedded boards to my new router. What's more, it doesn't matter whether I use a 100Mb or 1Gb socket on the new router. Very strange. That's all under IPFire, so now I'm reinstalling ubuntu to see if I get the same result.<span class="HOEnZb"><font color="#888888"><br>

<br>
Adrian.</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On 04/24/2012 10:51 PM, Daryl Richards wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Actually, the "10 dollar domestic router" fix points to the probable<br>
solution. You likely have spanning tree turned on on your usual switch,<br>
which will block all traffic on that port for the first 50 seconds after<br>
a link state change. Either switch to rapid spanning tree, or look into<br>
your switch's version of "portfast"..<br>
<br>
On 12-04-23 11:21 PM, Adrian May wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Simon,<br>
<br>
In the meantime I installed ClearOS, which uses dnsmasq. Now the PCs<br>
get served fast but my embedded boards are still not getting IPs. If I<br>
plug these embedded boards into my 10 dollar domestic router, they get<br>
an IP instantly. I already tried setting bootp-dynamic and<br>
dhcp-broadcast in the config. If I grep everything under /var/log for<br>
dnsmasq, there's no evidence that requests were even received from<br>
these boards. So I still suspect the networking layer.<br>
<br>
As for the boards themselves, I'm not entirely sure what they do.<br>
They've got some kind of embedded linux. One boots into yamon where I<br>
can only say "net init", the other into something of its own invention<br>
where I start udhcpc.<br>
<br>
I tried no-ping but it had no effect. I can't get my brain around your<br>
tag system. I've just been writing things like bootp-dynamic with no<br>
tags right in the main config file, or in the case of ClearOS, in the<br>
dhcp config file which is referenced from the main config file. Could<br>
it be that these settings have no effect unless I attach some tags, or<br>
put them inside a subnet declaration?<br>
<br>
Adrian.<br>
<br>
<br>
<br>
On 04/23/2012 08:01 PM, Simon Kelley wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 23/04/12 12:02, Adrian May wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I get the same result with dnsmasq, dhcp3-server and isc, namely, that<br>
the client has to send several DHCPDISCOVER packets before the server<br>
finally responds after about 30 seconds. This is breaking a couple of<br>
embedded platforms because they aren't that patient, and I have no way<br>
of configuring that.<br>
<br>
Why don't DHCP servers just respond to the first DHCPDISCOVER?<br>
Especially when I made them authoritative?#<br>
</blockquote>
Servers allocate an address and then ping it for a few seconds just<br>
to be sure it's not in use. That's the main delay. In dnsmasq<br>
--no-ping will stop this behaviour. Also the  client is entitled to<br>
wait around collecting answers from more than one server before<br>
deciding which one to use; they rarely do this and it doesn't sound<br>
like yours are.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think I might have seen in the logs that the dhcp processes aren't<br>
even getting the earlier packets, even though the machine is. It's<br>
as if<br>
they get discarded by the networking layer. This is a ubuntu server<br>
10.04 machine.<br>
</blockquote>
<br>
Firewall rules can affect things, but the result is rarely<br>
intermittent. Is your network heavily loaded and dropping packets?<br>
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any ideas?<br>
<br>
Adrian.<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
</blockquote></blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
</div></div></blockquote></div><br></div>