At the moment trying to "cloud" servers. Decided to move the project from one provider to another. Both are in the same DC and IP are in the same subnet 255.255.0.0. I need the server server2 have access to server1.
For example, server1 has IP address xxx.yyy.11.22, server2 xxx.yyy.33.44.
On server1 there are such routes:
xxx.yyy.228.0/24 dev eth1 proto kernel scope link src xxx.yyy.11.22
default via xxx.yyy.228.254 dev eth1
On server2 are:
xxx.yyy.0.0/16 dev eth0 proto kernel scope link src xxx.yyy.33.44
default via xxx.yyy.239.254 dev eth0
As I understand it, the case in the first routes routes. Tried on server 1 to put the rout to the server 2 via default, and on server 2 to start the route to the server 1 via default... did Not work... what to do?