I have two hosts with different subnet
Host1(Linux) has Ip Address of 172.29.1.xxx Host2 has IP Address of 192.168.1.xxx
Host2 with 192 address can ping the host1 and all the servers with 172 address Host1 with 172 address can only ping the gateway of 192 i.e 192.168.1.1 but cannot ping any other servers with 192 address including host2.
I tried adding static route on host1 with these but it doesn't change anything
ip route add 192.168.1.0/24 dev eth0
ip route add 192.168.1.0/24 via 172.29.1.1 dev eth0
Can you please help me out with this.
Thanks