Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision | |||
| zh:docs:guide-user:base-system:dhcp [2019/11/03 14:34] – created longgenxing | zh:docs:guide-user:base-system:dhcp [2019/11/04 02:20] – longgenxing | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
| - | |||
| ====== DNS and DHCP configuration / | ====== DNS and DHCP configuration / | ||
| + | ====== DNS 和 DHCP 配置文件/ | ||
| See also: [[dhcp_configuration|DNS and DHCP configuration examples]] | See also: [[dhcp_configuration|DNS and DHCP configuration examples]] | ||
| + | |||
| + | **中文翻译**:相关内容同时参见: [[dhcp_configuration|DNS and DHCP configuration examples]] | ||
| OpenWrt uses //dnsmasq// and //odhcpd// to serve DHCP and DNS by default. | OpenWrt uses //dnsmasq// and //odhcpd// to serve DHCP and DNS by default. | ||
| - | ^ Software | + | **中文翻译**:OpenWrt系统默认使用 //dnsmasq// 和 // |
| + | |||
| + | ^ 软件 | ||
| | dnsmasq | DNS | 53/TCP, 53/UDP | ''/ | | dnsmasq | DNS | 53/TCP, 53/UDP | ''/ | ||
| | ::: | DHCP | 67/UDP | ::: | | | ::: | DHCP | 67/UDP | ::: | | ||
| Line 12: | Line 15: | ||
| In the default configuration this file contains one //common section// to specify DNS and daemon related options and one or more //DHCP pools// to define DHCP serving on network interfaces. | In the default configuration this file contains one //common section// to specify DNS and daemon related options and one or more //DHCP pools// to define DHCP serving on network interfaces. | ||
| + | |||
| + | **中文翻译**:默认情况下,配置文件包含了一个// | ||
| ===== Sections ===== | ===== Sections ===== | ||
| + | ===== 配置段 ===== | ||
| Possible section types of the '' | Possible section types of the '' | ||
| Not all types may appear in the file and most of them are only needed for special configurations. | Not all types may appear in the file and most of them are only needed for special configurations. | ||
| The common ones are the //Common Options//, the //DHCP Pools// and //Static Leases//. | The common ones are the //Common Options//, the //DHCP Pools// and //Static Leases//. | ||
| + | |||
| + | **中文翻译**:常用的DHCP配置段配置文件形式如下。 | ||
| + | 不是所有类型的参数都会在文件里同时出现,很多参数只有需要特殊功能时候才设置。 | ||
| + | 最常用的配置段落有三个:// | ||
| ==== Common options ==== | ==== Common options ==== | ||