On Thu, Dec 29, 2016 at 3:47 PM, Gert Doering <[email protected]> wrote:
> Hi,
>
> On Wed, Dec 28, 2016 at 10:30:01PM -0500, Selva Nair wrote:
> > Never seen it lately as I now use explicitly named dev nodes (--dev-node
> > name option) so that each connection uses a fixed adapter node. And no
> idea
> > why it happens. Could be tap-driver related so someone else may have a
> clue.
>
> So you use a different tap adapter for each remote?
>
Yes, a dedicated adapter for each config chosen by specifying --dev-node
adapter-name in the config. All my configs have a single remote line so
this essentially works out to be one adapter per remote.
But to test this bug report I did use the same adapter (still using
--dev-node adapter-name..) and changed the remote and couldn't reproduce
it. But I do see something similar as this report (DHCP fails to set IP) if
I remove the --dev-node line and let it pick an adapter that was previously
used with a different IP. Can't reproduce it consistently, though.
>
> (Our installers do not really make this an easy journey today, though...
> tried installing two tap adapters on my win7 test vm, and it took quite
> a few more steps than I expected)
>
I had done some work on a patch that lets openvpn create tap adapter on the
fly when no free one's are found. Have to still sort out some issues like
choosing the right driver when multiple one's are present in the driver
store, avoiding existing connections to drop when the driver is installed
on the new device, creating adapter as named by --dev-node option, if any
etc.. Windows device install api has a mind of its own so it involves a lot
of trial and error to figure out the "right" usage.
Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users