From: Charles-Henri Collin <charlie.collin@free.fr>
To: linux-kernel@vger.kernel.org
Subject: Re: ip=dhcp problem...
Date: Sat, 18 Dec 2004 12:52:41 +0100 [thread overview]
Message-ID: <41C41A09.8040608@free.fr> (raw)
In-Reply-To: <Pine.LNX.4.61.0412181159580.28067@yvahk01.tjqt.qr>
Jan Engelhardt a écrit :
>>I've got the following problem with linux 2.6.8.1:
>>I'm nfs-rooting a diskless client with kernel parameter ip=dhcp.
>>My dhcpd.conf has a "option domain-name-servers X.X.X.X;" statement and
>>"get-lease-hostnames true;"
>>Now when the diskless clients boot, no name-server configured and they cant
>>resolv.
>>dmesg gives me, for instance:
>>
>>
>
>What happens if you put
> option domain-name-servers 192.168.222.1;
>in your dhcpd.conf, i.e. an IP number rather than a host?
>
>
>
>
>Jan Engelhardt
>
>
i do put IP in this field (192.168.0.254) in fact, but this doesnt work.
i'm looking for a reason why it desnt work.. i've just setup:
#define IPCONFIG_DEBUG
in linux/net/ipv4/ipconfig.c, and this is what i get at boottime:
DHCP: Get message type 2
DHCP: Offered address 192.168.0.237 by server 192.168.0.254
DHCP/BOOTP: Got extension 53: 02
DHCP/BOOTP: Got extension 54: c0 a8 00 fe
DHCP/BOOTP: Got extension 51: 00 01 19 40
DHCP/BOOTP: Got extension 1: ff ff ff 00
DHCP/BOOTP: Got extension 3: c0 a8 00 fe
DHCP/BOOTP: Got extension 12: 63 6c 69 65 6e 74 46 53 42 2d 32 33
37 2e 66 73 62 2e 6e 65 74 00
DHCP/BOOTP: Got extension 15: 66 73 62 2e 6e 65 74
DHCP/BOOTP: Got extension 40: 46 53 42 6e 69 73
,DHCP: sending message type 3
DHCP: Got message type 5
DHCP/BOOTP: Got extension 53: 05
DHCP/BOOTP: Got extension 54: c0 a8 00 fe
DHCP/BOOTP: Got extension 51: 00 01 19 40
DHCP/BOOTP: Got extension 1: ff ff ff 00
DHCP/BOOTP: Got extension 3: c0 a8 00 fe
DHCP/BOOTP: Got extension 12: 63 6c 69 65 6e 74 46 53 42 2d 32 33
37 2e 66 73 62 2e 6e 65 74 00
DHCP/BOOTP: Got extension 15: 66 73 62 2e 6e 65 74
DHCP/BOOTP: Got extension 40: 46 53 42 6e 69 73
Extension 6 is the nameserver (see config.c for more details) and it is
set as you can see. that is strange....
i'm looking for more hints. hope this will help.
regards,
C COLLIN
next prev parent reply other threads:[~2004-12-18 11:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-18 10:15 ip=dhcp problem Charles-Henri Collin
2004-12-18 10:51 ` Andreas Unterkircher
2004-12-18 11:00 ` Jan Engelhardt
2004-12-18 11:52 ` Charles-Henri Collin [this message]
2004-12-18 11:59 ` Martin Josefsson
2004-12-18 12:10 ` Charles-Henri Collin
2004-12-18 12:24 ` Martin Josefsson
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=41C41A09.8040608@free.fr \
--to=charlie.collin@free.fr \
--cc=linux-kernel@vger.kernel.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