tun interface when using openvpn to set it up has txqueuelen 0 which makes it unusable while setting by usermode-utilities, txqueuelen 100 (iirc). openvpn has option to set it --txqueuelen which is not used by baselayout script tuntap.sh
openvpn defaults to a txqueuelen of 100 - if this is not the case then something else is creating your tun interface.
(In reply to comment #1) > openvpn defaults to a txqueuelen of 100 - if this is not the case then > something else is creating your tun interface. > No it's gentoo net scripts, i have only openvpn for creating tun/tap, no umlutils. /etc/conf.d/net tuntap_tap0="tap" config_tap0=( "null" ) (setting ip does not help) /etc/init.d/net.tap0 start ifconfig tap0 Link encap:Ethernet HWaddr AA:6D:66:5A:2C:3E ... collisions:0 txqueuelen:0 I've checked briefly openvpn sources and there is txqueuelen 100 as docs says but this do not work, I've set up manualy what net scripts do: openvpn --mktun --dev-type "tap" --dev "tap0" still the same ... collisions:0 txqueuelen:0 It's look like upstream bug.
Yeah, openvpn bug. Fixed in 2.0.7-r1 and 2.1_rc1-r1