Connect Successfully, But can't get DHCP IP

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
ianlian
Posts: 2
Joined: Thu Sep 04, 2014 5:45 pm

Connect Successfully, But can't get DHCP IP

Post by ianlian » Thu Sep 04, 2014 5:49 pm

I created an Adapter and created an account and connected successfully, but when I want to get IP for the Adapter, it just doesn't work.

command:
dhclient vpn_vpn

is not working.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here are the infos:

VPN Client>niclist
NicList command - Get List of Virtual Network Adapters
Item |Value
----------------------------+-----------------------------------
Virtual Network Adapter Name|vpn
Status |Enabled
MAC Address |00ACB14D2BE5
Version |Version 4.10 Build 9473 (English)
The command completed successfully.

VPN Client>accountlist
AccountList command - Get List of VPN Connection Settings
Item |Value
----------------------------+--------------------------------------------
VPN Connection Setting Name |vpn
Status |Connected
VPN Server Hostname |61.174.59.28:8888 (Direct TCP/IP Connection)
Virtual Hub |DEFAULT
Virtual Network Adapter Name|vpn
The command completed successfully.


vpn_vpn Link encap:Ethernet HWaddr 00:AC:B1:4D:2B:E5
inet6 addr: fe80::2ac:b1ff:fe4d:2be5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6301 errors:0 dropped:0 overruns:0 frame:0
TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:633662 (618.8 KiB) TX bytes:30240 (29.5 KiB)

tafa2
Posts: 2
Joined: Thu Sep 04, 2014 6:15 pm

Re: Connect Successfully, But can't get DHCP IP

Post by tafa2 » Thu Sep 04, 2014 6:21 pm

Are you trying to use Local Bridge Mode? Or did you forget to enable SecureNat?
Do you have/know how to install a DHCP server?
If you don't I would recommend you enable securenate, using vpncmd login to the hub and run:
SecureNatEnable

Otherwise if you want local bridge mode you're going to need a DHCP server to distribute addresses.

ianlian
Posts: 2
Joined: Thu Sep 04, 2014 5:45 pm

Re: Connect Successfully, But can't get DHCP IP

Post by ianlian » Thu Sep 04, 2014 6:47 pm

1,someone else is hosting the VPN Server, I am just using VPN Client to connect.

2, I have tested it on a Windows VPN Client, and it worked. it just don't worked on my centos

tafa2 wrote:
> Are you trying to use Local Bridge Mode? Or did you forget to enable
> SecureNat?
> Do you have/know how to install a DHCP server?
> If you don't I would recommend you enable securenate, using vpncmd login to
> the hub and run:
> SecureNatEnable
>
> Otherwise if you want local bridge mode you're going to need a DHCP server
> to distribute addresses.

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

Re: Connect Successfully, But can't get DHCP IP

Post by thisjun » Wed Sep 17, 2014 7:23 am

Is IP address assigned 169.254.xxx.xxx when you use Windows?
I guess that address is assigned by APIPA.
http://en.wikipedia.org/wiki/Link-local_address

Post Reply