From owner-freebsd-net@freebsd.org Fri Mar 30 06:19:20 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2002FF74E6B for ; Fri, 30 Mar 2018 06:19:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B19BE78C1C for ; Fri, 30 Mar 2018 06:19:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EAB3D45B3 for ; Fri, 30 Mar 2018 06:19:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2U6JIW0009464 for ; Fri, 30 Mar 2018 06:19:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w2U6JIob009463 for freebsd-net@FreeBSD.org; Fri, 30 Mar 2018 06:19:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 227086] Upgraded world - broken OpenVPN second tun - ifconfig: ioctl (SIOCAIFADDR): File exists Date: Fri, 30 Mar 2018 06:19:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zillion1@o2.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2018 06:19:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227086 --- Comment #2 from Marek --- Hi Eugene, I can test old revision only (home server "in production") :) Some more outputs from working/current configuration: # ifconfig tun0 tun0: flags=3D8051 metric 0 mtu 1500 options=3D80000 inet 10.20.20.1 --> 10.20.20.2 netmask 0xffffff00 groups: tun Opened by PID 789 # ifconfig tun1 tun1: flags=3D8051 metric 0 mtu 1500 options=3D80000 inet 10.20.20.10 --> 10.20.20.1 netmask 0xffffff00 groups: tun Opened by PID 24835 # netstat -rn Routing tables Internet: Destination Gateway Flags Netif Expire default 11.22.33.44 UGS igb1 10.20.20.0/24 10.20.20.2 UGS tun0 10.20.20.1 link#9 UH tun1 10.20.20.2 link#5 UH tun0 10.20.20.10 link#9 UHS lo0 11.22.33.0/22 link#2 U igb1 11.22.33.44 link#2 UHS lo0 127.0.0.1 link#3 UH lo0 192.168.0.0/24 link#1 U igb0 192.168.0.1 link#1 UHS lo0 192.168.8.0/24 link#4 U ue0 192.168.8.100 link#4 UHS lo0 # ps ax | grep openvpn 789 - Ss 1:01,30 /usr/local/sbin/openvpn --cd /usr/local/etc/openv= pn --daemon openvpn --config /usr/local/etc/openvpn/server.conf --writepid /var/run/openvpn.pid 24835 - Ss 0:06,92 /usr/local/sbin/openvpn --cd /usr/local/etc/openv= pn --daemon openvpn_client --config /usr/local/etc/openvpn/client.conf --write= pid /var/run/openvpn_client.pid My home host is "master" OpenVPN server for about 20 other remote family clients. They're connecting to the server without any problems (after install world there was no probem with them too). The OpenVPN client (tun1) on master host is configured to listen some servi= ces like mail, www, and couple of others. Additionaly I have failover server in remote localization, so in case connectivity problems to master host, the failover takes over with 10.20.20= .1 IP address. Clients reconnect after some timeout to the failover. The failover is not FreeBSD based system, and there's no services like mail, www, and so on, its task is to keep connectivity beetween other clients if = main host is temporarily down. To aviod unnecessary requests to the failover from clients, I created on ma= ster host the VPN client next to server with 10.20.20.10 IP address. Regards, Marek --=20 You are receiving this mail because: You are on the CC list for the bug.=