# Quick Start

#### DHCP

##### Enable DHCP Server

LuCI Web **→** Network **→** Interfaces → Edit: lan → DHCP Server **→ General Setup**

- Ignore interface : 啟用（不勾）/ 關閉（勾）
- Start : 100（IP 位址從 \*.100 開始分配）
- Limit : IP 分配最多數量

LuCI Web **→** Network **→** DHCP and DNS **→** General

- Allocate IPs sequentially : 勾選（依順序分配 IP）

##### Disable IPv6 for LAN

LuCI Web **→** Network **→** Interfaces **→** Edit: lan → DHCP Server → IPv6 Settings

- RA-Service : disabled
- DHCPv6-Service : disabled
- NDP-Proxy : disabled

##### DHCP Options

可以指定 IP 配發時的 DNS 位址與 Gateway 位址，且透過 tag 設定，可以設定不同裝置有不同的 DNS 與 Gateway 位址。

LuCI Web **→** Network **→** Interfaces **→** Edit: lan → DHCP Server → Advanced Settings → DHCP-Options

- 6 指定 DNS : `6,4.4.4.4`
- 3 指定 Gateway : `3,192.168.8.254`
- 包含tag ipphone 的所有裝置，指定 Gateway : `tag:ipphone,3,192.168.8.253`
- ！不包含 tag sensor 的所有裝置，指定 `Gateway: tag:!sensor,3,192.168.8.252`

為 IP（裝置）設定 tag

LuCI Web **→** Network **→** DHCP and DNS → Static Leases