How to build working net with 2 WiFi Router

Hi,
there is a Internet Router(Fritz): 192.168.1.1

in the Garden hut another Router (OpenWRT) 192.168.2.1
this is connected by WiFI to the 192.168.1.1.
With the fixed IP 192.168.1.55

I connect a Device by Ethernet-Port to the Router 192.168.2.1
can ping to the Internet.

I added a route on the 192.168.1.1

192.168.2.0
255.255.255.0
192.168.1.55

But this did not work....can not ping for example: 192.168.2.2
from a Device in the 192.168.1.0/24 Network.

What did I wrong ?

What connection you have between 2 routers?

Disable DHCP on the second router then everything is "one network".

@brada4

Router in Garten (OpenWRT) did connect to the WiFI in the House (Fritz)
as WiFI Client

sorry what do you mean with the secound router
the openWRT in the garden ?

You have to open up or disable the firewall of the Garden hut router

Yes, it looks to me you want to use it as a wireless bridge.
If so, this post should contain the information you need: https://www.nerd-quickies.net/2019/08/20/setup-lan-wlan-bridge-with-openwrt-luci/

Ofcourse you will need to change it depending on your wishes.

1 Like

good question...

hope this is correct

thanks - I will try with this HowTo !

https://openwrt.org/docs/guide-user/network/wifi/relay_configuration
Add ubus call system board output to see if it needs some speed fixups.

That looks good, you should even be able to disable Masquerading on the WAN as you now have a route back, that could speed up the troughput

now the router in the garden
offer the 192.168.1.1 over WiFi
so that I got a 192.168.1.x IP from the Router in the house.

I can ping to the Internet
but I can not ping the Client in the Garden

Does the client in the garden have a working internet connection?

yes the client in the garten can ping into the internet

and I can ping to clients in the House....

but not ping from clients in the house to the garden

example:

garden client: 192.168.1.24 house client: 192.168.1.22

192.168.1.24 to 192.168.1.22 ping yes

192.168.1.22 to 192.168.1.24 no ping

There is probably a firewall rule blocking ping. So check the traffic rules.

did not buld rules - there are default rules

did not see some

do you see a wrong rule ?

if ping from house to the garden:

ping 192.168.1.24

From 192.168.1.2 icmp_seq=7 Destination Port Unreachable

192.168.1.2 = the router in the garden (OpenWRT)

now ping works in both ways

many many thanks @Bartvz

1 Like