From 96d63c48733fb845302f04e7300902099844fd75 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Wed, 12 Apr 2006 20:28:56 +0000 Subject: Rewrote section explaining IP Addresses. Thanks Bryan Kadzban and Bruce Dubbs. Resolves Ticket 1663. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7501 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/hosts.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'chapter07/hosts.xml') diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 8680d011e..0b196cefd 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -23,7 +23,7 @@ /etc/hosts If a network card is to be configured, decide on the IP address, - FQDN, and possible aliases for use in the + fully-qualified domain name (FQDN), and possible aliases for use in the /etc/hosts file. The syntax is: <IP address> myhost.example.org aliases @@ -34,17 +34,18 @@ address is in the private network IP address range. Valid ranges are: - Class Networks - A 10.0.0.0 - B 172.16.0.0 through 172.31.0.255 - C 192.168.0.0 through 192.168.255.255 +Private Network Address Range Normal Prefix +10.0.0.1 - 10.255.255.254 8 +172.x.0.1 - 172.x.255.254 16 +192.168.y.1 - 192.168.y.254 24 - A valid IP address could be 192.168.1.1. A valid FQDN for this - IP could be www.linuxfromscratch.org (not recommended because this is - a valid registered domain address and could cause domain name server - issues). + x can be any number in the range 16-31. y can be any number in + the range 0-255. - Even if not using a network card, an FQDN is still required. + A valid private IP address could be 192.168.1.1. A valid FQDN for this + IP could be lfs.example.org. + + Even if not using a network card, a valid FQDN is still required. This is necessary for certain programs to operate correctly. Create the /etc/hosts file by running: -- cgit v1.2.3-54-g00ecf