Date: Fri, 03 Jun 2016 20:39:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 207831] r293159 breaks OpenVPN routing Message-ID: <bug-207831-6-txziLWa8wB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207831-6@https.bugs.freebsd.org/bugzilla/> References: <bug-207831-6@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207831 --- Comment #11 from Olivier Cochard <olivier@freebsd.org> --- Because I didn't reach to break my OpenVPN (using the default openvpn topology), I've tried with your manual way of reproducing the problem. On a 10.3-RELEASE-p2: [root@10.3]~# ifconfig tun0 create [root@10.3]~# ifconfig tun0 192.168.170.1 192.168.170.2 mtu 1500 netmask 255.255.255.0 up [root@10.3]~# route add -net 192.168.170.0 192.168.170.1 255.255.255.0 add net 192.168.170.0: gateway 192.168.170.1 fib 0 [root@hp]~# ifconfig tun0 inet tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=3D80000<LINKSTATE> inet 192.168.170.1 --> 192.168.170.2 netmask 0xffffff00 [root@10.3]~# netstat -rnf inet | grep -e Destination -e 192.168.170 Destination Gateway Flags Netif Expire 192.168.170.0/24 192.168.170.1 UGS tun0 192.168.170.1 link#15 UHS lo0 192.168.170.2 link#15 UH tun0 On a 11.0-ALPHA1 r301229: [root@11-alpha1]~#ifconfig tun0 create [root@11-alpha1]~#ifconfig tun0 192.168.170.1 192.168.170.2 mtu 1500 netmask 255.255.255.0 up [root@11-alpha1]~#route add -net 192.168.170.0 192.168.170.1 255.255.255.0 [root@11-alpha1]~# ifconfig tun0 inet tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=3D80000<LINKSTATE> inet 192.168.170.1 --> 192.168.170.2 netmask 0xffffff00=20=20=20= =20=20=20=20=20=20 [root@11-alpha1]~# netstat -rnf inet | grep -e Destination -e 192.168.170 Destination Gateway Flags Netif Expire 192.168.170.0/24 192.168.170.1 UGS lo0 192.168.170.1 link#9 UHS lo0 192.168.170.2 link#9 UH tun0=20=20=20 Then I confirm there is a "netif" difference between 10.3 and head. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207831-6-txziLWa8wB>