>
>
> Hello Tom
You can always change anything your network commands do.
If you are on a home network you may want to use the host file.
#cat /etc/hosts
Will list the file.
And you can edit it using your favorite editor
example
#vi /etc/hosts
vi always makes a backup of the file you edit by adding a tilde to the file
name ~.hosts
Add all your machine names and addresses to this file.
You can then copy it to your other computers.
And they should communicate just fine.
Here is an example .
9.7. The /etc/hosts file
As your machine gets started, it will need to know the mapping of some
hostnames to IP addresses before DNS can be referenced. This mapping is kept
in the /etc/hosts file. In the absence of a name server, any network program
on your system consults this file to determine the IP address that
corresponds to a host name.
Following is a sample /etc/hosts file:
IPAddress Hostname Alias
127.0.0.1 localhost deep.openna.com
208.164.186.1 deep.openna.com deep
208.164.186.2 mail.openna.com mail
208.164.186.3 web.openna.com web
The leftmost column is the IP address to be resolved. The next column is
that host's name. Any subsequent columns are alias for that host. In the
second line, for example, the IP address 208.164.186.1 is for the host
deep.openna.com. Another name for deep.openna.com is deep.
After you are finished configuring your networking files, don't forget to
restart your network for the changes to take effect.
#sudo service network restart
Hope that helps and gives you an easy way to set up your network.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20100912/7db4581c/attachment.htm