I have a problem where I have an office LAN and a colo network. The colo has a linux box that's acting as a router/VPN. I also have an office machine that's acting as a VPN client.
The way it looks is the following:
Office has two interfaces,
eth0 on 10.16.1.15 netmask 255.255.255.0
tun0 is a P-t-P interface that looks something like: inet addr:10.8.13.6 P-t-P:10.8.13.5
Now the linux box at the colo has no problem reaching the machine via its 10.8.13.6 address. What I'm trying to do is get it to reach the 10.16.1.0/24 network which I can't do because I don't have a subnet on the VPN that's part of 10.16.1.0. So I tried doing something such as the following:
# route add -host 10.16.1.5 gw 10.8.13.6 SIOCADDRT: Network is unreachable
I'd just like to be able to get a route directly to 10.16.1.5 from box at the colo(the VPN). Is what I'm trying to do rationale/possible?