Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2019 14:06:52 +0100
From:      Andreas Nilsson <andrnils@gmail.com>
To:        "Peter G." <freebsd@disroot.org>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Point-to-point using GRE over IPv6 -> not possible with a single /128 address on the server?
Message-ID:  <CAPS9%2BSso1CDQZD9n7Q%2B-Z-rqozUkhJqo_GvEmvowY8WjMnpcng@mail.gmail.com>
In-Reply-To: <9ab1a9b1-e1e3-9f48-2c3e-35454bcd6e77@disroot.org>
References:  <95d8e3ea-af36-4d14-f280-908f92a96515@disroot.org> <9ab1a9b1-e1e3-9f48-2c3e-35454bcd6e77@disroot.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 19, 2019 at 1:38 PM Peter G. <freebsd@disroot.org> wrote:

> On 15/02/2019 17:49, Peter G. wrote:
> > Now the GRE tunnel
> >
> >> ifconfig gre6 create
> >> ifconfig gre6 inet6 fc01:e::100 fc:02:e::200 tunnelfib 6
> > #ifconfig: ioctl (SIOCAIFADDR): File exists
> >
> > Why is this not possible? Isn't the logic behind it the same as with
> > IPv4? If not, why not?
> >
> > Does this mean it is not possible to have a point-to-point using IPv6 on
> > a machine with only a single /128 address?
>
> Is this a stupid question, or something of the sort? Because I truly
> don't understand why this wouldn't work. Thanks.
>
> PG
>
>
I have not used gre with ipv6, so I cannot really be of any help. However
for ipv4 you specify a netmask while setting up the interface, whereas you
do not while setting up the ipv6. I also notice that you list fc02:e::200
for "other end" but in the commands you have fc:02:e::200 which I guess is
just typo. Does

ifconfig gre6 inet6 fc01:e::100 fc:02:e::200 prefixlen 128 tunnelfib 6

work? Or the whole thing

ifconfig gre6 inet6 fc01:e::100 fc02:e::200 tunnel fc01:e::100 fc02:e::200
prefixlen 128 tunnelfib 6

Best regards
Andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSso1CDQZD9n7Q%2B-Z-rqozUkhJqo_GvEmvowY8WjMnpcng>