No DHCP on Ethernet LAN Port

Hi,
I just installed Openwrt up my Linksys MX4300 and everything works out fine from wireless side, but I don't know why the Ethernet LAN ports don't work as expected. So I setup 2 wireless VLAN for Home network(VLAN2) and IOT (VLAN100) devices. Both are working fine; all wireless devices can get DHCP but when I plug in any Ethernet port, none of device get DHCP on any network. I don't know why and been struggle. Here is my configuration file for network and tcpdump. Any help appreciated.

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdd6:1d06:28ca::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'IOT.100'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'VLAN2.2'

config device
        option name 'lan1'
        option macaddr ''

config device
        option name 'lan2'
        option macaddr ''

config device
        option name 'lan3'
        option macaddr ''

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.4.1'
        option netmask '255.255.255.0'
        option delegate '0'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'
        option peerdns '0'
        list dns '1.1.1.2'
        list dns '1.0.0.2'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'
        option auto '0'
        option reqaddress 'none'
        option reqprefix 'no'
        option norelease '0'
        option defaultroute '0'
        option peerdns '0'
        option sourcefilter '0'
        option delegate '0'

config interface 'Home_Network'
        option proto 'static'
        option device 'VLAN2.2'
        option ipaddr '192.168.2.1'
        option netmask '255.255.255.0'
        option delegate '0'

config bridge-vlan
        option device 'br-lan'
        option vlan '2'

config device
        option type 'bridge'
        option name 'VLAN2'
        list ports 'br-lan.2'
        list ports 'VLAN2.2'

config bridge-vlan
        option device 'VLAN2'
        option vlan '2'
        list ports 'br-lan.2:t'
        list ports 'VLAN2.2:t'

config interface 'IOT'
        option proto 'static'
        option device 'IOT.100'
        option ipaddr '192.168.100.1'
        option netmask '255.255.255.0'

config bridge-vlan
        option device 'br-lan'
        option vlan '100'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'

config device
        option type 'bridge'
        option name 'IOT'
        list ports 'br-lan.100'
        list ports 'IOT.100'

config bridge-vlan
        option device 'IOT'
        option vlan '100'
        list ports 'br-lan.100:t'

And here is my tcpdump

The vlans are quite messed up. Furthermore if you send out tagged frames, the device connected to the other end of the cable must be configured to accept tagged frames.
The DSA tutorial has some usecases you can apply to your needs, especially #3 and #4.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.