Connectivity issues with OpenWrt router

After spending 10 years on a 20/1 DSL connection with an ancient Actiontec Q1000 Modem/Router, I finally was able to upgrade to Starlink. The current Starlink modem/router has no ethernet ports, but I bought the extra "ethernet" kit and now have 1 ethernet port on the Starlink modem/router. After reading this forum for a few days and shopping, I found a great deal on a Belkin RT3200 for $50.

I played with the stock firmware for a little bit, but was excited to install OpenWRT, so I followed the instructions (https://github.com/dangowrt/owrt-ubi-installer) and installed OpenWrt 22.03.3, r20028-43d71ad93e without much trouble.

I was able to log into the Luci interface via a wired connection, change the root password, setup SSH keys, and setup luci over HTTPS, and am now able to access Luci with the new password and SSH into the router (so cool! I am hooked.).

But now I have an issue that I am having trouble diagnosing and resolving.

To ease discussion I give the following configurations names. All connections are wired.
Configuration A: Starlink Modem/Router ---- my laptop
Configuration B: Starlink Modem/Router ---- (WAN) Belkin RT3200 (LAN1) ---- my laptop.

The issue is that in configuration B (through the openwrt router), from my laptop, websites and other internet services are slow to load or do not load at all. Some more detailed tests are described below.

My laptop is running Ubuntu 20.04. I haven't tested with any other devices.

I haven't changed any configuration in OpenWRT, other than the aforementioned password/ssh things. I haven't set up Wifi. I did install a few packages via the command line (opkg install luci, luci-app-firewall, kmod-macvlan). Based on the output, I think those packages were already installed, and the command just updated them). I don't recall if this issue occured prior to running those commands. I didn't configure any vlans or change any firewall settings.

I haven't setup the Starlink Modem/Router in "Bypass Mode" yet. I was hoping to get openwrt configured before doing this, as the only way to get the Starlink Modem/Router back to regular mode is to perform a factory reset. If y'all think this could be the root cause, I am happy to try it, but would like to investigate other options first if possible. Also, it sounds like other people on the web don't have too much trouble when set up similar to configuration B and not in Bypass Mode. I am aware of the "double NAT" problem, but my research led me to believe that basic web browsing probably shouldn't be affected by the double NAT.

What would you try next?

TESTS IN CONFIGURATION A:
From my laptop:


ping -c 5 192.168.1.1 (Starlink modem/router IP addr):

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.825 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.869 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.935 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.932 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.941 ms

--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4030ms
rtt min/avg/max/mdev = 0.825/0.900/0.941/0.045 ms


dig www.fark.com (result returns immediately):

; <<>> DiG 9.16.1-Ubuntu <<>> www.fark.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14033
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;www.fark.com.			IN	A

;; ANSWER SECTION:
www.fark.com.		7188	IN	A	45.63.6.176

;; Query time: 3 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Thu Jun 22 11:48:21 MDT 2023
;; MSG SIZE  rcvd: 57


dig @8.8.8.8 www.fark.com (result returns immediately):

; <<>> DiG 9.16.1-Ubuntu <<>> @8.8.8.8 www.fark.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50741
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.fark.com.			IN	A

;; ANSWER SECTION:
www.fark.com.		10621	IN	A	45.63.6.176

;; Query time: 48 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Jun 22 11:49:17 MDT 2023
;; MSG SIZE  rcvd: 57


ping -c 5 45.63.6.176

PING 45.63.6.176 (45.63.6.176) 56(84) bytes of data.
64 bytes from 45.63.6.176: icmp_seq=1 ttl=51 time=139 ms
64 bytes from 45.63.6.176: icmp_seq=2 ttl=51 time=124 ms
64 bytes from 45.63.6.176: icmp_seq=3 ttl=51 time=92.3 ms
64 bytes from 45.63.6.176: icmp_seq=4 ttl=51 time=110 ms
64 bytes from 45.63.6.176: icmp_seq=5 ttl=51 time=109 ms

--- 45.63.6.176 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 40


traceroute www.fark.com

traceroute to www.fark.com (45.63.6.176), 30 hops max, 60 byte packets
 1  _gateway (192.168.1.1)  0.724 ms  0.716 ms  0.866 ms
 (Hops 2-11 omitted for privacy, they appear "normal" to me)
12  choopa-ic-357479.ip.twelve99-cust.net (62.115.59.7)  125.998 ms  88.438 ms  104.188 ms
13  www.fark.com (45.63.6.176)  96.026 ms !X  95.378 ms !X  95.273 ms !X




