Changeset 593f554e for BOOK/network/common
- 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
- Location:
- BOOK/network/common
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/choose.xml
r89bc6ed r593f554e 6 6 ]> 7 7 8 <sect1 id="ch-ne wtork-choose">8 <sect1 id="ch-network-choose"> 9 9 <?dbhtml filename="choose.html"?> 10 10 11 11 <title>Use DHCP or to Static Networking?</title> 12 12 13 <para os="a"> There are two different ways you can proceed from this point 13 <indexterm zone="ch-network-choose"> 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 configured. If 18 you do not need to configure a network interface you can skip on to 19 <xref linkend="chapter-bootable"/>.</para> 20 21 <para> There are two different ways you can proceed from this point 14 22 to configure your network. Dynamic will allow you to take advantage of 15 23 a DHCP server to get all your configuration information. Static you become 16 24 responsible for setting up your options.</para> 17 25 18 <para os="b">For DHCP Networking, follow <ulink url="dhcp.html"/>.</para>26 <para>To configure a Static Interface, Follow <xref linkend="ch-network-static"/>.</para> 19 27 20 <para os="c">For Static Networking, follow <ulink url="static.html"/>.</para>28 <para>To configure a DHCP Interface, Follow <xref linkend="ch-network-dhcp"/>.</para> 21 29 22 30 </sect1> -
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.