Netmask -1

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.
Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
smooker
OpenVpn Newbie
Posts: 1
Joined: Fri Jan 06, 2017 11:44 am

Netmask -1

Postby smooker » Fri Jan 06, 2017 11:47 am

Code: Select all

[root@sh2 /etc/openvpn]# openvpn --version
OpenVPN 2.4_rc1 [git:master/f2137fedb30cb874+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 12 2016
library versions: OpenSSL 1.0.2j  26 Sep 2016, LZO 2.08
Originally developed by James Yonan
Copyright (C) 2002-2016 OpenVPN Technologies, Inc. <sales@openvpn.net>
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=yes enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_maintainer_mode=no enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_password_save=yes enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_x509_alt_username=yes with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_plugindir='${prefix}/lib/openvpn' with_sysroot=no


Code: Select all

Fri Jan  6 13:40:32 2017 TUN/TAP device tap1 opened
Fri Jan  6 13:40:32 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Jan  6 13:40:32 2017 /sbin/ip link set dev tap1 up mtu 1500
Fri Jan  6 13:40:32 2017 /sbin/ip addr add dev tap1 10.10.18.202/-1 broadcast 255.255.255.254
Error: inet prefix is expected rather than "10.10.18.202/-1".
Fri Jan  6 13:40:32 2017 Linux ip addr add failed: external program exited with error status: 1
Fri Jan  6 13:40:32 2017 Exiting due to fatal error


Forcing it with:
ifconfig 10.10.18.203 255.255.255.0 works ok.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2713
Joined: Fri Jun 03, 2016 1:17 pm

Re: Netmask -1

Postby TinCanTech » Fri Jan 06, 2017 12:44 pm



Return to “Testing branch”

Who is online

Users browsing this forum: No registered users and 1 guest