|
283.
|
|
|
A DHCP server can provide configuration settings using two methods:
|
|
|
|
一个 DHCP 服务器可以用两个模式来提供配置设置
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/network-config.xml:899(para)
|
|
284.
|
|
|
MAC Address
|
|
|
|
MAC 地址
|
|
Translated and reviewed by
Rkyo
|
|
|
|
Located in
serverguide/C/network-config.xml:904(term)
|
|
285.
|
|
|
This method entails using DHCP to identify the unique hardware address of each network card connected to the network and then continually supplying a constant configuration each time the DHCP client makes a request to the DHCP server using that network device.
|
|
|
|
该模式需要用 DHCP 去标明连接到网上的每块网卡唯一的硬件地址,然后在 DHCP 客户端每次使用该网络设备发送给 DHCP 服务器请求时提供给它一个固定的配置。
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/network-config.xml:906(para)
|
|
286.
|
|
|
Address Pool
|
|
|
|
地址池
|
|
Translated and reviewed by
Rkyo
|
|
|
|
Located in
serverguide/C/network-config.xml:915(term)
|
|
287.
|
|
|
This method entails defining a pool (sometimes also called a range or scope) of IP addresses from which DHCP clients are supplied their configuration properties dynamically and on a fist come first serve basis. When a DHCP client is no longer on the network for a specified period, the configuration is expired and released back to the address pool for use by other DHCP Clients.
|
|
|
|
该模式需要定义一个 IP 地址池 (有时也叫范围或作用域) ,以便 DHCP 客户端可以被动态提供它们的配置from which DHCP clients are supplied their configuration properties dynamically and on a fist come first serve basis。当一个 DHCP 客户端有段时间不再在网络上时,该配置将过期并释放回地址池以便为其他 DHCP 客户端使用。
|
|
Translated and reviewed by
姚渺波
|
In upstream: |
|
该模式需要定义一个 IP 地址池 (有时也叫范围或作用域) ,以便 DHCP 客户端可以以先到先服务的方式动态获取它们的配置。当一个 DHCP 客户端不在网络上超过一定的时间后,该配置将过期并被释放回地址池以便为其他 DHCP 客户端所使用。
|
|
|
Suggested by
EAdam
|
|
|
|
Located in
serverguide/C/network-config.xml:550(para)
|
|
288.
|
|
|
Ubuntu is shipped with both DHCP server and client. The server is <application>dhcpd</application> (dynamic host configuration protocol daemon). The client provided with Ubuntu is <application>dhclient</application> and should be installed on all computers required to be automatically configured. Both programs are easy to install and configure and will be automatically started at system boot.
|
|
|
|
ubuntu 提供 DHCP 服务器及其客户端。服务器叫 <application>dhcpd</application> (动态主机配置协议守护程序)。Ubuntu 提供的客户端叫 <application>dhclient</application>,应该安装在所有自动配置的计算机上。这两个程序很容易安装和配置,并可在系统引导时自动启用。
|
|
Translated and reviewed by
姚渺波
|
In upstream: |
|
Ubuntu 提供 DHCP 服务器及其客户端。服务器叫 <application>dhcpd</application> (动态主机配置协议守护程序)。Ubuntu 提供的客户端叫 <application>dhclient</application>,应该安装在所有自动配置的计算机上。这两个程序很容易安装和配置,并可在系统引导时自动启用。
|
|
|
Suggested by
Ihnus Qcshz
|
|
|
|
Located in
serverguide/C/network-config.xml:928(para)
|
|
289.
|
|
|
At a terminal prompt, enter the following command to install <application>dhcpd</application>:
|
|
|
|
要安装 <application>dhcpd</application>,可以在终端提示符后输入以下命令:
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/network-config.xml:938(para)
|
|
290.
|
|
|
sudo apt-get install dhcpd
|
|
|
|
sudo apt-get install dhcpd
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:923(command)
|
|
291.
|
|
|
You will see the following output, which explains what to do next:
|
|
|
|
您将看到下面的输出,说明接下来做什么:
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:926(para)
|
|
292.
|
|
|
Please note that if you are installing the DHCP server for the first
time you need to configure. Please stop (/etc/init.d/dhcp
stop) the DHCP server daemon, edit /etc/dhcpd.conf to suit your needs
and particular configuration, and restart the DHCP server daemon
(/etc/init.d/dhcp start).
You also need to edit /etc/default/dhcp to specify the interfaces dhcpd
should listen to. By default it listens to eth0.
NOTE: dhcpd's messages are being sent to syslog. Look there for
diagnostics messages.
Starting DHCP server: dhcpd failed to start - check syslog for diagnostics.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
Please note that if you are installing the DHCP server for the first
time you need to configure. Please stop (/etc/init.d/dhcp
stop) the DHCP server daemon, edit /etc/dhcpd.conf to suit your needs
and particular configuration, and restart the DHCP server daemon
(/etc/init.d/dhcp start).
You also need to edit /etc/default/dhcp to specify the interfaces dhcpd
should listen to. By default it listens to eth0.
NOTE: dhcpd's messages are being sent to syslog. Look there for
diagnostics messages.
Starting DHCP server: dhcpd failed to start - check syslog for diagnostics.
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:927(screen)
|