Simple network question

Hello I have 2 routers
router1
eth1 -10.0.0.1
wlan1-20.20.20.1

router2
eth1- 10.0.0.2
wlan1- 20.20.20.2

I have connection on the wireless
and if I ping from inside the router 10.0.0.1 to 20.20.20.2 I get replay

How can I make computer 10.0.0.101 that connect to router 1 to “talk” to computer 10.0.0.102 connect to router 2?
firewall rule? route?

surely this is simple ,


Thanks ,

How are the routers connected to each other? Via WLAN or Ethernet?

You can’t use IP addresses in the same subnet across two different routers. You appear to have router1/eth1 with a subnet of 10.0.0.1/24 and a gateway address of 10.0.0.1 on eth1, Any computer connected to Eth 1 should have an IP address within that subnet (e.g.10.0.0.101). But if you try to ping 10.0.0.102, the computer will think that this computer is on the same subnet and will not send ping packets to the 10.0.0.1 gateway. It will send out an ARP request asking “who has 10.0.0.102” on the local ethernet segment.

If you want to ping a computer on router 2, then assign a different subnet to Router2 Eth1. e.g. 10.0.1.1/24 and a gateway address of 10.0.1.1 on router2/eth1. The computer on router 2 should have a IP address within the same subnet e.g. 10.0.1.102. Then when you ping from computer 1 (10.0.0.101) to 10.0.1.102, the computer will recognise that 10.0.1.102 is not in the same subnet and will send the packet to the gateway address 10.0.0.1.

Router 1 may also need a default route or a more specific route to 10.0.1.0/24 pointing to the router 2.
e.g. /ip route add dst-address==0.0.0.0/0 gateway=20.20.20.2

I need the computers to be on the same network (10.0.0.x)
so if I connect several computers to router #2 I will see all of them.
and router1 and router 2 connect with Wlan that have different network(20.20.20.x)

Than it sounds like you need to bridge the two routers using an Ethernet bridge and ditch your 20.20.x.x. network altogether.

this i know how to do
I want the wireless to be on a different network , this is the issue here …