public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] dhcp across segments with dnsmasq?
@ 2006-06-26 21:16 mjinks
  2006-06-26 22:56 ` Natanael Copa
  2006-06-27  1:22 ` wireless
  0 siblings, 2 replies; 7+ messages in thread
From: mjinks @ 2006-06-26 21:16 UTC (permalink / raw
  To: gentoo-embedded

We have a big old Dell running RedHat, which does nothing (any more) but
serve DHCP for a number of labs around our campus.  We thought it would
be an ideal candidate for replacement with a home-rolled GNAP machine
using dnsmasq's DHCP service.  It seemed to work well in testing, but
when we dropped in the replacement system we found that machines on
remote VLANs could no longer get addresses.

The campus network runs on Cisco switches, controlled by another group.
I'm pretty much Cisco-ignorant myself, but my undertanding is that the
VLANs which serve our DHCP clients have been configured to propagate
DHCP requests beyond the local segment and on to our centrally-located
DHCP server, and this works fine with the old machine.

A little tcpdumping shows some differences between the old (RedHat) box
and the new (GNAP) system.  In this example, "msfc-ri-v17.uchicago.edu"
is the router which serves our DHCP client; "dell-test-03.uchicago.edu"
is the DHCP client; and "bonzai.uchicago.edu" houses the DHCP server.
tcpdump is running on bonzai:

14:42:27.985373 msfc-ri-v17.uchicago.edu.bootps > bonzai.uchicago.edu.bootps:  (request) hops:1 xid:0x20dcf2e1 secs:4 flags:0x8000 G:msfc-ri-v17.uchicago.edu ether 0:f:1f:dc:f2:e1 [|bootp]
14:42:27.986066 bonzai.uchicago.edu.bootps > msfc-ri-v17.uchicago.edu.bootps:  (reply) hops:1 xid:0x20dcf2e1 secs:4 flags:0x8000 Y:dell-test-03.uchicago.edu S:bonzai.uchicago.edu G:msfc-ri-v17.uchicago.edu ether 0:f:1f:dc:f2:e1 [|bootp] (DF)

Now here's an example of the same case, except that the hardware acting
as bonzai.uchicago.edu is now our GNAP machine:

01:06:27.601181 IP msfc-ri-v17.uchicago.edu.bootps > bonzai.uchicago.edu.bootps: BOOTP/DHCP, Request [|bootp]

The GNAP box doesn't issue a response, apparently because it can't see
that the request is coming from one of its listed DHCP clients.

So, does anybody know what might be going on here?  I don't think that
dnsmasq is (necessarily) the culprit, since tcpdump shows more
information in the case of the packets dumped on the RedHat machine.  Is
this a difference, maybe, in the uclibc network handling?  Do I need to
tweak my kernel?  Am I just crazy?

Thanks for any thoughts.

--Michael
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-27  6:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 21:16 [gentoo-embedded] dhcp across segments with dnsmasq? mjinks
2006-06-26 22:56 ` Natanael Copa
2006-06-26 23:17   ` mjinks
2006-06-27  6:22     ` Natanael Copa
2006-06-27  1:22 ` wireless
2006-06-27  2:04   ` mjinks
2006-06-27  2:26     ` wireless

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox