[Bug 208173] ifconfig gre0/gif0 tunnel inet6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 21 09:18:48 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208173

--- Comment #1 from Konstantin V Bekreyev <bugs-freebsd-org at 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=8051<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=21<PERFORMNUD,AUTO_LINKLOCAL>

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


More information about the freebsd-bugs mailing list