Date: Sun, 22 Dec 2013 12:05:08 +0200 From: Kimmo Paasiala <kpaasial@icloud.com> To: =?iso-8859-1?Q?Olivier_Cochard-Labb=E9?= <olivier@cochard.me> Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: gifconfig_gifX not working with cloned_interfaces? Message-ID: <BDD51EA3-06FE-431C-84D9-8FE3671BD05A@icloud.com> In-Reply-To: <CA%2Bq%2BTcqccvZkts4TGB8QSn_YsNXoCCt%2BWkOZfNdJp2Z%2BYThEMA@mail.gmail.com> References: <3688B949-7F3B-47FE-8C6A-193805AE2B27@icloud.com> <CA%2Bq%2BTcqccvZkts4TGB8QSn_YsNXoCCt%2BWkOZfNdJp2Z%2BYThEMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_37552862-36B8-464A-8BED-D153161D38A4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 22.12.2013, at 12.01, Olivier Cochard-Labb=E9 <olivier@cochard.me> = wrote: > On Sat, Dec 21, 2013 at 9:27 PM, Kimmo Paasiala <kpaasial@icloud.com> = wrote: > > > > FreeBSD 10.0-RC2 r259413 i386. > > > > I have this set up in rc.conf: > > > > 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 > > > > I=92m not using gif_interfaces=3D=93gif0=94 since it=92s deprecated = as per the warning messages spewed by the rc(8) scripts. > > > > 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. > > > > I can work around this by doing this instead of the 'gifconfig_gif0' = line: > > > > ifconfig_gif0=3D=93 tunnel 88.xxx.xxx.xxx 62.yyy.yyy.yyy=94 > > >=20 > Hi, >=20 > You can configure gif interface like a standard interface (without = using gifconfig_), here is an example: >=20 > cloned_interfaces=3D"gif0 gif1" > ifconfig_gif0=3D"inet 10.0.24.2/24 10.0.24.4 tunnel 10.0.23.2 = 10.0.34.4 up" > ifconfig_gif1_ipv6=3D"inet6 2001:db8:24::2 prefixlen 64 tunnel = 2001:db8:23::2 2001:db8:34::4 up" >=20 > Regards, >=20 > Olivier Hi, Yes I know. I did note that in my workaround for the problem. However, = the rc.conf(5) manual page claims that gifconfig_gifX should still work = and that=92s why I=92m reporting the issue. -Kimmo --Apple-Mail=_37552862-36B8-464A-8BED-D153161D38A4 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 iQEcBAEBCgAGBQJStrlZAAoJEFvLZC0FWRVpfiMH/ilprchWvjN+9VpNxQq2T1NE 4hywEYh/c0yjEyI6gebMH4P+A5WgT41eZ3T1Wo29fkvZIGiDw0gEbczQXz1RM7mh 5AJU2CF1dlgOiuLAxmCVCt1alFUj9wrzvHcfpKd6heSqOq4u4R/oXZmAygOIBIkF KvpDkA6jGrGRpaNQn/QL+goAlRZtCrIm5+Juw3hLh46FsDagEHmS14ZgrUFbQP7I j+W2J6o676iVZ1vFh+FicvjTP5IHWHzzy4VifZWvj4lthHpay9sUwImHVBLwqHv+ M66QsIXOzsfDftv/ayx4CroOERnmL/N4qOcFyA01/FBIfC4W/fRliqg/4b2pQ/E= =crIx -----END PGP SIGNATURE----- --Apple-Mail=_37552862-36B8-464A-8BED-D153161D38A4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDD51EA3-06FE-431C-84D9-8FE3671BD05A>