Router in bridging mode, no ping but devices can connect to internet?

I’m still very new to this so I think I’m missing something very basic. I have my openwrt router set in bridging mode and connected to my modem. It’s clearly connecting to the modem as my devices can access the internet via the openwrt router, but the router itself can’t.

Pinging the modem on 192.168.1.1, or 8.8.8.8 or any other ip address gives 100% packet loss. I’ve googled it no end but still can’t get it to work. What am I doing wrong?

Running 24.10 on bpi-r4

If you bridged the OpenWrt and get connection from your ISP modem:

  • Did you assign 192.168.1.1 to the OpenWrt?
  • Did you connect to the WAN or a LAN port?
  • How did you configure the interface in OpenWrt?
  • Why would the router possess the IP 8.8.8.8?
  • Or are you merely saying this fails too, but other Internet works?

Maybe I misunderstood the statement.

  • Did you assign 192.168.1.1 to the OpenWrt?
  • Did you connect to the WAN or a LAN port?
  • How did you configure the interface in OpenWrt?

openwrt router is assigned 192.168.3.1
Connected via wan port to the modem's lan port
lan interface configured like:

config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.3.1'
option netmask '255.255.255.0'
option ip6assign '60'
list dns '8.8.8.8'
list dns '8.8.4.4'

  • Why would the router possess the IP 8.8.8.8?
  • Or are you merely saying this fails too, but other Internet works?

Yes sorry I mean that I can't ping any ip address (either from within luci or using ssh) but my device was able to connect to the internet while on the router's network.

  • I assume this means you connected everything to the LAN ports
  • I assume you ISP's LAN is 192.168.3.0/24 and your ISP modem isn't 192.168.3.1 also?
  • You didn't configure a gateway

Into the OpenWrt WAN?

Then your LAN config is wrong if you want bridge mode. You would plug into the LAN abd follow the list above.

  • I assume this means you connected everything to the LAN ports
  • I assume you ISP's LAN is 192.168.3.0/24 and your ISP modem isn't 192.168.3.1 also?

ISP's lan is 192.168.1.0/24 and modem is 192.168.1.1

So I should connect lan port to lan port and change router's ip address to 192.168.1.xxx?

1 Like

Yes, use 192.168.1.xxx - and then specify 192.168.1.1 as gateway.

I can now ping 192.168.1.1 successfully and devices can all access the internet, but it seems that the router still cannot connect (all pings 100% packet loss). Is there something else I am missing?

Please provide the updated network configuration and verify how you're testing the OpenWrt router (via serial I assume?).