I've got 2 servers running Debian
Linux:
Server 01 with private IP 10.0.10.10 on eth0
Server 02 with private IP 10.10.10.10 on eth0, and also subnet 100.0.0.0/10 on tun-test
From Server 01
I am able to ping Server 02
on 10.10.10.10
.
But I would also like to be able to ping Server 02
on any IP address within subnet 100.0.0.0/10
.
I've tried to add the following on Server 01
:
ip route add 100.0.0.0/10 via 10.10.10.10 dev eth0
But are getting RTNETLINK answers: Network is unreachable
.
Server 02
can ping Server 01
on 10.0.10.10
.
The servers are not on the same VLAN
.
What to do?