Enable networking for two Linux machines to see each other
So I have two Linux machines that are on two different subnets:
machine 1 - 192.168.254.132 gateway - 192.168.254.64
machine 2 - 22.214.171.124 gateway - 192.168.220.1
I am not able to ping either one of these machines and I've checked to see if routing is on and its not.
Do I have to turn on routing in order for these machines to ping each other as well as create some sort of iptables rule too?
Let me know if we need more information.