Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-09-2002, 03:02 PM   #1
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
hostname and dhcping

I am using a dhcp server and nat featured offer by a netgear router to hook up my home network.
but I want to be able to ping other computer using their hostname...I can do that by specifying in /etc/hosts...but what if their ip changed when lease is renewed?
Is there a way that dhcpd is smart enough to ask the router the current ip and hostname that the ip is assigned to?
In fact, is there way for dhcpd to autometically update list of DNS from router? Right now, I am specifying and wonder what happen if my dsl connection restarts and DNS ip is changed...
Old 10-09-2002, 03:35 PM   #2
Registered: Sep 2002
Location: somewhere
Distribution: gentoo
Posts: 123

Rep: Reputation: 15
Are you running a DNS internally withing your network?

By default dhcpd takes the last lease it had. you should notice that over time, none of hte IPs on your network ever change....
Old 10-09-2002, 04:07 PM   #3
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
I have actually noticed that IP does change over time...when the router decided it's time to renew and some of the computer is not docked (say, a laptop) will skip assigning ip to them...
another thing is that I don't know how the router keeps DNS ip, but I have a dynamic ip dsl account, from time to time, the DNS ip changes when I read the router config. page.


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
hostname changes R153-Ab0V3 Linux - Newbie 6 01-10-2004 11:36 PM
hostname rstmn957 Mandriva 4 09-22-2003 09:23 AM
Hostname jpauls104 Slackware 5 07-28-2003 12:16 PM
Hostname _maco_ Linux - General 3 07-07-2003 07:44 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 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