Re: DHCP & DNS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux