I'm having trouble setting up static routing.
My target machine 192.168.1.36
has a loopback address of 192.168.46.1
255.255.255.255
which I am trying to ping from another device in the network 192.168.1.28
.
On 192.168.1.36
I can ping the loopback and the source machine.
From the source machine 192.168.1.28
I have added the following static route:
route add -net 192.168.46.1 netmask 255.255.255.255 gw 192.168.1.36 dev ens3
However I cannot ping 192.168.46.1
despite being able to ping 192.168.1.36
.
There are no firewall rules in place blocking ICMP.
Any help appreciated.