Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-28-2002, 04:04 AM   #1
LQ Newbie
Registered: Aug 2002
Posts: 4

Rep: Reputation: 0
Multiple simultaneous VPN connections?

Hi, i'm trying to do a load test on a VPN server. This involves several
clients connecting to the server using VPN and then transfering a file to
and from it. The limitation i face is that i only have a single linux
machine on the client side. Is it possible to establish multiple
simultaneous VPN connections from the same client machine to the VPN server?
If not from the pptp client product, is it feasible and/or possible to
develop such a product? Thanks!
Old 08-28-2002, 05:09 AM   #2
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
Yes, it should be.

Old 08-28-2002, 09:29 AM   #3
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
I've tried this before and found that the particular VPN server I was using wouldn't assign two VPNs to the same client IP address, so I had to use multiple IP addresses. This means multiple NICs or multiple IPs on a NIC. Cheapest way is to assign multiple IPs to a NIC. The iproute2 package has a program "ip" which will add IP addresses to a NIC.

If you're running a 2.4 kernel, try:

ip addr help
ip addr add <ip> dev ethx
ip addr show

If you are running a 2.2 kernel, you will have to use IP aliasing which uses the "route add" to extend the routing table and uses NIC names like eth0:1. Don't remember the exact syntax.
Old 08-29-2002, 12:28 AM   #4
LQ Newbie
Registered: Aug 2002
Posts: 4

Original Poster
Rep: Reputation: 0
I see... but apart from the potential server side issues that may arise from the client side it is possible to establish multiple VPN connections at the same time from the same machine?

By the way whats the VPN client you were using?

Also would you happen to know that when say 2 VPN connections to the same server are established simultaneously from the same client does each connection use a sperate pptp tunnel or do they both share the same tunnel?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vpn Multiple connections rdwiljam Linux - Networking 0 09-29-2005 04:43 PM
Simultaneous usage of two dialup connections n3tw0rk Linux - Networking 0 11-01-2004 11:22 AM
two simultaneous connections on one line Sjaaksken Linux - Networking 4 01-15-2004 03:42 PM
Multiple simultaneous VPN connections? chamitha Linux - Newbie 1 08-28-2002 04:12 AM
Multiple simultaneous VPN connections? chamitha Linux - General 1 08-28-2002 04:11 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration