I'm new to OpenWRT and this is my current configuration:
Router Asus RT-AC56U (BCM4708)
Architecture ARMv7 Processor rev 0 (v7l)
Firmware Version OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d
I simply want to use OpenWRT for sharing USB attached storage to other hosts on my network. The problem is that I can't get the networking right to make this work. The OpenWRT is using a static IP (10.57.59.10) and the gateway is 10.57.59.1.
I can access the Openwrt web interface from other machines but nothing from the openwrt seems to work. I cannot ping the gateway or internet (100% packet loss) but pinging the localhost does work.
I can ssh into the openwrt also. I know a little about networking and linux but not enough to figure this out with all the VLAN and bridging stuff. I've tried several things like disabling ipv6 to no avail.
This use case will have your router being simply a LAN device which is commonly used to make a wired to wifi bridge known as a "dumb AP." It can also offer services to the LAN such as file sharing.
The upstream network must be plugged into one of the AC56U LAN ports. Do not plug anything into the WAN port. Later you can repurpose that port for something else, but right now the WAN port and network can just be left unused. In /etc/config/dhcp, disable the DHCP server on the lan.
How is the router connected to the upstream network? Based on your configuration, it should almost certainly be connected LAN-LAN. If this OpenWrt router is connected via its WAN port, that would explain the issue.
I have determined that the problem is that the gateway in my network is blocking outbound traffic from the openwrt. I corrected this and things are working now. Thanks to those who offered suggestions.