public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Natanael Copa <natanael.copa@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] dhcp across segments with dnsmasq?
Date: Tue, 27 Jun 2006 00:56:38 +0200	[thread overview]
Message-ID: <1151362598.28701.7.camel@studio> (raw)
In-Reply-To: <20060626211651.GB13974@uchicago.edu>

On Mon, 2006-06-26 at 16:16 -0500, mjinks@uchicago.edu wrote:
> 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.

[ snip ]

> 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.

Have you tried running dhcpd on the GNAP box?

> 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.  

To me it looks like its dnsmasq. The request packet arrives to your GNAP
box but dnsmasq is never responding.

> 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.

Try this one:
http://thekelleys.org.uk/dnsmasq/docs/FAQ

Look for this part:
Q: This new DHCP server is well and good, but it doesn't work for me.
   What's the problem?


--
Natanael Copa

-- 
gentoo-embedded@gentoo.org mailing list



  reply	other threads:[~2006-06-26 22:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 21:16 [gentoo-embedded] dhcp across segments with dnsmasq? mjinks
2006-06-26 22:56 ` Natanael Copa [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1151362598.28701.7.camel@studio \
    --to=natanael.copa@gmail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox