[ale] DHCP config

David Hamm dhamm at itrepro.com
Fri Jul 9 08:53:59 EDT 1999


Below is the dhcpd.conf file I use as the base when I setup a dhcp server on
our network.
default-lease-time 259200; max-lease-time 518400;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.1.1.1, 10.1.1.100, 10.1.1.200;
option domain-name "atlanta.itserve.com";

subnet 10.6.1.0 netmask 255.255.255.0 {
        option routers 10.6.1.1;
        #option netbios-name-servers 10.1.1.211;
        #option netbios-node-type 0x08;
        range 10.6.1.100 10.6.1.250;
}                         


  On Thu, 08 Jul 1999, Scott Nolde wrote:
> >%_
> This came up in this evening's meeting:
> 
> I have a laptop which I use at work using DHCP to get its IP address. 
> The DNS info is defined for the office environment.  When I bring the
> laptop home, I'd like to connect to my home network, use DHCP to get the
> IP address AND have DHCP set the DNS settings and the default gateway. 
> The DNS info and def gateway settings are important since I'd like to
> share the modem using ipchains (already configured and running).
> 
> Changing the laptop's setting each time is a pain.
> 
> Any special configuration settings?  I'm using NT 4.0 SP3 on the laptop,
> with a Red Hat 6.0 Linux box at home.  Are there such options as
> default_gatway and nameserver in DHCP?  Should I 
> specify these setting for the laptop's MAC address to help?
> 
> Here's the dhcpd.conf
> 
> subnet 10.0.0.0 netmask 255.255.0.0 {
>         range 10.0.0.3 10.0.0.20 ;
>         option subnet-mask 255.255.0.0 ;
>         option broadcast-address 10.0.0.255 ;
>         }
> 
> 
> Thanks for the help,
> Scott
> 
> ------------------------------------------------
>                  Scott Nolde
>          smnolde-linux at mindspring.com
> ------------------------------------------------
>%_Return-Path: <>
> Received: from smtp3.mindspring.com ([207.69.200.33])
> 	by mx9.mindspring.com (Mindspring Mail Service) with ESMTP id roapfg.l00.37kbi17
> 	for <smnolde-linux at mindspring.com>; Thu, 8 Jul 1999 23:01:04 -0400 (EDT)
> Received: from localhost (localhost)
> 	by smtp3.mindspring.com (8.8.5/8.8.5) with internal id XAA07504;
> 	Thu, 8 Jul 1999 23:01:04 -0400 (EDT)
> Date: Thu, 8 Jul 1999 23:01:04 -0400 (EDT)
> From: Mail Delivery Subsystem <MAILER-DAEMON at mindspring.com>
> Message-Id: <199907090301.XAA07504 at smtp3.mindspring.com>
> To: <smnolde-linux at mindspring.com>
> MIME-Version: 1.0
> Content-Type: multipart/report; report-type=delivery-status;
> 	boundary="XAA07504.931489264/smtp3.mindspring.com"
> Subject: Returned mail: User unknown
> Auto-Submitted: auto-generated (failure)
> X-Mozilla-Status2: 00000000
> 
> This is a MIME-encapsulated message
> 
> --XAA07504.931489264/smtp3.mindspring.com
> The original message was received at Thu, 8 Jul 1999 23:01:02 -0400 (EDT)
> from user-38lc9p6.dialup.mindspring.com [209.86.39.38]
> 
>    ----- The following addresses had permanent fatal errors -----
> <ale. at ale.org>
> 
>    ----- Transcript of session follows -----
> ... while talking to als.ale.org.:
> >>>> RCPT To:<ale. at ale.org>
> <<< 550 <ale. at ale.org>... User unknown
> 550 <ale. at ale.org>... User unknown
> 
> --XAA07504.931489264/smtp3.mindspring.com
> Content-Type: message/delivery-status
> 
> Reporting-MTA: dns; smtp3.mindspring.com
> Received-From-MTA: DNS; user-38lc9p6.dialup.mindspring.com
> Arrival-Date: Thu, 8 Jul 1999 23:01:02 -0400 (EDT)
> 
> Final-Recipient: RFC822; ale. at ale.org
> Action: failed
> Status: 5.1.1
> Remote-MTA: DNS; als.ale.org
> Diagnostic-Code: SMTP; 550 <ale. at ale.org>... User unknown
> Last-Attempt-Date: Thu, 8 Jul 1999 23:01:04 -0400 (EDT)
> 
> --XAA07504.931489264/smtp3.mindspring.com
> Content-Type: message/rfc822
> 
> Return-Path: <smnolde-linux at mindspring.com>
> Received: from mindspring.com (user-38lc9p6.dialup.mindspring.com [209.86.39.38])
> 	by smtp3.mindspring.com (8.8.5/8.8.5) with ESMTP id XAA29889
> 	for <ale. at ale.org>; Thu, 8 Jul 1999 23:01:02 -0400 (EDT)
> Sender: scott
> Message-ID: <378566F5.D569F672 at mindspring.com>
> Date: Thu, 08 Jul 1999 23:05:25 -0400
> From: Scott Nolde <smnolde-linux at mindspring.com>
> X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
> X-Accept-Language: en
> MIME-Version: 1.0
> To: ale. at ale.org
> Subject: DHCP conf
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> This came up in this evening's meeting:
> 
> I have a laptop which I use at work using DHCP to get its IP address. 
> The DNS info is defined for the office environment.  When I bring the
> laptop home, I'd like to connect to my home network, use DHCP to get the
> IP address AND have DHCP set the DNS settings and the default gateway. 
> The DNS info and def gateway settings are important since I'd like to
> share the modem using ipchains (already configured and running).
> 
> Changing the laptop's setting each time is a pain.
> 
> Any special configuration settings?  I'm using NT 4.0 SP3 on the laptop,
> with a Red Hat 6.0 Linux box at home.  Are there such options as
> default_gatway and nameserver in DHCP?  Should I 
> specify these setting for the laptop's MAC address to help?
> 
> Here's the dhcpd.conf
> 
> subnet 10.0.0.0 netmask 255.255.0.0 {
> 	range 10.0.0.3 10.0.0.20 ;
> 	option subnet-mask 255.255.0.0 ;
> 	option broadcast-address 10.0.0.255 ;
> 	}
> 
> 
> Thanks for the help,
> Scott
> 
> ------------------------------------------------
>                  Scott Nolde
>          smnolde-linux at mindspring.com
> ------------------------------------------------
> 
> --XAA07504.931489264/smtp3.mindspring.com--
> 
> 

--
---------------------------------
David Hamm
Systems Analyst
Imaging Technologies Services Inc.
email: dhamm at itrepro.com
voice: 404-870-6663
---------------------------------






More information about the Ale mailing list