How to assign specific local ip for each client all time?

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
maffucci
Posts: 10
Joined: Sun Aug 04, 2013 5:06 am

How to assign specific local ip for each client all time?

Post by maffucci » Tue Mar 04, 2014 9:23 am

Hi,


How to assign specific local ip for each client all time?

For ex,

Jacob 192.168.30.15
Aiden 192.168.30.16
Lily 192.168.30.17

..etc

sdevries.otn
Posts: 11
Joined: Fri Sep 26, 2014 2:33 pm

Re: How to assign specific local ip for each client all time

Post by sdevries.otn » Mon Oct 13, 2014 2:31 pm

When you install SoftEther VPN client, it creates a MAC address for the virtual adapter. That is the MAC address you need to assign a static IP address too using windows, router, etc. Whatever acts as your current DHCP server. As far as I know, this MAC does not change once installed. If the computer gets wiped / reinstalled, this MAC will likely change, so be ready for that.

prince5
Posts: 2
Joined: Wed Oct 22, 2014 8:12 am

Re: How to assign specific local ip for each client all time

Post by prince5 » Wed Oct 22, 2014 8:23 am

MAC address is not the only way which may be used to assign static IP address to client, lack of assgining static IP to users is most need function in these giant VPN software

SoftEther VPN has almost all information for assigning static IP:
1- MAC address of SoftEther VPN Client (Look Virtual DHCP Server Status) - another choise to bind this information
2- Username/Password - another choice to assign static IP in username profile (Manage Users)
3- Username certificate - another choice to assign static IP (Individual Certificate Authentication Settings)

kosztyua
Posts: 23
Joined: Thu Nov 27, 2014 8:49 pm

Re: How to assign specific local ip for each client all time

Post by kosztyua » Sun Mar 29, 2015 12:19 am

Only way to assign static IP is external DHCP or manually on the clients.

mrpine
Posts: 6
Joined: Wed Jun 27, 2018 7:31 am

Re: How to assign specific local ip for each client all time

Post by mrpine » Mon Aug 20, 2018 9:47 am

kosztyua wrote:
> Only way to assign static IP is external DHCP or manually on the clients.

Hi,
I have a windows 10 client. use l2tp/ipsec vpn connection. when I set manual ip address in vpn settings it got me error .
Any Help?!

This is server log
==========
2018-08-20 13:27:49.891 L2TP PPP Session [172.16.5.202:1701]: Acquiring the networking information from the DHCP server failed. To accept a PPP session, you need to have a DHCP server. Make sure that a DHCP server is working normally in the Ethernet segment which the Virtual Hub belongs to. If you do not have a DHCP server, you can use the Virtual DHCP function of the SecureNAT on the Virtual Hub instead.
2018-08-20 13:27:50.043 L2TP PPP Session [172.16.5.202:1701]: The VPN Client sent a packet though an IP address of the VPN Client hasn't been determined.
2018-08-20 13:27:50.043 L2TP PPP Session [172.16.5.202:1701]: A PPP protocol error occurred, or the PPP session has been disconnected.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: How to assign specific local ip for each client all time?

Post by thisjun » Thu Sep 13, 2018 6:36 am

In the L2TP, the client can't specify an IP address.

First of all, MAC address should be fixed for each user.
Please refer to this topic.
viewtopic.php?f=7&t=61463

Then, please try third-party DHCP server that can assign a static IP address for each MAC address.

akeelshouket
Posts: 1
Joined: Sat Oct 03, 2020 10:40 am

Re: How to assign specific local ip for each client all time?

Post by akeelshouket » Tue Oct 06, 2020 6:08 am

i have tried and i have done that
you can assign any your static lan ip to your client
all you have to do is assign the ip in vpn virtual network card
that soft ether create to connect the vpn
so when ever you connect the vpn you client will get that ip that
you assign in virtual vpn network card

Post Reply