Im trying to setup some routes but something isn’t working. I know how to make static routes and I know how all this stuff works but I must not be seeing something here or I am trying something that is impossible. In my diagram I want pc0 to talk with pc1 they both have different ip’s but the same gateway. Now on my routerboard I setup some routes but they don’t work. Am I missing something here?

Gw has to be set within each network.
so I would need to assign two ip’s to the routers interface and when I do that obviously routing will work automatically.
You can’t use 192.168.1.1 as gateway.
A gateway must be in the same network segment as the device itself.
If you configure the router with 2 IP addresses, each in a dediated range, related to the PC it should work.
I should know this it’s something we learned first day in class, but it’s not something I have to do very often so I forgot lol.
Thanks!