I've been able to re-establish a connection to the remote router and I've identified there are still some connectivity issues.
There was no connection issue for me remotely connecting via SSH, but for the users connected locally to the remote OpenWRT router. The reason for my disconnection was because a local user of the remote router cut the power to the router several times, causing the partition switch on this particular Linksys router, which was still using the stock (and unconfigured) Linksys software on the alternate partition. I've since managed to install OpenWRT on the alternate partition and import the OpenWRT configuration file, which I exported from the primary partition just before the initial connectivity issues.
What triggered the local user to cut the power is because, when I made the wan interface change from DHCP Client to Static, local users of the router had no Internet access.
When the wan interface is set to DHCP Client, everyone including local users of the router have an internet connection.
When the wan interface is set to Static, I continue to have an SSH connection to the remote router, and an SSH connection to devices on that router (which in turn, provide me a VPN tunnel as well as access to the router's luci UI, and also acts as a dynamic DNS resolver), but other devices on the router, are connected but without internet access.
For example, when the wan interface is set to DHCP Client, I can SSH onto a remote device connected to the remote router, and wget
a file successfully.
When the wan interface is set to Static, I receive:
Resolving cdimage.debian.org (cdimage.debian.org)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘cdimage.debian.org’
The requested details are as follows:
$ ubus call system board
{
"kernel": "5.15.150",
"hostname": "MyLinksysRouter",
"system": "ARMv7 Processor rev 1 (v7l)",
"model": "Linksys WRT1900ACS",
"board_name": "linksys,wrt1900acs",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.3",
"revision": "r23809-234f1a2efa",
"target": "mvebu/cortexa9",
"description": "OpenWrt 23.05.3 r23809-234f1a2efa"
}
}
$ cat /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 'fd17:2099:1b3d::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '10.10.123.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'wan'
option macaddr 'e3:22:0f:44:aa:0f'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
$ cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
option channel '36'
option band '5g'
option htmode 'VHT80'
option country 'GB'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'MyLinksysRouter_5G'
option encryption 'sae-mixed'
option macaddr 'e3:22:0f:44:aa:11'
option key 'myPassword123'
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option channel '1'
option band '2g'
option htmode 'HT20'
option country 'GB'
option cell_density '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'MyLinksysRouter'
option encryption 'sae-mixed'
option macaddr 'e3:22:0f:44:aa:10'
option key 'myPassword123'
$ 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 cachesize '1000'
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'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '120'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
option start '100'
option limit '120'
option leasetime '12h'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config host
option name 'MY-LAPTOP-ETH'
option ip '10.10.123.100'
option mac '42:A1:DA:1A:10:10'
config host
option name 'MY-LAPTOP-WLAN'
option ip '10.10.123.101'
option mac '92:F1:AA:3A:20:20'
config host
option name 'DESKTOP-PC'
option ip '10.10.123.102'
option mac '00:22:0F:4D:30:30'
config host
option name 'OLD-LAPTOP-ETH'
list mac '55:0A:1C:2E:40:40'
option ip '10.10.123.103'
option leasetime '12h'
$ cat /etc/config/firewall
config defaults
option syn_flood '1'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
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'
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'
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'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'SSH'
option src 'wan'
option src_dport '11122'
option dest_ip '10.10.123.102'
option dest_port '11122'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'TINYPROXY'
option src 'wan'
option src_dport '8888'
option dest_ip '10.10.123.102'
option dest_port '8888'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'PIVPN'
option src 'wan'
option src_dport '58100'
option dest_ip '10.10.123.102'
option dest_port '58100'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'VNC'
option src 'wan'
option src_dport '5900'
option dest_ip '10.10.123.103'
option dest_port '5900'
option enabled '0'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'RDP'
option family 'ipv4'
option src 'wan'
option src_dport '3389'
option dest_ip '10.10.123.103'
option dest_port '3389'
At the time of writing this, I have noticed that the Linksys OpenWRT router is leasing IPv6 addresses to devices on the router, but the upstream Technicolor router (modem) has IPv6 provision disabled. When setting the OpenWRT router wan interface to static, could this be what is causing those devices not to obtain internet access from the upstream router?
EDIT: One additional point worth mentioning, is that @psherman had instructed to provide the necessary DNS values when setting the wan interface to Static.
However, such an option to enter those DNS values does not appear:
In such a situation above, where the upstream router (modem) has IPv6 disabled, should the downstream router have Delegate IPv6 prefixes enabled on the wan interface?
ANOTHER EDIT: Apologies for further editing. I've just noticed that when attempting to set the wan interface to Static, the IPv4 broadcast value may be out of range of the upstream address range. I'm attempting to set the IPv4 broadcast to 192.168.123.255, but the upstream range is from 192.168.123.1 to 192.168.123.120. Could that be a potential cause?