Skip to content

refactor: update DHCP range and options in dnsmasq configuration#90

Merged
cmyers-mieweb merged 1 commit intomainfrom
87-dhcrelay-alternate-network-in-dnsmasq-conf
Oct 28, 2025
Merged

refactor: update DHCP range and options in dnsmasq configuration#90
cmyers-mieweb merged 1 commit intomainfrom
87-dhcrelay-alternate-network-in-dnsmasq-conf

Conversation

@runleveldev
Copy link
Collaborator

This pull request updates the DHCP configuration in dnsmasq.conf to support multiple network ranges and assign router options based on network tags. The main changes are the addition of a new DHCP range for a second subnet and the use of tags to specify router options per subnet.

DHCP configuration enhancements:

  • Added a new DHCP range for the 10.16.0.0/16 subnet with the tag net16, alongside the existing 10.15.0.0/16 range now tagged as net15.
  • Updated DHCP router options to use tags, so that devices in net15 receive 10.15.0.1 as their router and devices in net16 receive 10.16.0.1.

@runleveldev runleveldev linked an issue Oct 28, 2025 that may be closed by this pull request
@runleveldev runleveldev marked this pull request as ready for review October 28, 2025 19:55
Copy link
Collaborator

@cmyers-mieweb cmyers-mieweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmyers-mieweb cmyers-mieweb merged commit 9774fda into main Oct 28, 2025
3 checks passed
@cmyers-mieweb cmyers-mieweb deleted the 87-dhcrelay-alternate-network-in-dnsmasq-conf branch October 28, 2025 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dhcrelay alternate network in dnsmasq conf

2 participants