Address 192168664 netmask 2552552550 gateway 19216861

The auto line in this entry states that the interface eth0 will be automatically enabled when the system starts. The iface line in this entry identifies the beginning of the interface definition for eth0, which is a TCP/IP (inet) device with static configuration. The next three lines define the IP address, netmask, and gateway for that Ethernet interface.

Manual DNs configuration

If your network interfaces use static IP addresses, your system will not obtain general network configuration information such as DNS server addresses from a DHCP server. You should, therefore, manually create and populate the file /etc/resolv.conf that your system uses to identify its name servers. A sample /etc/ resolv.conf file that uses open DNS servers from OpenDNS.org is the following:

Was this article helpful?

+1 0
Get Paid to Take Digital Photos

Get Paid to Take Digital Photos

Reasonable care has been taken to ensure that the information presented in this book isĀ  accurate. However, the reader should understand that the information provided does not constitute legal, medical or professional advice of any kind.

Get My Free Ebook


Post a comment