aboutsummaryrefslogtreecommitdiffstats
path: root/docs/mcc-help/sv/drakwizard_dhcp.xml
blob: ee6212e9aa01427d8970ec05db5e04c009f98bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xml:lang="sv" xml:id="drakwizard_dhcp"
         xmlns="http://docbook.org/ns/docbook"
         xmlns:ns5="http://www.w3.org/1998/Math/MathML"
         xmlns:ns4="http://www.w3.org/2000/svg"
         xmlns:ns3="http://www.w3.org/1999/xhtml"
         xmlns:ns2="http://www.w3.org/1999/xlink"
         xmlns:ns="http://docbook.org/ns/docbook">
  <info>
    <title xml:id="drakwizard_dhcp-ti1">Anpassa DHCP</title>

    <subtitle>drakwizard dhcp</subtitle>
  </info>

  <mediaobject>
    <imageobject>
      <imagedata align="center" fileref="drakwizard_dhcp.png" format="PNG"
                 revision="1" xml:id="drakwizard_dhcp-im1"/>
    </imageobject>
  </mediaobject>

  <para>This tool<footnote>
      <para>Du kan köra det här verktyget från en konsol genom att skriva <emphasis
role="bold">drakwizard dhcp</emphasis> som root.</para>
    </footnote> can help you to set up a
<acronym>DHCP</acronym> server. It is a component of drakwizard which should
be installed before you can access to it.</para>

  <section>
    <title>Vad är DHCP?</title>

    <para>The Dynamic Host Configuration Protocol (<acronym>DHCP</acronym>) is a
standardized networking protocol used on IP networks that dynamically
configures IP addresses and other information that is needed for Internet
communication. (From Wikipedia)</para>
  </section>

  <section>
    <title>Setting up a DHCP server with drakwizard dhcp</title>

    <para>Welcome to the DHCP server wizard.</para>

    <procedure>
      <step>
        <title>Presentation</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="drakwizard-dhcp-step1.png"
                       format="PNG" revision="1" xml:id="drakwizard_dhcp-im2"/>
          </imageobject>
        </mediaobject>

        <para>The first page is just an introduction, click <guibutton>Next</guibutton>.</para>
      </step>

      <step>
        <title>Selecting Adaptor</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="drakwizard-dhcp-step2.png"
                       format="PNG" revision="1" xml:id="drakwizard_dhcp-im3"/>
          </imageobject>
        </mediaobject>

        <para>Choose the network interface, which is connected to the subnet, and for
which DHCP will assign IP addresses, and then click
<guibutton>Next</guibutton>.</para>
      </step>

      <step>
        <title>Select IP range</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="drakwizard-dhcp-step3.png"
                       format="PNG" revision="1" xml:id="drakwizard_dhcp-im4"/>
          </imageobject>
        </mediaobject>

        <para>Select the beginning and ending IP addresses of the range of IPs you want
the server to offer, along with the IP of the gateway machine connecting to
some place outside the local network, hopefully close to the Internet, then
click <guibutton>Next</guibutton>.</para>
      </step>

      <step>
        <title>Sammanfattning</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="drakwizard-dhcp-step4.png"
                       format="PNG" revision="1" xml:id="drakwizard_dhcp-im5"/>
          </imageobject>
        </mediaobject>

        <para>Take a second to check these options, then click
<guibutton>Next</guibutton>.</para>
      </step>

      <step>
        <title>Vänta...</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="drakwizard-dhcp-step5.png"
                       format="PNG" revision="1" xml:id="drakwizard_dhcp-im6"/>
          </imageobject>
        </mediaobject>

        <para>This can be fixed. Click <guibutton>Previous</guibutton> a few times and
change things around.</para>
      </step>

      <step>
        <title>Flera timmar senare...</title>

        <mediaobject>
          <imageobject>
            <imagedata align="center" fileref="drakwizard-dhcp-step6.png"
                       format="PNG" revision="1" xml:id="drakwizard_dhcp-im7"/>
          </imageobject>
        </mediaobject>
      </step>
    </procedure>
  </section>

  <section>
    <title>What is done</title>

    <para><itemizedlist>
        <listitem>
          <para>Installing the package dhcp-server if needed;</para>
        </listitem>

        <listitem>
          <para>Saving <code>/etc/dhcpd.conf</code> in <code>/etc/dhcpd.conf.orig;</code></para>
        </listitem>

        <listitem>
          <para>Creating a new <code>dhcpd.conf</code> starting from
<code>/usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default</code> and
adding the new parameters:</para>

          <itemizedlist>
            <listitem>
              <para><code>hname</code></para>
            </listitem>

            <listitem>
              <para><code>dns</code></para>
            </listitem>

            <listitem>
              <para>net</para>
            </listitem>

            <listitem>
              <para>ip</para>
            </listitem>

            <listitem>
              <para><code>mask</code></para>
            </listitem>

            <listitem>
              <para><code>rng1</code></para>
            </listitem>

            <listitem>
              <para><code>rng2</code></para>
            </listitem>

            <listitem>
              <para><code>dname</code></para>
            </listitem>

            <listitem>
              <para><code>gateway</code></para>
            </listitem>

            <listitem>
              <para><code>tftpserverip</code></para>
            </listitem>

            <listitem>
              <para><code>dhcpd_interface</code></para>
            </listitem>
          </itemizedlist>
        </listitem>

        <listitem>
          <para>Also modifying Webmin configuration file
<code>/etc/webmin/dhcpd/config</code></para>
        </listitem>

        <listitem>
          <para>Startar om <code>dhcpd.</code></para>
        </listitem>
      </itemizedlist></para>
  </section>
</section>