Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/KevinCruz-cell/Redes-de-comunicaciones-/llms.txt

Use this file to discover all available pages before exploring further.

The DHCP configuration area is delivered as server-rendered Blade views rather than a JSON API. Each route below returns an HTML page that lets you interact with the router’s DHCP settings through embedded forms. All routes require an active session — unauthenticated requests are redirected to /login (see Authentication).

Routes overview

MethodPathViewDescription
GET/dhcpdhcp.dhcpGeneral DHCP server settings
GET/dhcp/resolvdhcp.dhcp-resolvResolv.conf and /etc/hosts file configuration
GET/dhcp/tftpdhcp.dhcp-tftpTFTP server configuration
GET/dhcp/avanzadadhcp.dhcp-avanzadaAdvanced DHCP options
GET/dhcp/estaticasdhcp.dhcp-estaticasStatic DHCP lease assignments
GET/nombres-hosthosts.hostsHost name management

GET /dhcp

Renders the general DHCP server configuration page. This is also the default landing page after a successful login. Covers settings such as the DHCP server enable/disable toggle, lease time, and DHCP range. All changes are submitted directly to the OpenWrt router’s LuCI interface or applied via UCI commands triggered by the page’s JavaScript.

GET /dhcp/resolv

Renders the resolv.conf and hosts file configuration view. Use this page to set custom DNS servers, manage the local domain, and edit the router’s /etc/hosts entries.

GET /dhcp/tftp

Renders the TFTP server configuration view. Use this page to enable the built-in TFTP server (provided by dnsmasq), set the TFTP root directory, and configure boot file options for network booting.

GET /dhcp/avanzada

Renders the advanced DHCP configuration view. Covers options such as custom dnsmasq flags, DHCP option sets, DNS forwarders, and other advanced settings not exposed on the main DHCP page.

GET /dhcp/estaticas

Renders the static DHCP lease assignment view. Use this page to bind specific MAC addresses to fixed IP addresses, ensuring the same device always receives the same IP from the DHCP server.

GET /nombres-host

Renders the host name management view. Use this page to add or edit custom host name entries that the router’s DNS resolver will serve to LAN clients.

Session guard

All six routes use an inline session check:
if (!session('router_logged_in')) {
    return redirect('/login');
}
There is no middleware group applied — the check is performed directly inside each route closure. If your session expires while navigating these pages, you will be redirected to /login on your next page load.
Interactions within these pages (form submissions, AJAX calls) may communicate directly with the OpenWrt LuCI interface or send UCI commands through the application’s API endpoints. Refer to the page source for details on specific form targets.
For background on what the DHCP configuration pages cover, see the DHCP feature guide.

Build docs developers (and LLMs) love