I have a single private network 10.51.8.0/23 (say NetworkA
). On the physical network running NetworkA
I have single host (say HostA
) with IP 172.16.0.24.
My intention is to reach HostA
from NetworkA
.
test@test:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.51.8.1 0.0.0.0 UG 100 0 0 eno1
10.51.8.0 0.0.0.0 255.255.254.0 U 100 0 0 eno1
Is it possible to create a new interface mylocal
with Destination 172.16.0.0
, Gateway 0.0.0.0
, Genmask 255.251.0.0
, Iface eno1
?
Is the above approach valid and satisfy my use-case? If no kindly propose your opinion on this.