[ale] DHCP config

Scott Nolde smnolde-linux at mindspring.com
Fri Jul 9 09:35:11 EDT 1999


Amazing... I got it to work.  I blanked out all DNS setting in the
laptop and added the line
	option routers 10.0.0.1 ;
AND IT WORKED!

Thanks much.  I'll see if the admin guys at the office can set their
DHCP to send DNS info.

- Scott

Daniel Boyd wrote:
> 
> There are indeed DHCP parameters such as DNS servers and
> default gateways, however, if you have these preconfigured on the
> laptop they will override any settings the DHCP server will attempt
> to pass.
> 
> >From your message I have to assume that the only thing your work
> DHCP server hands out is IP address.  You have a sticky config
> situation to work out then, since you must preconfig the DNS and
> gateway for the laptop to function at work, yet these settings
> interfere with the ability to config all of this from DHCP at home.
> 
> Speak with your net admin if you can and find out exactly what
> your laptop acquires from the DHCP server at work.
> 
> BTW, the parameters you need in your dhcpd.conf (inserted in the
> "options" area) are:
> 
> option routers xxx.xxx.xxx.xxx;
> option domain-name-servers xxx.xxx.xxx.xxx(,xxx.xxx.xxx.xxx);
> 
> We hand out three DNS servers on our system (one is off site, in
> case our whole world explodes).
> 
> Good luck
> 
> Dan
> 
> Date sent:              Thu, 08 Jul 1999 23:17:56 -0400
> From:                   Scott Nolde <smnolde-linux at mindspring.com>
> To:                     ale at ale.org
> Subject:                [ale] DHCP config
>         boundary="------------EC554B6D92CCF42CB572B145"
> 
> >
> > 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
> > ------------------------------------------------
> 
> Daniel Boyd, CNA              Voice: 706/236-1750
> Network Manager               Fax: 706/238-7858
> Computing and Technology      email: dboyd at berry.edu
> Berry College         "We are confronted with
>                        insurmountable opportunities."
>                              -Walt Kelly

-- 
------------------------------------------------
                 Scott Nolde
         smnolde-linux at mindspring.com
------------------------------------------------






More information about the Ale mailing list