gifconfig_gifX not working with cloned_interfaces?

Kimmo Paasiala kpaasial at icloud.com
Sun Dec 22 10:06:17 UTC 2013


On 22.12.2013, at 12.01, Olivier Cochard-Labbé <olivier at cochard.me> wrote:

> On Sat, Dec 21, 2013 at 9:27 PM, Kimmo Paasiala <kpaasial at icloud.com> wrote:
> >
> > FreeBSD 10.0-RC2 r259413 i386.
> >
> > I have this set up in rc.conf:
> >
> > cloned_interfaces="gif0"
> > gifconfig_gif0="88.xxx.xxx.xxx 62.yyy.yyy.yyy"
> > ifconfig_gif0_ipv6="inet6 2001:14b8:aaa:bbb::2 2001:14b8:aaa:bbb::1 prefixlen 128”
> >
> > I’m not using gif_interfaces=“gif0” since it’s deprecated as per the warning messages spewed by the rc(8) scripts.
> >
> > However this does not work properly The ‘ifconfig gif0 tunnel 88.xxx.xxx.xxx 62.yyy.yyy.yyy’ 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=“ tunnel 88.xxx.xxx.xxx 62.yyy.yyy.yyy”
> >
> 
> Hi,
> 
> You can configure gif interface like a standard interface (without using gifconfig_), here is an example:
> 
> cloned_interfaces="gif0 gif1"
> ifconfig_gif0="inet 10.0.24.2/24 10.0.24.4 tunnel 10.0.23.2 10.0.34.4 up"
> ifconfig_gif1_ipv6="inet6 2001:db8:24::2 prefixlen 64 tunnel 2001:db8:23::2 2001:db8:34::4 up"
> 
> Regards,
> 
> 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’s why I’m reporting the issue.

-Kimmo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20131222/2b155f44/attachment.sig>


More information about the freebsd-net mailing list