kkurt
This is samething that was working well on a previous setup, same ip , same local network, different ethernet card (motherboard died and replaced).
Setup is very simple, an ethernet card, a tap adapter , a bridge including the two metinoned cards.
Local network it's very simple, ip , netmask, no gateway and no dns (there is an internet connections on a different card, nothing in common).
Openvpn service is running and waiting for udp connections.
hardware setup:
Previous (dead) motherboard: Intel Dg41MJ with ethernet Realtek RTL8111D
No problems with this boards;
Current working board: Intel DH61DL with ethernet Intel 82579V
I have no problem in speed since i can get 105MB/s with large files that is very close to the gigabit limit,
but if i copy multiple small files from another machines to this one, every 30-50 files i get a network disconnection after a long timeout.
In details an example:
Ethernet and tap connected in bridge.
Copying files from another machine on the same local network (ethernet and a small gigabit switch).
The other machine copy the files to a shared folder of this machine.
Copy big files = no problems
Copy small files (around 100 - 200k) = hang after 20 or 50 or 200 files, long timeout , error message \\10.0.0.23\ network is unavailable.
A file has been partially copied, correct size, different date, second part of the file contain corrupted data (probably trash from the disk).
This happen only when openvpn is started and waiting for connections, i can tell what happen if sameone connect with an openvn client.
If i stop openvpn.exe (the bridge is still on but the tap adapter result disconnected) , the problem disappear.
i tried to force old ethernet drivers and new drivers, the system is up to date, tried the current openvpn version and the previous one, advanced settings on the network card, nothing;
no info , no logs, nothing.
The only thing i didn't try, is to put another card, connect to the same switch, and move there the bridge with the tap adapter; the only slot is already in use.
I can't understand where the trouble is; my configuration, very simple:
port 6699
proto udp
dev tap
dev-node vpn2
ca vpn2_ca.crt
cert vpn2_server.crt
key vpn2_server.key
dh vpn2_dh1024.pem
server-bridge
client-to-client
duplicate-cn
keepalive 10 120
comp-lzo
persist-key
persist-tun
status vpn2-server-udp-6699-status.log
log vpn2-server-udp-6699.log
verb 4
mute 20
kkurt
Temporary workaround: two tap adapter, two configurations started from the service, first one is client and connect to the second one that is a server..........