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

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
gooseman
Posts: 2
Joined: Mon Sep 14, 2015 6:49 am

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

Post by gooseman » Mon Sep 14, 2015 7:11 am

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!

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

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

Post by kh_tsang » Wed Sep 16, 2015 12:18 am

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.

gooseman
Posts: 2
Joined: Mon Sep 14, 2015 6:49 am

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

Post by gooseman » Wed Sep 16, 2015 6:15 am

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!

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

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

Post by thisjun » Thu Sep 24, 2015 7:00 am

Please read the manual of your using distribution to bridge ethernet.

Post Reply