Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2016 09:18:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208173] ifconfig gre0/gif0 tunnel inet6
Message-ID:  <bug-208173-8-9vzihZwftf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208173-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208173-8@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=3D208173

--- Comment #1 from Konstantin V Bekreyev <bugs-freebsd-org@bekreyev.ru> ---
I found that I must use inet6 keyword before tunnel.

But it's not clear - whether to deliver the simplest possible options?
Without inet6 at all for example, it would be ideal.

For example, I'm trying to create a connection with a single command and get
the error:
# ifconfig gre0 inet6 2001:db8:ffff::1 2001:db8:ffff::2 prefixlen 128 inet6
tunnel 2001:db8::1 2001:db8::2
ifconfig: inet6: bad value

But if I using two commands - all is ok:
# ifconfig gre0 inet6 tunnel 2001:db8::1 2001:db8::2
# ifconfig gre0 inet6 2001:db8:ffff::1 2001:db8:ffff::2 prefixlen 128
# ifconfig gre0
gre0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1456
        tunnel inet6 2001:db8::1 --> 2001:db8::2
        inet6 2001:db8:ffff::1 --> 2001:db8:ffff::2 prefixlen 128
        inet6 fe80::7a2b:abff:fe13:73ce%gre0 prefixlen 64 scopeid 0xb
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208173-8-9vzihZwftf>