On Friday 06 January 2006 14:20, Doctor Who wrote:
I have several machines on my internal network. They are all currently connected to the Internet via a Netgear router and receive their IP addresses via DHCP from the router. For the sake of consistincy, I would like to give them all static IPs on the internal network and then place entries in the /etc/hosts files so that I can more easily do file transfers and such (ssh, scp, etc.) between them.
I'm running SUSE 10 and wanted to know what information I need (besides the IP address for each I want to use) to do this. For example, if they all have and address of the format 192.168.0.x, the subnet mask will be 255.255.255.0, but do I need to get the nameservers and domain search entries from my ISP? Or can I still get those via DHCP?
Thanks.
1) Set up the static IP addresses *outside* the range of the routers DHCP addresses (on the LAN side) 2) Put your names and IP addresses in /etc/hosts 3) In /etc/resolv.conf, point to your router for DNS resolution. 4) For each of the static LAN cards, point to the router as the default gateway. That's it. The above can all be done in one swoop with yast, doing the above settings.