Hi guys,
I'm currently trying to setup my 2 OpenWRT Routers, the TP-Link WR1043ND and the TP-Link CPE 210.
The CPE210 is used as a client to connect to another Router and masquarade all the traffic from the LAN.
The WR1043ND is connected via Ethernet to the CPE210 and i bridged the LAN and Wifi interface, so that every device should be able to communicate inside the LAN.
The problem now is, that I want to use the CPE210 as the DHCP Server in the Lan, which is not working (Of course i disabled the DHCP Server for the WR1043ND).
I tried to describe the setup with this picture, maybe it helps understanding the situation.
When i try to connect now to the Wifi (of the WR1043ND) with my Smartphone/ Laptop it's always stuck when trying to obtain an IP address.
Here is what i found in the logs from the CPE210:
Wed Feb 19 17:39:22 2020 daemon.notice netifd: Network device 'eth0' link is down
Wed Feb 19 17:39:22 2020 kern.info kernel: [ 1776.984080] eth0: link down
Wed Feb 19 17:39:22 2020 kern.info kernel: [ 1776.989124] br-lan: port 1(eth0.1) entered disabled state
Wed Feb 19 17:39:22 2020 kern.info kernel: [ 1776.994939] br-lan: port 2(eth0.2) entered disabled state
Wed Feb 19 17:39:22 2020 daemon.err odhcp6c[3761]: Failed to send RS (Permission denied)
Wed Feb 19 17:39:22 2020 daemon.notice netifd: VLAN 'eth0.1' link is down
Wed Feb 19 17:39:22 2020 daemon.notice netifd: VLAN 'eth0.2' link is down
Wed Feb 19 17:39:22 2020 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Feb 19 17:39:22 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Wed Feb 19 17:39:22 2020 daemon.err odhcp6c[3761]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:22 2020 daemon.notice netifd: wan (3760): udhcpc: received SIGTERM
Wed Feb 19 17:39:23 2020 daemon.notice netifd: bridge 'br-lan' link is down
Wed Feb 19 17:39:23 2020 daemon.notice netifd: Interface 'lan' has link connectivity loss
Wed Feb 19 17:39:27 2020 daemon.notice netifd: Network device 'eth0' link is up
Wed Feb 19 17:39:27 2020 kern.info kernel: [ 1781.575026] eth0: link up (1000Mbps/Full duplex)
Wed Feb 19 17:39:27 2020 kern.info kernel: [ 1781.581116] br-lan: port 1(eth0.1) entered blocking state
Wed Feb 19 17:39:27 2020 kern.info kernel: [ 1781.586675] br-lan: port 1(eth0.1) entered forwarding state
Wed Feb 19 17:39:27 2020 kern.info kernel: [ 1781.592555] br-lan: port 2(eth0.2) entered blocking state
Wed Feb 19 17:39:27 2020 kern.info kernel: [ 1781.598082] br-lan: port 2(eth0.2) entered forwarding state
Wed Feb 19 17:39:27 2020 daemon.notice netifd: VLAN 'eth0.1' link is up
Wed Feb 19 17:39:27 2020 daemon.notice netifd: VLAN 'eth0.2' link is up
Wed Feb 19 17:39:27 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Wed Feb 19 17:39:27 2020 daemon.notice netifd: Interface 'wan' is setting up now
Wed Feb 19 17:39:27 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Wed Feb 19 17:39:27 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Wed Feb 19 17:39:27 2020 daemon.notice netifd: bridge 'br-lan' link is up
Wed Feb 19 17:39:27 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Feb 19 17:39:27 2020 daemon.notice netifd: wan (3876): udhcpc: started, v1.28.4
Wed Feb 19 17:39:27 2020 daemon.err odhcp6c[3878]: Failed to send RS (Permission denied)
Wed Feb 19 17:39:27 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:39:27 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:27 2020 daemon.notice netifd: wan (3876): udhcpc: sending discover
Wed Feb 19 17:39:28 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:39:28 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:29 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:39:30 2020 daemon.notice netifd: wan (3876): udhcpc: sending discover
Wed Feb 19 17:39:30 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:31 2020 daemon.err odhcp6c[3878]: Failed to send RS (Permission denied)
Wed Feb 19 17:39:31 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:39:33 2020 daemon.notice netifd: wan (3876): udhcpc: sending discover
Wed Feb 19 17:39:35 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:35 2020 daemon.err odhcp6c[3878]: Failed to send RS (Permission denied)
Wed Feb 19 17:39:35 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:39:39 2020 daemon.err odhcp6c[3878]: Failed to send RS (Permission denied)
Wed Feb 19 17:39:42 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:43 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:39:59 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:39:59 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:04 2020 daemon.notice netifd: Network device 'eth0' link is down
Wed Feb 19 17:40:04 2020 kern.info kernel: [ 1818.804089] eth0: link down
Wed Feb 19 17:40:04 2020 kern.info kernel: [ 1818.809145] br-lan: port 1(eth0.1) entered disabled state
Wed Feb 19 17:40:04 2020 kern.info kernel: [ 1818.814960] br-lan: port 2(eth0.2) entered disabled state
Wed Feb 19 17:40:04 2020 daemon.err odhcp6c[3878]: Failed to send RS (Permission denied)
Wed Feb 19 17:40:04 2020 daemon.notice netifd: VLAN 'eth0.1' link is down
Wed Feb 19 17:40:04 2020 daemon.notice netifd: VLAN 'eth0.2' link is down
Wed Feb 19 17:40:04 2020 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Feb 19 17:40:04 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Wed Feb 19 17:40:04 2020 daemon.notice netifd: wan (3876): udhcpc: received SIGTERM
Wed Feb 19 17:40:05 2020 daemon.err odhcp6c[3878]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:40:05 2020 daemon.notice netifd: bridge 'br-lan' link is down
Wed Feb 19 17:40:05 2020 daemon.notice netifd: Interface 'lan' has link connectivity loss
Wed Feb 19 17:40:10 2020 daemon.notice netifd: Network device 'eth0' link is up
Wed Feb 19 17:40:10 2020 kern.info kernel: [ 1824.926994] eth0: link up (1000Mbps/Full duplex)
Wed Feb 19 17:40:10 2020 kern.info kernel: [ 1824.933227] br-lan: port 1(eth0.1) entered blocking state
Wed Feb 19 17:40:10 2020 kern.info kernel: [ 1824.938794] br-lan: port 1(eth0.1) entered forwarding state
Wed Feb 19 17:40:10 2020 kern.info kernel: [ 1824.944699] br-lan: port 2(eth0.2) entered blocking state
Wed Feb 19 17:40:10 2020 kern.info kernel: [ 1824.950189] br-lan: port 2(eth0.2) entered forwarding state
Wed Feb 19 17:40:10 2020 daemon.notice netifd: VLAN 'eth0.1' link is up
Wed Feb 19 17:40:10 2020 daemon.notice netifd: VLAN 'eth0.2' link is up
Wed Feb 19 17:40:10 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Wed Feb 19 17:40:10 2020 daemon.notice netifd: Interface 'wan' is setting up now
Wed Feb 19 17:40:10 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Wed Feb 19 17:40:10 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Wed Feb 19 17:40:10 2020 daemon.notice netifd: bridge 'br-lan' link is up
Wed Feb 19 17:40:10 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Feb 19 17:40:10 2020 daemon.notice netifd: wan (3975): udhcpc: started, v1.28.4
Wed Feb 19 17:40:10 2020 daemon.err odhcp6c[3977]: Failed to send RS (Permission denied)
Wed Feb 19 17:40:10 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:11 2020 daemon.notice netifd: wan (3975): udhcpc: sending discover
Wed Feb 19 17:40:11 2020 daemon.err odhcp6c[3977]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:40:11 2020 daemon.warn odhcpd[904]: DHCPV6 REQUEST IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:12 2020 daemon.info dnsmasq[1553]: read /etc/hosts - 4 addresses
Wed Feb 19 17:40:12 2020 daemon.info dnsmasq[1553]: read /tmp/hosts/odhcpd - 1 addresses
Wed Feb 19 17:40:12 2020 daemon.info dnsmasq[1553]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Wed Feb 19 17:40:12 2020 daemon.info dnsmasq-dhcp[1553]: read /etc/ethers - 0 addresses
Wed Feb 19 17:40:12 2020 daemon.err odhcp6c[3977]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:40:12 2020 daemon.warn odhcpd[904]: DHCPV6 REQUEST IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:13 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:13 2020 daemon.info dnsmasq[1553]: read /etc/hosts - 4 addresses
Wed Feb 19 17:40:13 2020 daemon.info dnsmasq[1553]: read /tmp/hosts/odhcpd - 0 addresses
Wed Feb 19 17:40:13 2020 daemon.info dnsmasq[1553]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Wed Feb 19 17:40:13 2020 daemon.info dnsmasq-dhcp[1553]: read /etc/ethers - 0 addresses
Wed Feb 19 17:40:14 2020 daemon.notice netifd: wan (3975): udhcpc: sending discover
Wed Feb 19 17:40:14 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:14 2020 daemon.err odhcp6c[3977]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:40:14 2020 daemon.err odhcp6c[3977]: Failed to send RS (Permission denied)
Wed Feb 19 17:40:16 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:17 2020 daemon.notice netifd: wan (3975): udhcpc: sending discover
Wed Feb 19 17:40:18 2020 daemon.err odhcp6c[3977]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:40:18 2020 daemon.err odhcp6c[3977]: Failed to send RS (Permission denied)
Wed Feb 19 17:40:20 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:22 2020 daemon.err odhcp6c[3977]: Failed to send RS (Permission denied)
Wed Feb 19 17:40:27 2020 daemon.err odhcp6c[3977]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Wed Feb 19 17:40:28 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:44 2020 daemon.warn odhcpd[904]: DHCPV6 SOLICIT IA_NA from 0001000120fd68d1bcee7b112ce1 on br-lan: ok fdc4:43a1:617a::409/128
Wed Feb 19 17:40:45 2020 daemon.err odhcp6c[3977]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
I don't understand why it's always complaining about DHCPv6 which i'm not even trying to use. I would be fine if IPv4 is working.
Any ideas?