Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcpd configuration

Reply
Thread Tools Display Modes

dhcpd configuration

 
 
Marty Koekemoer
Guest
Posts: n/a

 
      08-23-2003, 10:17 AM
Hi,

Can someone please explain to me how to make the following work, I've searched the
net and read the relevant man pages without any success.

I had a RedHat 9 server configured as a gateway between my lan and my ISP using an
ADSL PPP connection. I used dhcpd to supply dynamic IP's and DNS infromation to the
PC's on my LAN. This worked great.

Now I get my internet feed from a network in my building and they supply IP's and DNS
info dynamically with DHCP. I've configured my gateway computer to connect to the
network with DHCP and to obtain DNS info. That works fine, I can browse the web just
fine from that computer. However, how do I now pass the DNS info on to the PC's on
my LAN? Just using my gateway computer's IP (on the LAN) as the domain-name-servers
setting doesn't work.

Please explain to me what else I need to configure to get this to work.

Regards,
Marty
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      08-23-2003, 12:02 PM

"Marty Koekemoer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Can someone please explain to me how to make the following work, I've

searched the
> net and read the relevant man pages without any success.
>
> I had a RedHat 9 server configured as a gateway between my lan and my ISP

using an
> ADSL PPP connection. I used dhcpd to supply dynamic IP's and DNS

infromation to the
> PC's on my LAN. This worked great.
>
> Now I get my internet feed from a network in my building and they supply

IP's and DNS
> info dynamically with DHCP. I've configured my gateway computer to

connect to the
> network with DHCP and to obtain DNS info. That works fine, I can browse

the web just
> fine from that computer. However, how do I now pass the DNS info on to

the PC's on
> my LAN? Just using my gateway computer's IP (on the LAN) as the

domain-name-servers
> setting doesn't work.
>
> Please explain to me what else I need to configure to get this to work.
>


Maybe the easiest way is to set up a caching nameserver into the gateway
computer.

IMHO, full Bind is an overkill here - my favourite is dnsmasq
(<http://thekelleys.org.uk/dnsmasq/doc.html>).

HTH

Tauno Voipio
tauno voipio @ iki fi



 
Reply With Quote
 
Marty Koekemoer
Guest
Posts: n/a

 
      08-24-2003, 04:34 AM
In article <EJI1b.128$(E-Mail Removed)>, (E-Mail Removed)lid
says...
>
> Maybe the easiest way is to set up a caching nameserver into the gateway
> computer.
>
> IMHO, full Bind is an overkill here - my favourite is dnsmasq
> (<http://thekelleys.org.uk/dnsmasq/doc.html>).
>


thanks, that would propably be the cleanest solution, however for now I've just
written a script to intermittantly poll /etc/resolv.conf and dynamically build a
dhcpd.conf file containing this dns address when it changes.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS & DHCPD Hosam Linux Networking 3 01-28-2008 07:30 PM
dhcpd pechoi@syr.edu Linux Networking 0 06-08-2006 03:15 PM
How do you set up a "Dynamic" DHCPD configuration? Bruce Lytle Linux Networking 2 05-28-2006 02:25 PM
dhcpd Henk Salomons Linux Networking 6 02-11-2005 05:08 PM
dhcpd in dmz ? peter pilsl Linux Networking 3 10-30-2004 08:35 PM



1 2 3 4 5 6 7 8 9 10 11