Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-04-2003, 04:39 AM   #1
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
Dns +dhcp

I'm a newb when it comes to this stuff so could really do with somme help!! I have a small LAN with with 5 hosts running Redhat in various guises from 7.1 to 9. Originally the addresses and names were manually configured no problem, cold ping either hostname or address and get a response. Things started to go pear shaped when I decided to tinker with DHCP and DNS. I successfully (I think) set up DHCP service on the Redhat 9 box and then went to each host and ifconfig eth0 and saw that the assigned address was in the range, and could ping each host address. how do I now set up the Redhat 9 box as a DNS server to resolve the DHCP addresses to hostnames so that I can ping the hostnames from any host and get a reply? Or am I doing something fundamentally wrong!? Tried various books and HOW-TO's but can't seem to make any head way!! Any help will be much appreciated, thanx in advance
Old 07-04-2003, 09:17 AM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
add something like this to your dhcpd.conf file:

host pc-client-01 {
hardware ethernet 08:00:2b:xx:xx:xx;

then, map '' to an IP address in your dns db file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dns + Dhcp james.farrow Linux - Networking 0 06-01-2004 09:15 AM
forward dns from dhcp to dhcp Fark Linux - Networking 3 03-31-2004 10:40 AM
DHCP / DNS Help!! muzicman82 Linux - Wireless Networking 4 02-25-2004 04:59 PM
Dns / Dhcp TheRealDeal Linux - Networking 9 09-19-2003 04:57 AM
dhcp and dns tangle Linux - Networking 7 09-26-2002 06:20 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration