LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] DHCP on home LAN?

[ILUG] DHCP on home LAN?

Michael Conry michael.conry at gmail.com
Sun Nov 7 18:33:48 GMT 2004


On Sun, 7 Nov 2004 17:32:11 +0000, Ciaran Mulloy <cmulloy at esatclear.ie> wrote:
> The only difficulty is that not being too familiar with DNS server and found
> the howto somewhat intimidating (just to set up a 4 pc network at home!). I
> can use the scp and sftp commands to move data between machines but I have to
> use the IP address each time. From your post I think all I need to do is
> install pdnsd to be able to use host names. Question will it pick up the fact
> that the DHCP server is running on the Zyxel DSL modem.
If you just install pdnsd, or any dns server, on a computer on your
network, it will have no way of knowing what ipaddressess are being
given to what computer's interfaces by a DHCP server on the network. 
If you set up your dhcp server to always give computer A (or rather
MAC address "A") a particular ip address, then you can reflect this
information in your dns server setup and get the correct
hostname-to-physical_interface mapping by attaching the appropriate
hostname to this ipaddress.

To make this work requires configuration of your dhcp server.  I don't
know the details of your modem, but I looked up a manual of a Zyxel
62something's web interface and the config section for dhcp indicated
that you can create up to 8 pools of  ipaddresses.  A pool can be as
small as one address, and this can be mapped to a specific MAC address
so you can give static local ip addresses to a few hosts, and leave a
pool of floating addresses for any others.  It would appear that you
can also tell the modem to use another internal (or external) dhcp
server.

To get the clients to look to the pdnsd server for dns, you must
insert appropriate information in the DHCP configuration.  Then, you
must ensure that the pdnsd server can get access to outside DNS
servers on the internet in order to be able to get the information it
needs to provide to internal hosts.
m



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell