Re: DHCP & DNS



zephod@xxxxxxxxxx wrote:
---- Dave Burns <tburns@xxxxxxxxxx> wrote:
My lazy ignorant suggestion is to reconfigure the router so that you
know the IP of the two boxes will not change and then use /etc/hosts.

Yes, I know I could do that. It's OK when there are only 2 boxes but what if I had a small office setup with, say, 100 PCs. It's not so practical then. I'm interested in finding out if there is another way to make this work.

Steve

On 10/21/07, zephod@xxxxxxxxxx <zephod@xxxxxxxxxx> wrote:
I think my understanding is a little lacking on this subject (one of many).

Here is my simple and, I suspect, very common setup: 2 PCs, one FC6 Linux, one Windows Vista and a Linksys wireless router. A DHCP server on the Linksys determines the IP addresses of the 2 machines.

My question is: is it possible for either machine to ping the other without having to make an entry in its local hosts file? Making entries in the hosts file doesn't seem like a good idea since the IP address could, in theory, change.
The Linksys is a WRT54G and I don't think that it contains a DNS server. The names of my 2 machine should never get to a public DNS router since they are on a private network.

Steve

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

I was told by an expert to put my own ip and the ip of my DNS servers in /etc/hosts/ and it now looks like this:

[karl@k5di ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
216.31.109.91 k5di.com
216.234.192.92 nameserver
216.234.213.130 nameserver

So you should do the same thing I think.



--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Help understanding nameservers
    ... The router magically sets up DNS servers through DHCP when it logs into ... Those are DNS machines used by your Dial-Up provider to enable its customers ... Your router does not have its own nameserver. ...
    (comp.os.linux.networking)
  • Re: Proper rules/procedures for setting up DNS/Default Gateways
    ... I recently replaced my 'server' ... > and DNS addresses are static but the same as the WAN side. ... When I do DNS on myself, I use 127.0.0.1 for nameserver. ... > even on the clients and both interfaces on the dual ported server. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Problem with domain name server in intrepid
    ... I think Kjertil's problem was the DNS servers, so I am not sure the above ... nameserver xxx.xxx.xxx.xxx ... "Perhaps there is no such thing as unilateral power. ... But the myth of power is, of course, a very powerful myth, and ...
    (Ubuntu)
  • Re: Troubleshooting connection loss (continued)
    ... is there might be a loose connection inside the modem. ... There are settings which define where and what for DNS search order. ... nameserver 0.238.0.12 ...
    (comp.os.linux.networking)
  • Antwort: Re: timeout by DNS? [Virus checked]
    ... nameserver was crashed, the second entry should function after 5 seconds. ... a DNS query will wait a total of 75 seconds before ... The timeout is defined by two values: ...
    (AIX-L)