Prev | Current Page 414 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

(Chapter 18 describes how to use NAT or IP
Masquerading and how to use Linux as a router.)
189
Getting on the Internet 5
6. Click OK in the Ethernet Device window to save the configuration and close the window.
7. Click File???Save to save the information you entered.
8. Click Activate in the Network Configuration window to start your connection to the LAN.
Identifying Other Computers (Hosts and DNS)
Each time you use a name to identify a computer, such as when browsing the Web or using an
e-mail address, the computer name must be translated into an IP address. To resolve names to IP
addresses, Linux goes through a search order (usually based on the contents of three files in /etc:
resolv.conf, nsswitch.conf, and host.conf). By default, it checks hostnames you add
yourself (which end up in the /etc/hosts file), hosts available via NIS, and hostnames available
via DNS.
Again, for RHEL and Fedora systems, you can use the Network Configuration window to add the
following:
 Hostnames??”You might do this to identify hosts on your LAN that are not configured
on a DNS server.
 DNS search path??”By adding domain names to a search path (such as linuxtoys.net),
you can browse to a site by its hostname (such as jukebox), and have Linux search the
domains you added to the search path to find the host you are looking for (such as
jukebox.


Pages:
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426