source: BOOK/network/common/dhcp.xml @ 4112469

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 4112469 was 4112469, checked in by William Harrington <kb0iic@…>, 5 years ago

Redo some text based on the clfs-network-scripts.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-network-dhcp">
9  <?dbhtml filename="network-dhcp.html"?>
10
11  <title>DHCP Networking Configuration</title>
12
13  <sect2>
14    <title>Creating the DHCP Network Interface Configuration Files</title>
15
16    <para>The following is an example for the eth0 interface. Create the
17    <filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename>
18    configuration file using the following commands. Adjust appropriately for
19    additional interfaces:</para>
20
21<screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp;
22cat &gt; ifconfig.eth0 &lt;&lt; "EOF"
23<literal>SERVICE="dhcpcd"
24
25# Start Command for DHCPCD
26DHCP_START="-q"
27
28# Stop Command for DHCPCD
29DHCP_STOP="-k"</literal>
30EOF</userinput></screen>
31
32    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33    href="static.xml"
34    xpointer="xpointer(//*[@os='var-ob'])"/>
35
36    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37    href="static.xml"
38    xpointer="xpointer(//*[@os='var-s'])"/>
39
40    <para>The <envar>DHCP_START</envar> and <envar>DHCP_STOP</envar> variables
41    arguments that are passed onto <filename>dhcpcd</filename> when starting
42    and stoppping the service. More information about what can be passed can
43    be found in the <filename>dhcpcd(8)</filename> man page.</para>
44
45    <para>To configure another Static Interface, Follow <xref linkend="ch-network-static"/>.</para>
46
47  </sect2>
48
49</sect1>
Note: See TracBrowser for help on using the repository browser.