Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] dhcp across segments with dnsmasq?
Date: Mon, 26 Jun 2006 22:41:03
Message-Id: 1151362598.28701.7.camel@studio
In Reply to: [gentoo-embedded] dhcp across segments with dnsmasq? by mjinks@uchicago.edu
1 On Mon, 2006-06-26 at 16:16 -0500, mjinks@××××××××.edu wrote:
2 > We have a big old Dell running RedHat, which does nothing (any more) but
3 > serve DHCP for a number of labs around our campus. We thought it would
4 > be an ideal candidate for replacement with a home-rolled GNAP machine
5 > using dnsmasq's DHCP service.
6
7 [ snip ]
8
9 > A little tcpdumping shows some differences between the old (RedHat) box
10 > and the new (GNAP) system. In this example, "msfc-ri-v17.uchicago.edu"
11 > is the router which serves our DHCP client; "dell-test-03.uchicago.edu"
12 > is the DHCP client; and "bonzai.uchicago.edu" houses the DHCP server.
13 > tcpdump is running on bonzai:
14 >
15 > 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]
16 > 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)
17 >
18 > Now here's an example of the same case, except that the hardware acting
19 > as bonzai.uchicago.edu is now our GNAP machine:
20 >
21 > 01:06:27.601181 IP msfc-ri-v17.uchicago.edu.bootps > bonzai.uchicago.edu.bootps: BOOTP/DHCP, Request [|bootp]
22 >
23 > The GNAP box doesn't issue a response, apparently because it can't see
24 > that the request is coming from one of its listed DHCP clients.
25
26 Have you tried running dhcpd on the GNAP box?
27
28 > So, does anybody know what might be going on here? I don't think that
29 > dnsmasq is (necessarily) the culprit, since tcpdump shows more
30 > information in the case of the packets dumped on the RedHat machine.
31
32 To me it looks like its dnsmasq. The request packet arrives to your GNAP
33 box but dnsmasq is never responding.
34
35 > Is
36 > this a difference, maybe, in the uclibc network handling? Do I need to
37 > tweak my kernel? Am I just crazy?
38 >
39 > Thanks for any thoughts.
40
41 Try this one:
42 http://thekelleys.org.uk/dnsmasq/docs/FAQ
43
44 Look for this part:
45 Q: This new DHCP server is well and good, but it doesn't work for me.
46 What's the problem?
47
48
49 --
50 Natanael Copa
51
52 --
53 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] dhcp across segments with dnsmasq? mjinks@××××××××.edu