[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strongswan-announce
Subject:    [strongSwan-dev] DHCP plugin ignores "server" parameter
From:       Thomas Klute <thomas2.klute () uni-dortmund ! de>
Date:       2014-01-03 15:19:53
Message-ID: 52C6D519.1080806 () uni-dortmund ! de
[Download RAW message or body]

Hi everyone,

I'm running a Strongswan-based experimental system on a virtual machine
with two network interface, eth0 and eth1. Strongswan is supposed to
accept connections on eth0 (responder) and get virtual IP addresses for
the clients from a DHCP server which is listening on eth1 (on the same
host). The problem is that DHCP packets get sent over the wrong interface.

I have set
charon.plugins.dhcp.server = 10.50.1.255 # Broadcast address for eth1
and
charon.plugins.dhcp.force_server_address = yes
in strongswan.conf, but the DHCP discover packets are still sent on eth0
with a destination address of 255.255.255.255 (confirmed by packet
capture). Additionally, even if I configure the DHCP server to listen on
eth0, Strongswan ignores the DHCP offers.

Can anyone tell me how to resolve or further debug this? I have tried
both the Debian package from wheezy-backports (5.1.0-3~bpo70+1) and the
latest version from git (5.1.2dr2, built locally).

I have tried the patch at
https://lists.strongswan.org/pipermail/dev/2013-November/000948.html
and the "interface" parameter defined there, but without result.

Regards,
Thomas

_______________________________________________
Dev mailing list
Dev@lists.strongswan.org
https://lists.strongswan.org/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic