OpenWrt beginner needs help. Some sites don't load and others do

Hello all,

I'm completely new to OpenWrt but very excited to learn more about using and customizing it. However, I'm a total beginner with it and I've run into an issue I can't figure out on my own.

I'm unable to access certain websites or ping public DNS servers like 1.1.1.1 or 8.8.8.8. Specific sites like minecraft.net and roblox.com fail to load, while others work fine.

My setup is vDSL internet through an AT&T BGW210 modem in IP passthrough mode. I'm able to confirm connectivity works when I connect directly to the modem instead of the router.

I would really appreciate if some experts could me out. I'm probably missing something simple haha

Some troubleshooting steps I tried:

  • Pinged sites directly from a device on the modem, which worked
  • Checked router firewall rules and even disabled firewall
  • Reset modem and router to factory defaults just in case

It seems the issue is somewhere between my modem and Archer A9 router connection, but that's as far as I can determine so far.

I've seen in other posts people posting their config outputs, so here are some config outputs from my router that may help:

DHCP settings:

root@OpenWrt:~# uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].cachesize='1000'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.d/resolv.conf.auto'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].ednspacket_max='1232'
dhcp.@dnsmasq[0].server='8.8.8.8' '1.1.1.1' '192.168.1.1'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.lan.dhcpv4='server'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
dhcp.lan.ra_flags='managed-config' 'other-config'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp='0'
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.odhcpd.loglevel='4'

Network settings:

root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd41:1edb:4396::/48'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='eth0.1'
network.@device[0].mtu='1300'
network.@device[0].mtu6='1300'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ip6assign='60'
network.lan.ipaddr='192.168.1.1/24'
network.lan.gateway='192.168.1.254'
network.@device[1]=device
network.@device[1].name='eth0.2'
network.@device[1].macaddr='60:32:b1:a5:63:00'
network.@device[1].mtu='1300'
network.@device[1].mtu6='1300'
network.wan=interface
network.wan.device='eth0.2'
network.wan.proto='dhcp'
network.wan.peerdns='0'
network.wan6=interface
network.wan6.device='eth0.2'
network.wan6.proto='dhcpv6'
network.wan6.reqaddress='try'
network.wan6.reqprefix='auto'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='2 3 4 5 0t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='1 0t'
network.@device[2]=device
network.@device[2].name='eth0'
network.@device[2].mtu='1300'
network.@device[2].mtu6='1300'
network.@device[3]=device
network.@device[3].name='eth0.1'
network.@device[3].type='8021q'
network.@device[3].ifname='eth0'
network.@device[3].vid='1'
network.@device[3].mtu='1300'

If anyone could provide any insight or guide me on other things to check or try, I would be extremely grateful. Really want to learn how to properly troubleshoot these kinds of problems.

Thank you very much for your time!

AT&T does not offer proper passthrough.

This video helps explain best practices with a gateway when you have no other options..

And I would pull the 192.168.1.1 out of the DNS pool. If the first two do not work it sends the DNS request to 192.168.1.1. I'm sure you can see the problem with that.
Ouroboros.

2 Likes

Hello everyone! I have a quick update about what I've just learned!

It appears that I'm unable to ping and connect to IPv4 addresses. I can't ping 8.8.8.8 and 1.1.1.1 because they are IPv4 addresses. I can't connect to roblox or Minecraft websites because they are IPv4 addresses. I am able to connect to google because it connects to the IPv6 address, but when I type in the IPv4 address directly into the URL bar, it doesn't load. Pinging the IPv6 address for google works, but pinging the IPv4 address for google doesn't. There must be something wrong with how IPv4 is being handled?

The most common reason for that is that the upstream network is also 192.168.1.X, so that routing (based on the destination IP subnet) does not work. You have to change the LAN IPv4 to use a different range like 192.168.2.1/24.

That is essential, since it's just making a circular reference to look back at your own server for names that your own server does not know, which is not going to work.

1 Like

I don't think this is a legit option for network.lan.ipaddr. Also, is your OpenWrt router behind another (ISP) router? If so, you may want to make sure these two routers use different subnets.

1 Like

Yes I missed that. Take that gateway line out. Gateway is set automatically by DHCP on the wan.

My advice to beginners looking for the basic home router use case is that the less you change OpenWrt from a default configuration, the more likely it is going to work. I think the only thing you need to do here is be sure that wan and lan IP range isn't overlapping. Leave all the optional stuff like DNS servers at default (leave the settings boxes empty).

2 Likes

AT&T will not do IPV6 in bridge mode. The gateway needs to handle everything a router does if you are going to try to bridge. They are using IPV6.

It will work in AP mode.

You can confirm this by running tracert -6 google.com from a device in bridge mode; it is going nowhere in bridge mode.
Tracert -4 google.com works fine.

I think it is trying to use IPV6 some of the time.

Even after factory resetting my router and re-flashing openwrt, only IPv6 works. No IPv4 websites load and I'm unable to ping IPv4 addresses. If I may ask a novice question, I currently have devices (computers, phones, etc)
connected to my Modem/Router combo that's also in IP passthrough mode, fixed to my router's MAC address. Because I have devices connected to the Modem/Router (BGW210), could it be causing issues for my router?

Iā€™m immensely grateful for the community's guidance and suggestions so far. If there's any additional information or specific details that might help diagnose this issue, please let me know. Your insight has been invaluable, and I'm eager to learn from your expertise to resolve this challenge.

Hey all, just wanted to do a quick update here, I was able to figure out what was going on! There were two changes that I made and, honestly, I'm not sure which one resolved the issue so I'll talk about both in here.

  1. My router had multiple Mac Addresses -- Looking at the bottom of the router, I was able to use that Mac Address for the fixed IP passthrough setting, rather than the one provided by AT&T that I just used at face value.

  2. I downgraded the firmware of the OpenWRT to version 22.03.0 because I thought it might be possible that my old BGW-210 was somehow incompatible with newer firmware (my reasoning was that, when using tftp to load the original firmware onto the router, I noticed that it was able to receive and send IPv4 traffic but when updating to the newest firmware, it stopped sending traffic all together)

I am now using a BGW210 from AT&T in IP passthrough mode (fixed DHCPS) with my personal router selected as the target. IPv4 works and so does IPv6, thank you everyone for your help and insight!

1 Like

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