Article View: alt.linux
Article #948Re: dhcpd
From: Noah Roberts
Date: Fri, 11 Feb 2005 17:06
Date: Fri, 11 Feb 2005 17:06
44 lines
2524 bytes
2524 bytes
Henk Salomons wrote:
> Hi,
>
> I'm a new be at linux I try to set up a dhcpd service. So i can
share
> my internet (ADSL) connection. The problem is that my client (win
2000)
> computer is given a ip number, but it is incorect. For exemple
196.128.0.54
> with subnet 255.255.0.0 !!!!
>
> while this is my dhcpd.conf file.
>
> subnet 192.168.0.1 netmask 255.255.255.0{
> range 192.168.0.2 192.168.0.50;
> }
>
> What am i doing wrong???
>
> ps. When i use mandrake's drakconnenct (or somthing), i get a
> dhcpd.conf.orig file instead of the dhcpd.conf file. Even then it
goes
> wrong..
>
Mine:
subnet 10.4.0.0 netmask 255.255.0.0 {
authoritive;
option subnet-mask 255.255.0.0;
option broadcast-address 10.4.255.255;
I think you may need to specify option subnet-mask to send to clients.
The external one might be more of an identifier and the internal one is
configuration information for clients.
DHCPD seems to use the "subnet xx.xx.0.0 netmask 255.255.0.0" to
identify the interface it is listening to for that configuration. I
think it possible that it isn't considered configuration information.
I am not going to test my machine because it is production, but maybe
that helps you...maybe not.
> Greetings Henk.
Technical Details
Message-ID:
<1108141599.800001.30170@z14g2000cwz.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mailReferences:
<cuihic$sa5$1@reader08.wxs.nl>Show Full Headers
Complete Article Headers
X-Google-Thread: 100c5f,237cc808a0c99241 X-Google-Thread: f8a83,237cc808a0c99241 X-Google-Thread: 10669a,237cc808a0c99241 X-Google-Thread: 110e91,237cc808a0c99241 X-Google-Attributes: gid100c5f,gidf8a83,gid10669a,gid110e91,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: "Noah Roberts" <nroberts@stmartin.edu> Newsgroups: alt.linux,alt.os.linux.mandrake,comp.os.linux.networking,cz.comp.linux.mandrake Subject: Re: dhcpd Date: 11 Feb 2005 09:06:39 -0800 Organization: http://groups.google.com Lines: 45 Message-ID: <1108141599.800001.30170@z14g2000cwz.googlegroups.com> References: <cuihic$sa5$1@reader08.wxs.nl> NNTP-Posting-Host: 216.186.42.218 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1108141604 18296 127.0.0.1 (11 Feb 2005 17:06:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 11 Feb 2005 17:06:44 +0000 (UTC) In-Reply-To: <cuihic$sa5$1@reader08.wxs.nl> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=216.186.42.218; posting-account=OoEHHQwAAABflQQ0wCmtBDHLv1gQjkUF