Route traffic to a secondary router on the same subnet

NethServer Version: 7.6.1810
Module: route

Hi!

I’m not being able to figured out how to configure NS to route package from 192.168.3.0/24 to 192.168.2.0/24 through 192.168.3.1
Is it posible?
(I have it working with debian, but i’m trying to replace it with NS)

Thank you very much for your time!

Static routes…

Thanks @pike, but I do have statics routes configured:

I’m sorry, I realized that I did not explain my problem well:
Based on previous tests (network that is not in the diagram), I verify that NS correctly routes packets with origin different from 192.168.3.0/24 and with destination 192.168.2.0/24 through 192.168.3.1, but if the origin is subnet 192.168.3.0/24, does not route it.

Would you please elaborate a bit more your environment?
Is 192.168.4.0/24 a radio bridge?
Do 192.168.2.0/24 knows (through another similar route) that there’s 192.168.3.0/24?

Why your network is using 192.168.3.1 as default gateway instead of 192.168.3.2?
NethServer assumes that Red interface (public ip) is internet connected and Green interface is lan connection, with the clients.
Maybe this enviroment is functional for your Debian install, but not for NethServer…

Sorry for not answering for so long, this project was canceled, but in similar situations I did not have this problem. I assume that I made a mistake and I didn’t realize it.

Thank you very much for your willingness and time!

What should I do with this thread? How do I “close” it?

Maybe you can flag it for moderation…

At request of topicstarter: closed