ds2k5
1
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 ?
brada4
2
What connection you have between 2 routers?
Bartvz
3
Disable DHCP on the second router then everything is "one network".
ds2k5
4
@brada4
Router in Garten (OpenWRT) did connect to the WiFI in the House (Fritz)
as WiFI Client
ds2k5
5
sorry what do you mean with the secound router
the openWRT in the garden ?
egc
6
You have to open up or disable the firewall of the Garden hut router
Bartvz
7
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
ds2k5
9
thanks - I will try with this HowTo !
brada4
10
https://openwrt.org/docs/guide-user/network/wifi/relay_configuration
Add ubus call system board
output to see if it needs some speed fixups.
egc
11
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
ds2k5
12
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
Bartvz
13
Does the client in the garden have a working internet connection?
ds2k5
14
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
Bartvz
15
There is probably a firewall rule blocking ping. So check the traffic rules.
ds2k5
16
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)
ds2k5
17
now ping works in both ways
many many thanks @Bartvz
1 Like