Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Saving the host and IP address data in the /etc/hosts file

Saving the host and IP address  Top

To save the host and IP address information of the Emulated LAN configuration in the /etc/hosts file, complete the following steps.

Step

Action

1

Mount the root file system and add the host and IP address to the /etc/hosts file using a text editor, such as vi.

2

Save your changes.

Sample /etc/hosts file entry  Top

Following is a sample portion of the /etc/hosts file containing the host and IP address information for the ATM adapters:


 
172.20.12.19        myfiler-el0
201.201.201.219     myfiler-el1
201.201.210.219     myfiler-el2
201.201.210.220     myfiler-el3

Additional information for filers with only ATM adapters  Top

If you have a filer that has only ATM adapters, the /etc/hosts file must contain an entry for the filer's host name.

The host name is not displayed as part of the command prompt until you add the host name in one IP entry and reboot the filer. On filers that include other types of network interfaces, the installation setup procedure automatically adds the host name entry to the /etc/hosts file.

Example  Top

Following is the first line in a sample /etc/hosts file:

172.20.12.19        myfiler   myfiler-el0

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments