Changeset 593f554e for BOOK/network/common/static.xml
- Timestamp:
- Mar 2, 2009, 11:13:12 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 5412eda
- Parents:
- 89bc6ed
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/static.xml
r89bc6ed r593f554e 6 6 ]> 7 7 8 <sect1 id="ch-network-static -network">9 <?dbhtml filename="network .html"?>8 <sect1 id="ch-network-static"> 9 <?dbhtml filename="network-static.html"?> 10 10 11 <title>Configuring the network Script</title> 12 13 <indexterm zone="ch-network-static-network"> 14 <primary sortas="d-network">network</primary> 15 <secondary>configuring</secondary></indexterm> 16 17 <para>This section only applies if a network card is to be 18 configured.</para> 19 20 <para>If a network card will not be used, there is likely no need to 21 create any configuration files relating to network cards. If that is 22 the case, remove the <filename class="symlink">network</filename> 23 symlinks from all run-level directories (<filename 24 class="directory">/etc/rc.d/rc*.d</filename>).</para> 11 <title>Static Networking Configuration</title> 25 12 26 13 <sect2> 27 <title>Creating Network Interface Configuration Files</title>14 <title>Creating the Static Network Interface Configuration Files</title> 28 15 29 16 <para>Which interfaces are brought up and down by the network script … … 77 64 <envar>PREFIX</envar> variable according to your specific subnet.</para> 78 65 79 </sect2> 80 81 <sect2 id="resolv.conf"> 82 <title>Creating the /etc/resolv.conf File</title> 83 84 <indexterm zone="resolv.conf"> 85 <primary sortas="e-/etc/resolv.conf">/etc/resolv.conf</primary> 86 </indexterm> 87 88 <para>If the system is going to be connected to the Internet, it will 89 need some means of Domain Name Service (DNS) name resolution to 90 resolve Internet domain names to IP addresses, and vice versa. This is 91 best achieved by placing the IP address of the DNS server, available 92 from the ISP or network administrator, into 93 <filename>/etc/resolv.conf</filename>. Create the file by running the 94 following:</para> 95 96 <screen><userinput>cat > /etc/resolv.conf << "EOF" 97 <literal># Begin /etc/resolv.conf 98 99 domain <replaceable>[Your Domain Name]</replaceable> 100 nameserver <replaceable>[IP address of your primary nameserver]</replaceable> 101 nameserver <replaceable>[IP address of your secondary nameserver]</replaceable> 102 103 # End /etc/resolv.conf</literal> 104 EOF</userinput></screen> 105 106 <para>Replace <replaceable>[IP address of the nameserver]</replaceable> 107 with the IP address of the DNS most appropriate for the setup. There will 108 often be more than one entry (requirements demand secondary servers for 109 fallback capability). If you only need or want one DNS server, remove the 110 second <emphasis>nameserver</emphasis> line from the file. The IP address 111 may also be a router on the local network.</para> 66 <para>To configure another DHCP Interface, Follow <xref linkend="ch-network-dhcp"/>.</para> 112 67 113 68 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.