On Tue, 2005-12-27 at 09:23 -0800, bernd wrote:
On Tuesday 27 December 2005 04:53, Ken Schneider wrote: <snip>
127.0.0.1 localhost 192.168.1.100 officesuse.koepsell officesuse
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts 192.168.1.101 paf.koepsell paf 127.0.0.2 suse.koepsell suse
Why do you have this entry, it is not needed and is confusing. Delete it.
I did not manually add the 127.0.0.2, so I "assumed" it was necessary.
OK. It had to added by something as it is certainly not the default entry for everyone, perhaps something youo set in YaST.
# with -R. If you only want to keep your searchlist, set # DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or # (manually) use the -K option. # ### END INFO search ver 69.28.32.180
Is this just a typo?
Is what a typo???
The search criteria should be a domain name not an IP address.
nameserver 69.28.32.16 nameserver 69.28.32.180
<snip>
If you are going to use DHCP then leave the /etc/hosts files alone. You are causing one naming system to fight with the other. Either use DHCP or the hosts file, not both. If this is not a small lab setup why use DHCP at all? Each machine needs to be asigned one address, which is what DHCP will do if setup correctly. You also have three different host names but only show the /etc/hosts file for two. The three host names: paf.koepsell 192.168.1.101 officesuse.koepsell 192.168.1.100 and 127.0.0.2 suse.koepsell 192.168.1.102 and 127.0.0.2
Deleting 127.0.0.2 on both machines!
paf.koepsell is a windoze machine. I have changed its' hosts and lmhosts files to reflect the correct addresses.
I have changed the hosts files to reflect the correct ip's for each suse machine also.
My ip's are set by my linksys routers dhcp server. The /etc/hosts does not automatically change to reflect any changes in the ip's from the linksys router.
That's because DHCP is dynamic and /etc/hosts is static.
Should I disable the linksys routers dhcp server and set static addresses??? I have 3 machines, and at most will have 2 more in the future.
As I stated earlier, if you are going to use DHCP ( does not matter what provides it ) do not add or change the /etc/hosts file and use the Linksys router IP address for the first DNS server entry. This can be set in the Linksys router, I know as I use one. Either use a static environment or dynamic on your PC's but not both or you will at some point run into problems and get lost trying to figure out where the problem is. And make sure you assign IP's that are not in the same range as the DHCP addresses in the Linksys router. You can still run the DHCP setup on the Linksys router for any guests that may stop by for a visit. For a small network like yours I suggest you stick with a static setup as it will be much easier to maintain. Use static /etc/hosts and /etc/resolv.conf files I used to work in a mid sized company with over 60 offices and over 1000 PC's and DHCP was much easier to use in that context. If you need any further help post another message to the list. That's what the "old timers" on this list are here for. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998