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 section configures dnsmasq, the combined DHCP server and DNS forwarder that runs on your OpenWrt router. It is split across five tabs covering general settings, file paths, TFTP, advanced DNS tuning, and static address assignments. A separate page manages host name entries. All DHCP pages require an active session. If you are not logged in, the application redirects you to /login.
Changes on each tab are saved to the router’s UCI configuration via dnsmasq. Click Save and Apply to write changes immediately, or Save to stage them without applying.
1

Log in

Go to /login and authenticate with your router credentials.
2

Open DHCP

Navigate to /dhcp. The General configuration tab opens by default.
3

Switch tabs

Use the tab bar at the top of the panel to move between: General configuration, Resolv and Hosts files, TFTP configuration, Advanced configuration, and Static assignments.
4

Save your changes

Click Save and Apply to apply changes immediately, or Save to write them without reloading the service.

General configuration — /dhcp

This tab configures the core behavior of the dnsmasq process.
SettingDescription
Require domainDo not forward DNS queries that have no domain component
AuthoritativeDeclare this as the only DHCP server on the LAN
Local serverDomain specification (e.g. /lan/) — matching queries are resolved locally and never forwarded
Local domainDomain suffix appended to DHCP client hostnames (e.g. lan)
Log queriesWrite all received DNS queries to the system log
DNS forwardingList of upstream DNS servers per domain (/example.org/10.1.2.3)
Rebind protectionDiscard RFC 1918 responses from upstream DNS servers
Allow localhostAllow upstream responses in the 127.0.0.0/8 range
Domain whitelistDomains exempt from rebind protection (e.g. ihost.netflix.com)
Local service onlyRestrict DNS service to subnets directly attached to the router’s interfaces
No wildcardBind only to specific interface addresses rather than the wildcard address 0.0.0.0
Listen interfacesExplicit list of interfaces on which dnsmasq listens
Exclude interfacesInterfaces excluded from dnsmasq even if they match other criteria

Resolv and Hosts files — /dhcp/resolv

This tab controls which files dnsmasq reads for DNS resolution and how lease data is stored.
SettingDescription
Use /etc/ethersRead /etc/ethers to populate DHCP static assignments
Lease filePath to the active DHCP leases file (default: /tmp/dhcp.leases)
Ignore resolv fileDo not read the resolv file for upstream DNS servers
Resolv filePath to the resolv file (default: /tmp/resolv.conf.auto)
Ignore /etc/hostsDo not use the system hosts file for local name resolution
Additional host filesExtra hosts files to include alongside /etc/hosts

TFTP configuration — /dhcp/tftp

The TFTP tab enables the built-in TFTP server inside dnsmasq, which is used for PXE network booting.
SettingDescription
Enable TFTP serverToggle to activate the TFTP boot service
When enabled, TFTP allows network devices to download a boot image from the router, which is required for diskless PXE clients.

Static assignments — /dhcp/estaticas

Static assignments bind a specific MAC address to a fixed IP address so that a device always receives the same address from DHCP. Each static assignment contains:
FieldDescription
HostnameSymbolic name for the host
MAC addressHardware address that identifies the device
IPv4 addressFixed address the router will always assign to this MAC
Lease timeOptional non-default lease duration (e.g. 12h, 3d, infinite)
DUIDDHCPv6 unique identifier for IPv6 static assignments
IPv6 suffix (hex)Suffix appended to the prefix for the IPv6 address
Below the configuration table, the Active DHCP assignments table shows all leases currently active on the router — including hostname, IP address, MAC address, and time remaining.

Advanced configuration — /dhcp/avanzada

The advanced tab exposes DNS tuning options that control filtering, caching, and forwarding behavior.
SettingDescription
Filter requestsSuppress logging of common, routine DNS queries
Sequential IP allocationAssign addresses starting from the lowest available address instead of randomly
Private filterDo not forward reverse DNS queries for RFC 1918 addresses
Local filterDo not forward queries that public DNS servers cannot answer
Localize queriesRoute queries to the closest name server by interface
Expand hostsAppend the local domain suffix to bare hostnames read from the hosts file
No negative cacheDisable caching of negative (NXDOMAIN) responses
Additional servers filePath to a supplementary dnsmasq configuration file
No duplicate hostsPrevent a local host from using a name already in the hosts file
All serversQuery all upstream DNS servers simultaneously and use the fastest response
DNS server portPort dnsmasq listens on (default: 53)
DNS query portSource port used for outbound DNS queries
Max DHCP leasesMaximum number of concurrent active DHCP assignments (default: 150)
Max concurrent DNS queriesMaximum simultaneous in-flight DNS queries (default: 150)
DNS cache sizeNumber of DNS responses to cache in memory (default: 150)

Host names — /nombres-host

The host names page (/nombres-host) manages entries in the router’s local DNS. Each entry maps a hostname to a specific IP address, making it resolvable by all devices on the network without an external DNS server.
Use static assignments for devices you want to always receive a particular IP via DHCP. Use host name entries for devices with static or manually configured IPs that still need to be resolvable by name on the LAN.

Build docs developers (and LLMs) love