I have two routers in the same subnet:
- Linux server is a gateway to the Internet
- Juniper SRX100H is for connection with other offices through IPsec VPN
All client machines have the Linux server as a default gateway. The Linux server has routes to other offices through the Juniper SRX. When a client machine tries to connect (ssh, rdp) to a computer in other office it receives the ICMP Redirect Message from the Linux host and sends some packets through the Juniper directly. Then it tries to send through the Linux gateway and receives ICMP Redirect Message again. The problem is that rdp and ssh sessions fail after some minutes. Also I noticed that this issue involves only Windows hosts. However, Cisco Phones (SIP) and SSH from Linux machines work fine.
The issue is also resolved on Windows computers if routes to the other offices' subnets are configured.
Is it possible not to configure routes on each Windows PCs and use only default Linux gateway?