Hello,
when I try to configure the DHCP server in LUCI under Network / Network Interfaces / LAN Interface / Edit / DHCP Server, the setup fails with the following error:
See the Attachment.
My OpenWRT version is "openwrt-24.10".
What else can I do?
Hello,
when I try to configure the DHCP server in LUCI under Network / Network Interfaces / LAN Interface / Edit / DHCP Server, the setup fails with the following error:
See the Attachment.
My OpenWRT version is "openwrt-24.10".
What else can I do?
I don’t read f
German, but let’s simply look at the config.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
![]()
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/dhcp
root@rome01:~# ubus call system board
{
"kernel": "6.6.117",
"hostname": "rome01.intern.example.com",
"system": "AMD G-T40E Processor",
"model": "PC Engines apu1",
"board_name": "pc-engines-apu1",
"rootfs_type": "ext4",
"release": {
"distribution": "OpenWrt",
"version": "24.10-SNAPSHOT",
"revision": "r29057-e781816fe1",
"target": "x86/64",
"description": "OpenWrt 24.10-SNAPSHOT r29057-e781816fe1",
"builddate": "1764502978"
}
}
root@rome01:~# cat /etc/config/network
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
option ula_prefix 'fd11:971c:e6b2::/48'
option packet_steering '1'
config interface 'dmz'
option proto 'static'
option ipaddr '192.168.20.1'
option netmask '255.255.255.0'
option device 'br-lan.20'
config interface 'wlan'
option proto 'static'
option ipaddr '192.168.30.1'
option netmask '255.255.255.0'
option _orig_ifname 'wlan wlan0 wlan3'
option _orig_bridge 'true'
option device 'br-wlan'
option ip6assign '64'
list ip6class 'local'
config interface 'lan'
option proto 'static'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
option device 'br-lan.50'
option ip6assign '64'
list ip6class 'local'
config interface 'transfer'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option device 'br-transfer'
config interface 'wan'
option proto 'static'
option ipaddr '192.168.0.2'
option netmask '255.255.255.248'
option gateway '192.168.0.1'
option device 'eth2'
option dns_metric '0'
option ip6assign '64'
list ip6class 'local'
config interface 'openvpn'
option proto 'static'
option ipaddr '192.168.190.1'
option netmask '255.255.255.0'
option metric '0'
option device 'br-lan.10'
config interface 'plex'
option proto 'static'
option ipaddr '192.168.120.1'
option netmask '255.255.255.0'
option device 'br-lan.120'
list dns '192.168.20.20'
config interface 'cups'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.110.1'
option device 'br-lan.110'
list dns '192.168.20.20'
config interface 'VOIP'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.140.1'
option device 'br-lan.140'
config interface 'elk'
option proto 'static'
option ipaddr '192.168.150.1'
option netmask '255.255.255.0'
option device 'br-lan.150'
config interface 'admin'
option proto 'static'
option ipaddr '192.168.200.1'
option netmask '255.255.255.0'
option device 'br-admin'
config device
option name 'br-wlan'
option type 'bridge'
option ipv6 '1'
list ports 'br-lan.30'
config interface 'snmp'
option proto 'static'
option device 'br-lan.100'
option ipaddr '192.168.100.1'
option netmask '255.255.255.0'
config device
option type 'bridge'
option name 'br-ha'
option ipv6 '1'
list ports 'br-lan.130'
config interface 'hassio'
option proto 'static'
option device 'br-ha'
option ipaddr '192.168.130.1'
option netmask '255.255.255.0'
option ip6assign '64'
list ip6class 'local'
config device
option name 'eth0'
option ipv6 '0'
config device
option name 'eth1'
option ipv6 '0'
config device
option name 'eth2'
option ipv6 '1'
config device
option name 'phy0-ap0'
option ipv6 '0'
config device
option name 'phy1-ap0'
option ipv6 '0'
config device
option name 'phy1-ap1'
option ipv6 '0'
config device
option type 'bridge'
option name 'br-admin'
list ports 'br-lan.200'
config device
option type 'bridge'
option name 'br-lan'
list ports 'eth0'
option ipv6 '1'
config bridge-vlan
option device 'br-lan'
option vlan '1'
list ports 'eth0'
config device
option type 'bridge'
option name 'br-transfer'
list ports 'br-lan.1'
config bridge-vlan
option device 'br-lan'
option vlan '10'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '20'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '30'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '50'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '100'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '110'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '120'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '130'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '140'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '150'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '200'
list ports 'eth0:t'
root@rome01:~# cat /etc/config/dhcp
config dnsmasq
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option expandhosts '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option localservice '1'
option nonwildcard '0'
option strictorder '1'
option domain 'intern.example.com'
list server '192.168.20.20'
list server '217.237.148.70'
list server '217.237.150.115'
option confdir '/tmp/dnsmasq.d'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
list rebind_domain 'example.com'
config dhcp 'lan'
option interface 'lan'
option dhcpv6 'server'
option ra 'server'
option ra_lifetime = '0'
option ra_management '1'
option ignore '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
There are a ton of issues in your config -- it doesn't look like proper (official) OpenWrt syntax. Did this really come from openwrt.org? And why are you using a snapshot?
My recommendations:
Meanwhile, I think your problem is here:
Specifically, the ra_lifetime line has an = sign which should not be there.
But... aside from that, there are major issues that are best addressed with a fresh start.
Does this mean I need to download a basic system with the necessary packages from the following website? https://firmware-selector.openwrt.org/?version=24.10.2
Okay, I know my IPv6 configuration is faulty. This is a new topic for me. Do I then have to recreate the entire network and firewall rule configuration?
Yes, that's the best way... but please be sure to get 24.10.4.
If you have any packages that you need installed, you can build a custom image that contains them, or you can install them after you write the image to your disk.
Yes, it would be a good idea to re-create it. You don't need to use bridge-VLANs when you are dealing with individually routed ports. Instead, you can use direct dotted notation (i.e. eth0.100).
I didn't look at your firewall config, so I don't know if there are any complex rules there, but given the nature of the issues in your current config, probably best to start over.
Pro-tip: add just one additional network (along with the associated DHCP and firewall configs), and test it at that point. You're also welcome to request a review to ensure you've done it correctly. If there are any issues, it will be much easier and faster to fix just one network than to worry about what looks like literally a dozen in your config above. Then, you take the syntax and use that as your recipe for all of the others.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.