WAN IP suddenly lost / no WAN connection

My BT HH5a is in Bridge Modem Mode, but since this morning I’ve been unable to get any connection to the internet and no WAN IP is being assigned to the modem from my ISP, TalkTalk.

I’ve not changed any config files on the device, it seemed to happen randomly this morning and since haven’t been able to get it back online.

I’m running OpenWrt 21.02.7 r16847-f8282da11e.

The Status>Overview>DSL Status implies that a connection is there. But Network>Interfaces>WAN has no WAN IP.

Temporarily, I've used the TalkTalk WiFi hub to confirm that the WAN connection using their supplied device is still working. And there's no issue there, which helps to rule out the line or any other issue with TalkTalk.

What could be going wrong?

DSL Status / Configs
/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 'xxxx:xxxx:xxxx::/48'

config dsl 'dsl'
	option annex 'b'
	option tone 'a'
	option xfer_mode 'ptm'
	option line_mode 'vdsl'
	option ds_snr_offset '0'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'dsl0.101'
	list ports 'eth0.1'

config device
	option name 'eth0.1'
	option macaddr '00:37:xx:xx:xx:f2'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option ipaddr '192.168.100.1'

config device
	option name 'eth0.2'
	option macaddr '00:37:xx:xx:xx:f3'

config interface 'wan'
	option mtu '1500'
	option ipv6 '0'
	option device 'dsl0.101'
	option proto 'none'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '6t 4 2 0 1'
	option vid '1'

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option ports '6t 5'
	option vid '2'
/etc/config/firewall


config defaults
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option synflood_protect '1'
	option flow_offloading '1'

config zone
	option name 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'
	list network 'lan'

config zone
	option name 'wan'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'
	option enabled '0'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-IGMP'
	option src 'wan'
	option proto 'igmp'
	option family 'ipv4'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option src_ip 'fc00::/6'
	option dest_ip 'fc00::/6'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-MLD'
	option src 'wan'
	option proto 'icmp'
	option src_ip 'fe80::/10'
	list icmp_type '130/0'
	list icmp_type '131/0'
	list icmp_type '132/0'
	list icmp_type '143/0'
	option family 'ipv6'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-IPSec-ESP'
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Allow-ISAKMP'
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'
	option enabled '0'

config rule
	option name 'Support-UDP-Traceroute'
	option src 'wan'
	option dest_port '33434:33689'
	option proto 'udp'
	option family 'ipv4'
	option target 'REJECT'
	option enabled '0'

config include
	option path '/etc/firewall.user'

config redirect
	option target 'DNAT'
	option name 'ha_ssl'
	option src 'wan'
	option src_dport '443'
	option dest 'lan'
	option dest_ip '192.168.0.42'
	option dest_port '8123'

config redirect
	option target 'DNAT'
	option name 'ha_http'
	option src 'wan'
	option src_dport '80'
	option dest 'lan'
	option dest_ip '192.168.0.42'
	option dest_port '80'

config redirect
	option target 'DNAT'
	option name 'ha_test'
	option src 'wan'
	option src_dport '8123'
	option dest 'lan'
	option dest_ip '192.168.0.42'
	option dest_port '8123'
	option enabled '0'

/etc/config/dhcp

config dnsmasq
	option domainneeded '1'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
	option localservice '1'
	option ednspacket_max '1232'

config dhcp 'lan'
	option interface 'lan'
	option start '100'
	option limit '150'
	option leasetime '12h'
	option dhcpv4 'server'
	option dhcpv6 'server'
	option ra 'server'
	list ra_flags 'managed-config'
	list ra_flags 'other-config'
	option ignore '1'
	option dynamicdhcp '0'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'
	list ra_flags 'none'

config odhcpd 'odhcpd'
	option maindhcp '0'
	option leasefile '/tmp/hosts/odhcpd'
	option leasetrigger '/usr/sbin/odhcpd-update'
	option loglevel '4'
**DSL Status**

**Line State:**Showtime with TC-Layer sync

**Line Mode:**G.993.2 (VDSL2, Profile 17a)

**Line Uptime:**0h 2m 5s

**Annex:**B

**Data Rate:**79.998 Mb/s / 19.999 Mb/s

**Max. Attainable Data Rate (ATTNDR):**83.496 Mb/s / 21.924 Mb/s

**Latency:**0.16 ms / 0.00 ms

**Line Attenuation (LATN):**14.8 dB / 16.8 dB

**Signal Attenuation (SATN):**14.8 dB / 16.6 dB

**Noise Margin (SNR):**3.8 dB / 7.2 dB

**Aggregate Transmit Power (ACTATP):**6.3 dB / 13.4 dB

**Forward Error Correction Seconds (FECS):**0 / 76020

**Errored seconds (ES):**0 / 32030

**Severely Errored Seconds (SES):**0 / 4

**Loss of Signal Seconds (LOSS):**0 / 0

**Unavailable Seconds (UAS):**59 / 59

**Header Error Code Errors (HEC):**0 / 0

**Non Pre-emptive CRC errors (CRC_P):**0 / 0

**Pre-emptive CRC errors (CRCP_P):**0 / 0

**ATU-C System Vendor ID:**Broadcom 164.170

**Power Management Mode:**L0 - Synchronized