Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VPN connection Problem if on same network

Status
Not open for further replies.

louie728

Programmer
Feb 4, 2004
27
US
Hello all,

I currently have a VPN set up that works great if the connection is not from the same network. Example if the client 's computer has an address of 192.168.0.xxx, it connects via vpn everything is great. If the client has an address 192.168.1.xxx it connects, but cannot see anything on the other network even though the connection is connected. The server side of the VPN is on a 192.168.1.xxx network. I cannot change the network on the server side nor can I control the clients lan connections. Any help would be greatly appreciated,I have to go through hoops to configure clients routers to do DHCP for diffrent addresses and can be a pain for the non computer savy.

Regards,

 
I am using the router which is a Netopia and these are the settings:
------------------------------------------------------------
Change Connection Profile

Profile Name: VPN
Profile Enabled:

Data Link Encapsulation... PPTP
Data Link Options...
**Start********These are the data link options*************
PTP Tunnel Options
PPTP Partner IP Address: 0.0.0.0
Authentication... MS-CHAP
Data Encryption... MPPE
Send Host Name:
Send Secret:
Receive Host Name: vpnname
Receive Secret: ****password*******
Initiate Connections: No
Idle Timeout (seconds): 300
**End********These are the data link options***************
IP Enabled: Yes
IP Profile Parameters...
**Start*** Ip profile options******************************

IP Profile Parameters
Address Translation Enabled: No
Remote IP Address:
Remote IP Mask: 0.0.0.0
Filter Set...
Remove Filter Set
RIP Profile Options...
**Start****RIP Profile Options...***************************
RIP Profile Parameters
Receive RIP: Both
Transmit RIP: Off
**End*****RIP Profile Options...***************************
**End***** Ip profile options******************************

Interface Group... Any Port

COMMIT CANCEL
------------------------------------------------------------
Any help is greatly appreciated.....

TIA
 
if i understand right, you have an network card in the pc that makes the vpn connection right?

If this is the case, then it is absolutely correct not to communicate with the network 192.168.1.0 because all the 192.168.1.0 traffic is being send through your nic card.

Change the ip address of the nic card and everything will be ok.

when you connect to the vpn, go to command prompt and give the command: Route Print to see the routing table of your pc.

Tell me what it shows
 
Thanks nsvoy. Here is the routing table from a computer on the same network that connects to the VPN but cannot access resources.


===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 07 e9 5c db a7 ...... Intel(R) PRO/100 VE Network Connection
0x100004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 07 e9 5c db a7 ...... Intel(R) PRO/100 VE Network Connection
0x100004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.113 192.168.1.113 1
0.0.0.0 0.0.0.0 192.168.1.200 192.168.1.7 21
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.7 192.168.1.7 20
192.168.1.7 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.113 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.1.255 255.255.255.255 192.168.1.7 192.168.1.7 20
192.168.1.255 255.255.255.255 192.168.1.113 192.168.1.113 50
216.242.4.154 255.255.255.255 192.168.1.200 192.168.1.7 20
224.0.0.0 240.0.0.0 192.168.1.7 192.168.1.7 20
224.0.0.0 240.0.0.0 192.168.1.113 192.168.1.113 1
255.255.255.255 255.255.255.255 192.168.1.7 192.168.1.7 1
255.255.255.255 255.255.255.255 192.168.1.113 192.168.1.113 1
Default Gateway: 192.168.1.113
===========================================================================
Persistent Routes:
None


TIA,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top