-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-07-24 at 06:29 -0600, Donald D Henson wrote:
It is easier to give your machines fixed IPs and names.
Let me see if I have this straight. I can set most of my hosts to static IP addresses by using /etc/hosts to define them. Then, those few mobile assets that move from LAN to LAN can still use DHCP, both on the same LAN. Right?
More or less. .-) In the dhcp server you define a range for dhcp, and leave some aside to use as fixed. Even a cheap ADSL router from the telco has this facility. They are ranges inside the same LAN. In each machine that is going to act as a server of some kind, you edit the network settings (yast) to give it a fixed IP instead of getting an automatic one via dhcp. You will also have to assign the dns to use and default gateway (they were assigned via dhcp previously). On all machines that are going to use those servers you edit the /etc/hosts file to give names to those IPs you are going to access. This file does not define IPs, but arbitrary names to be used by that machine only to access the given IP numbers. On another machine the same IP may have a different name: not an error, but an inconsistency and a nuisance, which is usually overcome by creating your own local DNS server, for example. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIiJ1dtTMYHG2NR9URAn7bAJ9LL15yUCoUHOmTVSCkKMbz/BBRCQCdGkY5 kmNSN92/t/V4t6VB8q4KmC0= =9j+r -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org