I have been a long time user but my latest system, LinksysEA8300, has me baffled. My last system was a Netgear WNDR3800 and it lasted since ~2010 or 2011 before giving me issues with hardware being flaky. It's been a long time since I had to start from scratch. I set up my new device similar to my 3800. I am seeing that I am not getting DHCP on my WAN interface or either of my VLANS. I know that if I do a factory reset the DHCP does work for WAN, so there is something I have wrong. I think I also remember that DHCP from my voip subnet worked for a while too. I think when I switched my regular LAN from br-lan to eth0.101 is when my problem began but I can't say I tested after every change I made to see exactly when the issue started. Anyway, here is my config:
#cat /etc/config/network
config globals 'globals'
option ula_prefix 'fd8c:a8ff:f3bc::/48'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 1 2'
option vid '101'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 3 4'
option vid '102'
config device
option name 'eth1'
config device
option name 'eth0'
config device
option name 'wlan0'
config device
option name 'wlan1'
config device
option name 'wlan2'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config device
option name 'eth0.101'
option type '8021q'
option ifname 'eth0'
option vid '101'
config device
option name 'eth0.102'
option type '8021q'
option ifname 'eth0'
option vid '102'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option proto 'static'
option ipaddr '172.30.42.1'
option netmask '255.255.255.224'
option device 'eth0.101'
config interface 'voip'
option proto 'static'
option device 'eth0.102'
option ipaddr '172.30.42.33'
option netmask '255.255.255.224'
config interface 'wifi0'
option proto 'static'
option ipaddr '172.30.42.65'
option netmask '255.255.255.224'
option device 'wlan0'
config interface 'wfi1'
option proto 'static'
option ipaddr '172.30.42.97'
option netmask '255.255.255.224'
option type 'bridge'
option device 'wlan1'
config interface 'wifi2'
option proto 'static'
option device 'wlan2'
option ipaddr '172.30.42.113'
option netmask '255.255.255.224'
#swconfig list; swconfig dev switch0 show
Found: switch0 - 90000.mdio-1
Global attributes:
enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
linkdown: ???
Port 0:
mib: Port 0 MIB counters
RxBroad : 36
RxPause : 0
RxMulti : 63
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 1903
Rx128Byte : 1587
Rx256Byte : 392
Rx512Byte : 299
Rx1024Byte : 506
Rx1518Byte : 596
RxMaxByte : 2784
RxTooLong : 0
RxGoodByte : 5837019
RxBadByte : 0
RxOverFlow : 0
Filtered : 105
TxBroad : 245
TxPause : 0
TxMulti : 865
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 6195
Tx256Byte : 188
Tx512Byte : 10
Tx1024Byte : 629
Tx1518Byte : 72
TxMaxByte : 8
TxOverSize : 0
TxByte : 1090648
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 0
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
mib: Port 1 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 1
link: port:1 link:down
Port 2:
mib: Port 2 MIB counters
RxBroad : 79
RxPause : 0
RxMulti : 339
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 2641
Rx128Byte : 1048
Rx256Byte : 76
Rx512Byte : 5
Rx1024Byte : 395
Rx1518Byte : 39
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 631641
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 19
TxPause : 0
TxMulti : 9
TxUnderRun : 0
Tx64Byte : 1145
Tx128Byte : 996
Tx256Byte : 253
Tx512Byte : 172
Tx1024Byte : 316
Tx1518Byte : 2205
TxMaxByte : 0
TxOverSize : 0
TxByte : 3765587
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 1
link: port:2 link:up speed:100baseT full-duplex auto
Port 3:
mib: Port 3 MIB counters
RxBroad : 166
RxPause : 0
RxMulti : 526
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 1646
Rx128Byte : 869
Rx256Byte : 106
Rx512Byte : 5
Rx1024Byte : 235
Rx1518Byte : 40
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 430791
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 6
TxPause : 0
TxMulti : 15
TxUnderRun : 0
Tx64Byte : 703
Tx128Byte : 569
Tx256Byte : 142
Tx512Byte : 99
Tx1024Byte : 192
Tx1518Byte : 1175
TxMaxByte : 0
TxOverSize : 0
TxByte : 2036725
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 2
link: port:3 link:down
Port 4:
mib: Port 4 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 2
link: port:4 link:down
Port 5:
mib: Port 5 MIB counters
RxBroad : 3972
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 3977
Rx128Byte : 0
Rx256Byte : 2
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 254808
RxBadByte : 0
RxOverFlow : 0
Filtered : 3979
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 2
link: port:5 link:up speed:1000baseT full-duplex auto
VLAN 1:
vid: 101
ports: 0t 1 2
VLAN 2:
vid: 102
ports: 0t 3 4
#ubus call system board
"kernel": "5.10.176",
"hostname": "TourvilleNew",
"system": "ARMv7 Processor rev 5 (v7l)",
"model": "Linksys EA8300 (Dallas)",
"board_name": "linksys,ea8300",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "22.03.5",
"revision": "r20134-5f15225c1e",
"target": "ipq40xx/generic",
"description": "OpenWrt 22.03.5 r20134-5f15225c1e"
#cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
option start '1'
option limit '32'
option leasetime '24h'
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'
option loglevel '4'
config dhcp 'voip'
option interface 'voip'
option start '1'
option limit '32'
option leasetime '24h'
config dhcp 'wfi1'
option interface 'wfi1'
option start '1'
option limit '32'
option leasetime '24h'
Can anyone assist and tell me what I am doing wrong? Thanks!