Page 1 of 1

L2TP/IPsec: DHCPOFFER does not traverse virtual hub, no conn

Posted: Mon Sep 14, 2015 7:11 am
by gooseman
Although I very much like Softether, I have struggled the weekend now for installing an L2TP/IPsec sever on a Raspberry Pi 2:

uname -a:
Linux pi 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l GNU/Linux

Softether:
Ver 4.18, Build 9570, rtm, EABI 32 bit

The RaspPi runs acts as well as isc-dhcp server in the local network.

vpn server log:
2015-09-14 06:48:48.875 L2TP PPP Session [xx.xx.xx.xx:1701]: Trying to request an IP address from the DHCP server.
2015-09-14 06:48:53.877 L2TP PPP Session [xx.xx.xx.xx:1701]: Acquiring an IP address 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.

/var/log/syslog from the Raspberry Pi:
Sep 14 06:48:54 pi dhcpd: DHCPDISCOVER from ca:3b:f1:fc:43:66 (xx.xx.xx.xx) via eth0
Sep 14 06:48:55 pi dhcpd: DHCPOFFER on 192.168.1.66 to ca:3b:f1:fc:43:66 (xx.xx.xx.xx) via eth0


I tried with both Win7 clients and Android with the same effect (no connection). It looks liks the DHCP server takes too much time to react (or the Softether timeout is too short). I have a local bridge configured in SoftEther to the RaspPi eth0.

Any ideas? Thank you in advance!

Re: L2TP/IPsec: DHCPOFFER does not traverse virtual hub, no

Posted: Wed Sep 16, 2015 12:18 am
by kh_tsang
Please do not bridge the virtual hub to an NIC directly unless it is a dedicated one for VPN connection not used for other applications on the server.

Re: L2TP/IPsec: DHCPOFFER does not traverse virtual hub, no

Posted: Wed Sep 16, 2015 6:15 am
by gooseman
Hello,
that sounds like a first hint in some direction. I assume I should create a tap soft interface.. but how do I bridge then the tap interface with the physical network?

Thanks!

Re: L2TP/IPsec: DHCPOFFER does not traverse virtual hub, no

Posted: Thu Sep 24, 2015 7:00 am
by thisjun
Please read the manual of your using distribution to bridge ethernet.