Originally Posted by slinkeey
Thank You Sir!
I just added:
route add -net 10.20.0.0 netmask 255.255.0.0 dev tun0
This is the only part of the network I care about... (AS400 and My Desktop are ont his network..)
It added an entry with 0.0.0.0 as the gateway....
I am suprised it wouldn't work before this as 10.0.0.0 netmask 255.0.0.0 was added to my routing table by OpenVNC but the difference was th 10.0.0.0 was pointing to OpenVNCs IP as the gateway..
Unless drilling down to 10.20 makes darn sure that my own network between the BB and myself doesn't try routing it on it's own..
Awesome! Glad it worked.
0.0.0.0 is the default route and should always be there. It is dynamic based on how your computer is connected to the Internet at the time.
The reason that the 10.0.0.0 255.0.0.0 entry did work is that with that network mask it was including both the 10.20.0.0 and 10.56.0.0 traffic in that route. By default, computers try to summarize routes as much as possible, and this is normally seen as best practice in networking, but in some cases such as yours this can cause problems.