Tuesday, June 29, 2010

Network configuration files

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Network configuration files:


/etc/resolv.conf


Alternative to /etc/hosts file is Domain Name Service (DNS). In Linux the DNS is implemented using bind i.e. (Berkley Internet Name Domain). It uses named daemon. If we have IP addresses of DNS servers, we can make entry of all of them in /etc/resolv.conf file. This also is a simple file. In this file the DNS server’s entry is mentioned as nameserver and can be ISP defined DNS server’s address. This is shown as follows:


nameserver 202.56.230.6


/etc/sysconfig/network


This file stores the basic network configuration data. If we have any problem in our network, we must have a look in this file. The first entry in this file is NETWORKING=yes. Few of the other variables are show hereunder:


Variables Details


NETWORKING This can be YES for starting networking or NO for stopping it.

HOSTNAME This defines the host name of the computer

GATEWAY Defines the computer’s gateway IP address

GATEWAYDEV This defines the network device, as eth0, which is connected to the network with gateway. It is required if we have two or more cards on the system.

NISDOMAIN It happens to be the domain name of NIS system


No comments:

Post a Comment