Hello everyone,
I’m having trouble getting my Archer C7 (OpenWrt 23.05.5 and 22.03.7, mips_24kc) to receive a DHCP lease on its WAN port. Here’s what I’ve tried so far:
- Directly from a Modem: Plugged the Archer C7 WAN into my modem. No IP address obtained.
- Via Another Router: Put a second router between the modem and the Archer C7 (so Archer’s WAN → second router’s LAN). Still no IP address on the Archer.
- From a Laptop: Finally, I connected my laptop (running Ubuntu ICS) directly to the Archer’s WAN. The laptop sees DHCP Discover from the Archer and sends an Offer, but the Archer doesn’t appear to receive it.
Hardware / Firmware
- Router Model: TP-Link Archer C7
- OpenWrt Version: 22.03.7 and 23.05.5
- Architecture: mips_24kc
- Laptop OS: Ubuntu (using NetworkManager “Shared to other computers” / ICS)
Observations & Logs
- Archer’s WAN is configured for DHCP.
- I ran
tcpdump -i eth0.2 port 67 or 68
on the Archer, and I see only DHCP Discover from the Archer, no DHCPOFFER incoming. - Laptop’s tcpdump sees the router’s Discover and sends an Offer back, but it never shows up on the Archer side.
- The same issue occurs whether I connect the Archer’s WAN directly to my modem, or to another router, or to my laptop.
- The Archer’s switch config says
VLAN 2
is untagged on port 1 (the physical WAN jack) and tagged on CPU port 6. And port 6 maps to eth0. Although I switched betweeneth0.2
andeth1.2
for WAN with no success.
When used eth1.2. the laptop did not received any DHCP requests.
/etc/config/network
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 'fd7d:f5c0:15be::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
option hostname '*'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '2 3 4 5 0t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6t'
Other Attempts
- Swapped Ethernet cables and confirmed link lights.
- Power-cycled modem and the other router.
- Verified there’s no IP conflict (e.g., Archer LAN is 192.168.1.x, upstream uses 192.168.0.x or 10.42.x.x).
Any suggestions on what else to check? Thanks in advance for the help!