TESTS IN CONFIGURATION B (with the OpenWRT router):
From my laptop:


ping -c 5 192.168.1.1 (this is the IP addrs of the OpenWRT router now):

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.596 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.626 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.594 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.565 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.476 ms

--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4081ms
rtt min/avg/max/mdev = 0.476/0.571/0.626/0.051 ms


dig www.fark.com (result returns immediately):

; <<>> DiG 9.16.1-Ubuntu <<>> www.fark.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51790
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;www.fark.com.			IN	A

;; ANSWER SECTION:
www.fark.com.		6838	IN	A	45.63.6.176

;; Query time: 60 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Thu Jun 22 12:01:56 MDT 2023
;; MSG SIZE  rcvd: 57


dig @8.8.8.8 www.fark.com (result returns after 5-10 seconds):

; <<>> DiG 9.16.1-Ubuntu <<>> @8.8.8.8 www.fark.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached


ping -c 5 45.63.6.176

PING 45.63.6.176 (45.63.6.176) 56(84) bytes of data.
64 bytes from 45.63.6.176: icmp_seq=4 ttl=50 time=1228 ms
64 bytes from 45.63.6.176: icmp_seq=5 ttl=50 time=204 ms

--- 45.63.6.176 ping statistics ---
5 packets transmitted, 2 received, 60% packet loss, time 4086ms
rtt min/avg/max/mdev = 203.566/715.588/1227.611/512.022 ms, pipe 2


traceroute www.fark.com

traceroute to www.fark.com (45.63.6.176), 30 hops max, 60 byte packets
 1  OpenWrt.lan (192.168.1.1)  0.407 ms  0.390 ms  0.380 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * www.fark.com (45.63.6.176)  1712.399 ms !X




TESTS IN CONFIGURATION B (with the OpenWRT router):
From the OpenWRT router:


ping -c 5 192.168.1.1 (I am not sure if the Belkin is pinging the Starlink, or if the Belkin is pinging itself?):

PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=0.193 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.146 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=0.138 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=0.151 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=0.146 ms

--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.138/0.154/0.193 ms


nslookup www.fark.com (response is immediate):

Server:		127.0.0.1
Address:	127.0.0.1:53

Non-authoritative answer:
Name:	www.fark.com
Address: 45.63.6.176

Non-authoritative answer:
Name:	www.fark.com
Address: 2001:19f0:5:d3:ffff:ffff:ffff:ffff


nslookup www.fark.com 8.8.8.8

;; connection timed out; no servers could be reached


ping -c 5 45.63.6.176

PING 45.63.6.176 (45.63.6.176): 56 data bytes
64 bytes from 45.63.6.176: seq=0 ttl=51 time=90.528 ms
64 bytes from 45.63.6.176: seq=1 ttl=51 time=83.193 ms
64 bytes from 45.63.6.176: seq=2 ttl=51 time=103.201 ms
64 bytes from 45.63.6.176: seq=3 ttl=51 time=109.921 ms

--- 45.63.6.176 ping statistics ---
5 packets transmitted, 4 packets received, 20% packet loss
round-trip min/avg/max = 83.193/96.710/109.921 ms


traceroute www.fark.com

traceroute to www.fark.com (2001:19f0:5:d3:ffff:ffff:ffff:ffff), 30 hops max, 72 byte packets
 (Hops 1 - 7 omitted for privacy. But hop 1 was NOT the starlink router/modem.)
 8  *  *  *
 9  ethernetae5-sr3.pnj1.constant.com (2001:19f0:fc00::a40:41a)  152.606 ms  chi-bb1-v6.ip.twelve99.net (2001:2034:1:c7::1)  52.191 ms  ethernetae8-sr4.pnj1.constant.com (2001:19f0:fc00::a40:4c6)  91.660 ms
10  nyk-bb1-v6.ip.twelve99.net (2001:2034:1:b7::1)  65.199 ms  65.419 ms  vl838-c6-5-u2-1-a.pnj1.constant.com (2001:19f0:fc00::a40:5e6)  79.651 ms
11  *  *  *
12  www.fark.com (2001:19f0:5:d3:ffff:ffff:ffff:ffff)  73.751 ms !S  80.185 ms !S  87.530 ms !S

Set the ip address of your router to 192.168.2.1 instead of 192.168.1.1

Both routers can not have the same ip address.

4 Likes

That did it, thank you so much! I am not sure how I didn't find a solution so simple in all my web searching!

1 Like

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