Date: Wed, 29 Jul 2009 11:12:54 -0700 From: Julian Elischer <julian@elischer.org> To: Stefan Bethke <stb@lassitu.de> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: recent change to ifconfig breaks OpenVPN? Message-ID: <4A709126.5050102@elischer.org> In-Reply-To: <B4AA014B-2444-40AA-A3A3-417E4B89DF90@lassitu.de> References: <B4AA014B-2444-40AA-A3A3-417E4B89DF90@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Bethke wrote: > I just updated this afternoon (r195941), and after rebooting, OpenVPN > has problems ifconfig'ing a tun interface. > > With sources from about one week ago, this is working: > Jul 29 03:07:15 diesel openvpn_zs64[14785]: /sbin/ifconfig tun1 > 44.128.127.2 44.128.127.2 netmask 255.255.255.0 mtu 1500 up > Jul 29 03:07:15 diesel openvpn_zs64[14785]: /sbin/route add -net > 44.128.127.0 44.128.127.2 255.255.255.0 > Jul 29 03:07:15 diesel openvpn_zs64[14785]: /sbin/route add -net > 44.128.64.0 44.128.127.1 255.255.192.0 > > Now, the same sequence fails: > Jul 29 17:31:41 diesel openvpn_zs64[1855]: /sbin/ifconfig tun1 > 44.128.127.2 44.128.127.2 netmask 255.255.255.0 mtu 1500 up > Jul 29 17:31:41 diesel openvpn_zs64[1855]: FreeBSD ifconfig failed: > external program exited with error status: 1 > > Trying the same command manually gets me: > /sbin/ifconfig tun1 44.128.127.2 44.128.127.2 netmask 255.255.255.0 mtu ^^^^^^^^^^^^^^^^^^^^^^^^^ have you tried it without using the same address on both ends? > 1500 up > ifconfig: ioctl (SIOCAIFADDR): File exists > > even though no address was assigned before. > > Another OpenVPN instance using tap continues to work. > > > Stefan >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A709126.5050102>