Securing and Optimizing Linux:RedHat Edition | All about OS

Files related to networking functionality

Категория: Securing and Optimizing

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 if for the hostdeep.openna.com. Anothernamefordeep.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.
• To restart your network, use the following command: [root@deep /]# /etc/rc.d/init.d/network restart
Setting network parameters [ OK ]
Bringing up interface lo [ OK ]
Bringing up interface ethO [ OK ]
Bringing up interface eth1 [ OK ]
IMPORTANT NOTE: Time out problems for telnet or ftp connection are often caused by the server trying to resolve the client IP address to a DNS name. Either DNS isn’t configured properly on your server or the client machines aren’t known to DNS. If you intend to run telnet or ftp services on your server, and aren’t using DNS, don’t forget to add the client machine name and IP in your “/etc/hosts” file on the server or you can expect to wait several minutes for the DNS lookup to time out, before you get a login: prompt.

Страниц: 1 2 3 4 5

« Install more than one Ethernet Card per Machine
Configuring TCP/IP Networking manually with the command line »