# Local Networks

{% hint style="danger" %}
Do not `stop` or `delete` the **LAN (bar-lan)** interface, which is the DHCP server of local networks and the cornerstone of Ethernet and Wi-Fi functions.
{% endhint %}

## **i. Configure IP Pool**

To modify the DHCP configuration, you need to log in to the router admin, go to `Network` > `Interfaces` on the top menu. Click `Edit` on the row of `LAN` (local area network).

#### **Configuration > General**

In the section of `Common Configuration` > `General Setup`, you can modify the router IP address, netmask, gateway address, broadcast address, and DNS servers.

<table data-header-hidden><thead><tr><th width="185.33333333333331">Field</th><th width="154">Default</th><th>Description</th></tr></thead><tbody><tr><td>Field</td><td>Default</td><td>Description</td></tr><tr><td>IPv4 address</td><td>192.168.20.1</td><td>IP address that the router uses on the LAN network</td></tr><tr><td>IPv4 netmask</td><td>255.255.255.0</td><td>Netmask is used to define how “large” the LAN network is</td></tr><tr><td>IPv4 broadcast</td><td>N/A</td><td>Broadcast is used by DHCP clients to find and send requests to their respective servers</td></tr></tbody></table>

#### **DHCP Server > General**&#x20;

Scroll down and find the section of `DHCP server` > `General Setup`, you can modify the `DHCP IP pool` and `DHCP lease period`.

The DHCP server can automatically configure the TCP/IP settings of connected devices and lease out an IP address from the available IP pool.&#x20;

To disable the DHCP server, you can select the checkbox of `Ignore interface`.

<table data-header-hidden><thead><tr><th width="101">Field</th><th width="97.4">Default</th><th>Description</th></tr></thead><tbody><tr><td>Field</td><td>Default</td><td>Description</td></tr><tr><td>Start</td><td>100</td><td><p>The start of the DHCP IP pool.</p><p>For example, if the router’s LAN IP is 192.168.20.1 and the netmask is 255.255.255.0, a valid IP address should be in the range of [192.168.20.0…192.168.30.254]</p><p>* <em>192.168.20.255 is a special unavailable address.</em></p></td></tr><tr><td>Limit</td><td>150</td><td><p>Define the IP addresses the DHCP server can lease out.</p><p>Continuing from the above example: if the start address is 192.168.20.100 and the server can lease out 150, available addresses will be from 192.168.20.100 to 192.168.20.249.</p></td></tr><tr><td>Lease time</td><td>12 hours</td><td><p>The duration of an IP lease. Leased-out addresses will expire after the specified period, and you have to request a new DHCP lease.</p><p>If the device stays connected, its lease will be renewed after half of the specified amount of time passes.</p><p>For example, if the lease time is 12 hours, then every 6 hours, the device will send a request to the DHCP server asking to renew its lease.</p><p>The lease time can be set in hours (h) or minutes (m). The minimum time that can be specified is 2min (2m).</p></td></tr></tbody></table>

#### **DHCP Server > Advanced**

Under the tab of `Advanced Settings`, you can set up more configurations on the DHCP server.

<table data-header-hidden><thead><tr><th width="122.4">Field </th><th width="106">Default</th><th>Description</th></tr></thead><tbody><tr><td>Field </td><td>Default</td><td>Description</td></tr><tr><td>Dynamic DHCP</td><td>Enable</td><td>Enables dynamic allocation of client addresses. If disable it, you have to input static IP address on the connected devices.</td></tr><tr><td>Force</td><td>Disable</td><td><p>The DHCP force function ensures that the router will always start its DHCP server, even if there is another DHCP server already running in the router’s network.</p><p>*** When connecting the router to another router via LAN cable, the outdoor router will turn to AP mode and obtain the IP address assigned from another router. You will no longer be able to access the router at 192.168.20.1.</p></td></tr><tr><td>IPv4 Netmask</td><td>NA</td><td>Overrides the LAN netmask, thus making the DHCP server think it’s serving a larger or smaller network than it actually is.</td></tr><tr><td>DHCP Options</td><td>NA</td><td>For example, with ‘26,1470’ or ‘option:mtu, 1470’ you can assign an MTU value per DHCP. You can add more options by clicking the plus symbol (Services sms gateway auto-reply plus symbol.PNG) located next to the field.</td></tr></tbody></table>

## ii. Physical LAN Interface

There are five physical RJ45 ports on the EZR24 router. LAN Ethernet is bound to the logical port `eth0.1` which includes physical **LAN 1\~4** ports.&#x20;

## **iii. DHCP Leases**

To check the active DHCP clients, you need to log in to the router admin, go to `Network` > `DHCP & DNS`, scroll down and find the section of `Active DHCP Leases`.

#### **Static Leases**

Static IP leases reserve specific IP addresses to particular devices by binding them to their MAC address. It’s useful when having a stationary device connected to the network that needs to reach frequently, such as NAS, printer, camera, etc.

![](https://www.outdoorrouter.com/wp-content/uploads/EZR3X_DHCP-DNS_Static-Leases-1400x402.png)

<table data-header-hidden><thead><tr><th width="166.95890410958907">Field Name</th><th width="136">Default Value</th><th>Description</th></tr></thead><tbody><tr><td>Field Name</td><td>Default Value</td><td>Description</td></tr><tr><td>Hostname</td><td>NA</td><td>A custom name that describe be linked device</td></tr><tr><td>MAC Address</td><td>NA</td><td>MAC address of the linked device</td></tr><tr><td>IPv4 Address</td><td>NA</td><td>The desirable IP address that reserved for the specified device</td></tr></tbody></table>
