VPN connection failes, but route can't be added

VPN connection failes, but route can't be added

NewsGroups | Search | Tools
 comp.dcom.vpn  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
VPN connection failes, but route can't be added Jan Schmidt 11-24-2005
Posted by Jan Schmidt on November 24, 2005, 5:24 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi NG,


i connected successfully to our VPN Server, but i can't connect any server
inside the network.
because i'm conntecting from the same network range.
So i tried to set up new Route that only the IP in the LAN will be
reachable, but all other traffic will be forwarded to the VPN Net.

But it seems there is something wrong with my Route command. I hope you can
hep me to fix that problem.

Here is what i get from ipconfig and route print:

[IPconfig]
Windows IP Configuration

Host Name . . . . . . . . . . . . : jan
Primary Dns Suffix . . . . . . . : dom.domain.com
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : dom.domain.com
mshome.net
domain.com
com

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Broadcom 570x Gigabit Integrated
Con
troller
Physical Address. . . . . . . . . : 00-0B-DB-D9-CD-AB

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . : mshome.net
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG
Network
Connection
Physical Address. . . . . . . . . : 00-0E-35-57-BE-AE
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.242
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Dienstag, 22. November 2005
22:54:52

Lease Expires . . . . . . . . . . : Dienstag, 29. November 2005
22:54:52


PPP adapter Hartung VPN:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-01-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.3.3
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.3.3
DNS Servers . . . . . . . . . . . : 210.22.155.182
Primary WINS Server . . . . . . . : 192.168.0.18
Secondary WINS Server . . . . . . : 192.168.0.16

[/IPconfig]


[Route Print]

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0b db d9 cd ab ...... Broadcom 570x Gigabit Integrated
Controller - Pa
cket Scheduler Miniport
0x10004 ...00 0e 35 57 be ae ...... Intel(R) PRO/Wireless 2200BG Network
Connect
ion - Packet Scheduler Miniport
0x20005 ...00 53 45 00 01 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.242 26
0.0.0.0 0.0.0.0 192.168.3.3 192.168.3.3 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.242 192.168.0.242 25
192.168.0.242 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.0.255 255.255.255.255 192.168.0.242 192.168.0.242 25
192.168.3.3 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.3.255 255.255.255.255 192.168.3.3 192.168.3.3 50
210.22.155.182 255.255.255.255 192.168.0.1 192.168.0.242 25
224.0.0.0 240.0.0.0 192.168.0.242 192.168.0.242 25
224.0.0.0 240.0.0.0 192.168.3.3 192.168.3.3 1
255.255.255.255 255.255.255.255 192.168.0.242 2 1
255.255.255.255 255.255.255.255 192.168.0.242 192.168.0.242 1
255.255.255.255 255.255.255.255 192.168.3.3 192.168.3.3 1
Default Gateway: 192.168.3.3
===========================================================================
Persistent Routes:
None

[/Route Print]

i tried many diffrent commands, but none of these worked out, so i don't
know if it is a syntax error or if something else...
also i tried to just connect to one our server with these commands, same
problem

route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.0 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3



Pure Networks
Posted by Jan Schmidt on November 24, 2005, 5:32 am
If you were  Registered and logged in, you could reply and use other advanced thread options
sorry pressed the button to early... ;-)



route add 192.168.0.18 mask 255.255.255.255 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.18 mask 255.255.255.255 192.168.3.3 Metric 2 if 20005
route add 192.168.0.18 mask 255.255.255.255 192.168.3.3 Metric 2 if 0x20005
route add 192.168.0.18 mask 255.255.255.0 192.168.3.3 Metric 2 if
192.168.3.3
route add 192.168.0.18 mask 255.255.255.0 192.168.3.3 Metric 2 if 20005
route add 192.168.0.18 mask 255.255.255.0 192.168.3.3 Metric 2 if 0x20005

and also some other configuration possibiities.
but everytime i got this error:

[Error1]
The route addition failed: Either the interface index is wrong or the
gateway do
es not lie on the same network as the interface. Check the IP Address Table
for
the machine.
[/Error1]

or also:

[Error2]
The route addition failed: The specified mask parameter is invalid.
(Destination
& Mask) != Destination.
[/Error2]



Similar ThreadsPosted
POPTOP + no route problem July 13, 2005, 2:30 pm
Route all traffic through Cisco VPN October 13, 2005, 6:25 pm
Static route through Netscreen Remote: can it be done? June 6, 2005, 12:42 am
Route all traffic through Netgear FVS318v3 VPN September 28, 2005, 5:38 pm
DFL-200 ROUTER-TO-ROUTE file share issues October 4, 2006, 3:59 pm
VPN connection kills Internet Connection October 10, 2005, 9:35 am
vpn connection February 4, 2007, 11:10 am
Connection to Corp VPN June 4, 2005, 5:58 am
how configration VPN connection October 28, 2005, 1:06 pm
VPN Connection Headache January 14, 2006, 8:47 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map