From owner-freebsd-net@FreeBSD.ORG  Sun Dec 22 07:32:00 2013
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 7B0C4B46;
 Sun, 22 Dec 2013 07:32:00 +0000 (UTC)
Received: from st11p09mm-asmtp002.mac.com (st11p09mm-asmtp002.mac.com
 [17.164.24.97]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF7D1760;
 Sun, 22 Dec 2013 07:32:00 +0000 (UTC)
Received: from [10.71.14.16]
 (dsl-hkibrasgw1-58c380-33.dhcp.inet.fi [88.195.128.33])
 by st11p09mm-asmtp002.mac.com
 (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug
 22 2013)) with ESMTPSA id <0MY700FBP3GWF220@st11p09mm-asmtp002.mac.com>; Sun,
 22 Dec 2013 06:31:53 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure
 engine=2.50.10432:5.11.87,1.0.14,0.0.0000
 definitions=2013-12-22_01:2013-12-20,2013-12-22,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 suspectscore=4 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0
 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1312210300
From: Kimmo Paasiala <kpaasial@icloud.com>
Content-type: multipart/signed;
 boundary="Apple-Mail=_F303736B-0ABC-4FEB-9FC9-0910C548159A";
 protocol="application/pgp-signature"; micalg=pgp-sha512
Message-id: <54BF5D3A-8211-4D50-B453-A6301909CBDB@icloud.com>
MIME-version: 1.0 (Mac OS X Mail 7.1 \(1827\))
Subject: Re: gifconfig_gifX not working with cloned_interfaces?
Date: Sun, 22 Dec 2013 08:31:38 +0200
References: <3688B949-7F3B-47FE-8C6A-193805AE2B27@icloud.com>
To: freebsd-net@freebsd.org, freebsd-stable@freebsd.org
In-reply-to: <3688B949-7F3B-47FE-8C6A-193805AE2B27@icloud.com>
X-Mailer: Apple Mail (2.1827)
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Dec 2013 07:32:00 -0000


--Apple-Mail=_F303736B-0ABC-4FEB-9FC9-0910C548159A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On 21.12.2013, at 22.27, Kimmo Paasiala <kpaasial@icloud.com> wrote:

> FreeBSD 10.0-RC2 r259413 i386.
>=20
> I have this set up in rc.conf:
>=20
> cloned_interfaces=3D"gif0"
> gifconfig_gif0=3D"88.xxx.xxx.xxx 62.yyy.yyy.yyy"
> ifconfig_gif0_ipv6=3D"inet6 2001:14b8:aaa:bbb::2 2001:14b8:aaa:bbb::1 =
prefixlen 128=94
>=20
> I=92m not using gif_interfaces=3D=93gif0=94 since it=92s deprecated as =
per the warning messages spewed by the rc(8) scripts.
>=20
> However this does not work properly The =91ifconfig gif0 tunnel =
88.xxx.xxx.xxx 62.yyy.yyy.yyy=92 does not get executed. It looks to me =
that the tunnel set up is only performed when gif0 is listed in =
gif_interfaces.
>=20
> I can work around this by doing this instead of the 'gifconfig_gif0' =
line:
>=20
> ifconfig_gif0=3D=93 tunnel 88.xxx.xxx.xxx 62.yyy.yyy.yyy=94
>=20
> Should I file a PR about this?
>=20
>=20
> -Kimmo

I have filed a PR, I feel this is serious enough bug that should be =
fixed promptly.

http://www.freebsd.org/cgi/query-pr.cgi?pr=3D185080

-Kimmo

--Apple-Mail=_F303736B-0ABC-4FEB-9FC9-0910C548159A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJStodPAAoJEFvLZC0FWRVpJPIH/1mPiDYoe9TxwHlZqgsrn+s+
lOik2fGbiKOaaDMgfPemEQL6+sLyjAJQQql5QLKAUHMbfLYRzq2Pr7yX+6TqPT/d
8CStZHhEy+NOxhO3G/FX4YfDmoparKCkHtRLTLGFNMdnr79u6daiYRzdd46eXguj
Sc20khwSbhMqqgQCx0tPboK1WnWWEH4oO7GyNLXXkOedDhLEhmRSjkb2gseQ8byo
6UbZ6vzWc75xP11xHqZgAPuuXtTLFu581HNIDZ3pmfHTIgaZBO6SfSY55rNpk+7a
Rr+0gr2E+0xZf0njfqRODLw+/B3x5qip42fuTaZxsG3vNj2eVacJGyGl21bGoms=
=ly9y
-----END PGP SIGNATURE-----

--Apple-Mail=_F303736B-0ABC-4FEB-9FC9-0910C548159A--