329
Chapter 21:
Introduction to Linux Systems Administration
Changing Your IP Address
In most cases, if a system is configured to use DHCP to acquire its IP address, you
should not change the IP address setting. However, at times you will need to set a static
IP address on a system. To change the IP address of your system, click the Edit button
in the toolbar at the top of the Network Configuration window. This brings up the
Ethernet Device dialog box, as shown in Figure 21-6.
Click the Statically Set IP Addresses option button. Then enter the appropriate IP
address information in the Manual IP Address Settings fields. Once you have made all
of your selections, click OK to accept the changes.
Adding Entries to the /etc/hosts File
The /etc/hosts file contains a list of hostname-to-IP mappings. Most systems use
this list so that they can find other machines on the network if DNS ever becomes
inaccessible. Typical entries include the host itself, servers for common services
(such as the DNS server), and gateway entries.
Figure 21-6.
Changing Ethernet device settings
Summary :
329 Chapter 21: Introduction to Linux Systems Administration Changing Your IP Address In most cases, if a system is configured to use DHCP to acquire its IP address, you should not change the IP address setting.
Tags :
address,click,system,entries,ethernet,systems,deice,etchosts,216,figure,network,dns,use