No IP Address being Assigned: Linux

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Stealthbird97
Posts: 3
Joined: Sun Jun 08, 2014 4:02 pm

No IP Address being Assigned: Linux

Post by Stealthbird97 » Sun Jun 08, 2014 4:09 pm

Hi,

I have a SoftEther VPN Server running on my windows machine. Works great when connecting with a windows computer and the VPN Client with GUI. IP address is assigned and all network is routed through the VPN.

When I try to get my Linux (Ubuntu 14.04LTS x64) system to do the same, it does not.
Using the VPN Client (vpnclient) and (vpncmd), I think I have it all setup. When I do the accountconnect command, it works and accountstatusget shows that the vpn connection is working. The thing is for some reason it does not get given a IP address from my SecureNAT DHCP server like the windows machine does.

As a result, there is effectively no network connection and no traffic gets routed through it.
Any ideas on what is the issue here.

Sorry, I'm new to this so please excuse any stupid questions.

Info:
OS: Ubuntu 14.04LTS
SoftEther Build: 9449

dnobori
Posts: 228
Joined: Tue Mar 05, 2013 10:04 am

Re: No IP Address being Assigned: Linux

Post by dnobori » Sun Jun 08, 2014 4:50 pm

On Windows system, the DHCP client service will automatically request and assign a new IP address for a virtual network adapter of VPN Client, from a DHCP server.

Unlike Windows, on Linux system you need to use your perferred DHCP client software to obtain an IP address after the VPN session has been made.

Stealthbird97
Posts: 3
Joined: Sun Jun 08, 2014 4:02 pm

Re: No IP Address being Assigned: Linux

Post by Stealthbird97 » Sun Jun 08, 2014 5:45 pm

Right,

It also appears that the virtual network adapter only has an ipv6 address so when I do a dhcp request it won't get an ipv4 address. Is this a setting or something?

Stealthbird97
Posts: 3
Joined: Sun Jun 08, 2014 4:02 pm

Re: No IP Address being Assigned: Linux

Post by Stealthbird97 » Mon Jun 09, 2014 5:03 pm

So for some reason there is no IPv4, only IPv6.
I can't get an IPv4 address via DHCP if there is no IPv4 for it to assign to.

Anyone know about that?

rollingscissors
Posts: 18
Joined: Sun Mar 17, 2013 4:07 am
Contact:

Re: No IP Address being Assigned: Linux

Post by rollingscissors » Wed Jun 11, 2014 6:16 am

I noticed that too, and not sure if turning off IPv6 would help.

shango
Posts: 8
Joined: Mon Jun 30, 2014 7:47 pm

Re: No IP Address being Assigned: Linux

Post by shango » Mon Jul 07, 2014 6:36 am

Has anyone figured this out yet? I'm having the same problem.
'If you always do what you always did, you always get what you alway got'
Jackie "Moms" Mabley

wanggao
Posts: 3
Joined: Thu Jul 24, 2014 5:16 pm

Re: No IP Address being Assigned: Linux

Post by wanggao » Thu Jul 24, 2014 8:21 pm

> I noticed that too, and not sure if turning off IPv6 would help.
No it will not

To auto assign and IP, as dnobori pointed out, a dhcp client is needed. For example:

sudo dhclient <vpn_adapter>

where <vpn_adapter> is name of adapter you created and used for connection.

linuxgeek
Posts: 4
Joined: Tue Sep 04, 2018 9:28 pm

Re: No IP Address being Assigned: Linux

Post by linuxgeek » Fri Sep 07, 2018 6:34 pm

Same issue with me, using CEntos7. Everything went fine during install. It is now connected to the server. However one question, how do we know the hostname of the client connected in the server, or what is the ip address assign by the server to the client? Is there a list of clients in the server that we can see it? I check the virtual card created in the linux client by using ifconfig, but there is no ip address assigned in the virtual nic. Below are the info that ifconfig showed:
vpn_vpn Link encap:Ethernet HWaddr 5E:38:71:3E:EC:39
inet6 addr: fe80::5c38:71ff:fe3e:ec39/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:333137 errors:0 dropped:0 overruns:0 frame:0
TX packets:43147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:65682923 (62.6 MiB) TX bytes:3572538 (3.4 MiB)

Below the connection status:
VPN Client>AccountList
AccountList command - Get List of VPN Connection Settings
Item |Value
----------------------------+-----------------------------------------------
VPN Connection Setting Name |evovpn
Status |Connected
VPN Server Hostname |192.168.200.212:5555 (Direct TCP/IP Connection)
Virtual Hub |evo_vpn
Virtual Network Adapter Name|VPN
The command completed successfully.

Any help on this issue? I noticed it has been 4 years since this discussion has been updated. Anyone there could shed some light on how to fixed this issue? I tried the suggestion of dnobori, but to no avail. Please help. Thank you.

Post Reply