View Single Post
Old 07-25-2010, 11:46 PM   #13 (permalink)
dc/dc
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,530
Post Thanks: 220
Thanked 345 Times in 311 Posts
Default

Quote:
Originally Posted by slinkeey View Post
Thank You Sir!

That worked..

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..

Jeff
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.
__________________
I h8 txtspk.
Offline   Reply With Quote