aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs/stable/mcc-help/hi/drakwizard_dhcp.xml
blob: 001d2c90b9e9941611914a24798d7ab38c692900 (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
<?xml version='1.0' encoding='utf-8'?><section 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" version="5.0" xml:lang="hi" xml:id="drakwizard_dhcp">
  <info>
    <title xml:id="drakwizard_dhcp-ti1">डी०एच०सी०पी० संरचना</title>

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

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

  <para><note>
      <para>This tool is broken in Mageia 4 because of new naming scheme for the Net
interfaces</para>
    </note></para>

  <para>This tool<footnote>
      <para>You can start this tool from the command line, by typing <emphasis
role="bold">drakwizard dhcp</emphasis> as 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>What is 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>परिचय</title>

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

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

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

        <mediaobject>
          <imageobject>
            <imagedata xml:id="drakwizard_dhcp-im3" revision="1" align="center" format="PNG" fileref="drakwizard-dhcp-step2.png"/>
          </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 revision="1" align="center" fileref="drakwizard-dhcp-step3.png" format="PNG" 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>सारांश</title>

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

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

      <step>
        <title>Hold on...</title>

        <mediaobject>
          <imageobject>
            <imagedata fileref="drakwizard-dhcp-step5.png" revision="1" align="center" format="PNG" 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>Hours later...</title>

        <mediaobject>
          <imageobject>
            <imagedata revision="1" fileref="drakwizard-dhcp-step6.png" align="center" format="PNG" 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>Restarting <code>dhcpd.</code></para>
        </listitem>
      </itemizedlist></para>
  </section>
</section>