VPN connection failes, but route can't be added
DComTalk.com Forum Index DComTalk.com
Discussion of VoIP, VPN, Video Conferencen, DSL and other data commucations.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web dcomtalk.com
VPN connection failes, but route can't be added

 
Post new topic   Reply to topic    DComTalk.com Forum Index -> VPN
Author Message
Jan Schmidt
Guest





Posted: Thu Nov 24, 2005 4:24 pm    Post subject: VPN connection failes, but route can't be added Reply with quote

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
Back to top
Jan Schmidt
Guest





Posted: Thu Nov 24, 2005 4:32 pm    Post subject: Re: VPN connection failes, but route can't be added Reply with quote

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]
Back to top
 
Post new topic   Reply to topic    DComTalk.com Forum Index -> VPN All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Solutions: Telephone Systems Electronics Satellite TV Tech & Gadgets
Powered by phpBB