Two subnets again

Started by KatzSmile, January 31, 2022, 08:21:05 AM

Previous topic - Next topic
January 31, 2022, 08:21:05 AM Last Edit: January 31, 2022, 04:50:02 PM by KatzSmile
Hello.

There is a connectivity problem between two subnets.

LAN1 192.168.0.0/22 ​​where the server with OPNsense 192.168.1.21 is specified as the gateway

OPNsense is connected to three networks:
to network 192.168.0.0/22 ​​via interface 192.168.1.21
to network 192.168.5.0/24 via interface 192.168.5.21
to the Internet via WAN1 interface

LAN2 192.168.8.0/22 ​​with Router 192.168.8.1 specified as gateway

Router is connected to three networks:
to network 192.168.8.0/22 ​​via interface 192.168.8.1
to network 192.168.5.0/24 via interface 192.168.5.1
to the Internet via WAN2 interface

Router and OPNsense are both connected to the network 192.168.5.0/24 and through the interfaces 192.168.5.1 and 192.168.5.21 respectively, and can see and ping each other without any problems.

OPNsense has a static route to the 192.168.8.0/22 ​​network through the 192.168.5.1 Router and can see and ping computers in the 192.168.8.0/22 ​​network without problems.

There is no access to setup or configuration of the 192.168.5.1 Router or any computers in the 192.168.8.0/22 ​​network.

How can I make computers from the 192.168.0.0/22 ​​network see and ping computers in the 192.168.8.0/22 ​​network?

UPD: I forgot to mention that if you specify the subnet 192.168.5.0/24 on ANY device with the gateway 192.168.5.1, then this device will able to see and ping the subnet 192.168.8.0/22 without problems

Please help.

I have attached a network diagram.


you are missing the 2nd half of your problem. you need a static route on the other router for the LAN1 network.

Quote from: lilsense on January 31, 2022, 11:29:37 AM
you are missing the 2nd half of your problem. you need a static route on the other router for the LAN1 network.

yeah. cant do that. Router isnt accessible for any changes.

yeah, you are not gonna talk... LOL :D

your traffic gets there, but no route to get back. ;)

Quote from: KatzSmile on January 31, 2022, 01:06:36 PM
yeah. cant do that. Router isnt accessible for any changes.
Then you need to NAT. Without a route in the upstream router you simply cannot use any additional subnets. Matter of fact.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

UPD: I forgot to mention that if you specify the subnet 192.168.5.0/24 on ANY device with the gateway 192.168.5.1, then this device will able to see and ping the subnet 192.168.8.0/22 without problems