Adding a route to a dedicated network behind network gateway.
My workstation is on a network, let's say 10.100.0.0/24.
I'm opening up an openVPN Tunnel to a test environment in my company, receiving a lot of routes to this network (address range 172.xx.yy.0). Everything is working fine so far.
In this test environment I placed a number of virtual systems having their own private network (10.99.0.0/24). I have one machine in this virtual cluster which is able to forward incoming IP traffic to the others.
When I login to this gateway system, using the 172.xx.yy.zz address, I can logon to the others using the 10.99.aa.bb addresses. Fine so far.
But I have to be able to call these machines with the 10.99.0.0/24 addresses from my laptop. So I tried to add a route like:
route add -net 10.99.0.0 netmask 255.255.255.0 gw 172.xx.yy.zz
Unfortunately I received an error messages:
SIOCADDRT: No such process
According to the entries in other forum articles (Google helps in most cases), I have to add a host route first:
route add -host 172.xx.yy.zz gw 172.well.defined.dest
But this doesn't help.
Any ideas, what to do next?
Cheers
dtlfwolf
|