Groups | Search | Server Info | Login | Register


Groups > linux.debian.maint.ipv6 > #116

Re: I need help configuring IPv6

From Nathan Van Ymeren <nathan.vany@gmail.com>
Newsgroups linux.debian.maint.ipv6
Subject Re: I need help configuring IPv6
Date 2022-02-24 06:50 +0100
Message-ID <DUfaO-3XtF-3@gated-at.bofh.it> (permalink)
References <DUdsm-3WjH-1@gated-at.bofh.it> <DUdVn-3WIr-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Feb 23, 2022 at 8:24 PM Andika Triwidada <andika@gmail.com> wrote:
>
>
>
> On Thu, Feb 24, 2022 at 10:58 AM Nathan Van Ymeren <nathan.vany@gmail.com> wrote:
>>
>>
>> The relevant portion of /etc/network/interfaces is:
>>
>> iface eno1 inet6 static
>>         address 2604:xxxx:xxxx:xxxx::2/64
>>         gateway 2604:xxxx:xxxx:xxxx::1
>>
>> As far as I can tell from reading the debian wiki and whatever else,
>> it should work like this, but even ping6'ing the gateway gives "ping6:
>> connect: Network is unreachable".  I can ping the gateway on its
>> link-local (fe80) address, but that's all I can do.
>>
>> Please help!
>>
>
> Hi Nathan,
>
> I think the first important step is to ensure that the gateway pingable
> at its 2604:xxxx:xxxx:xxxx::1 address, both from your computer and from the internet.
>
> Regards,
> Andika
>

Sigh.

It seems that the missing piece of the puzzle was this:  You can't
just add a default route (apparently).  You have to first add the
route to a specific interface.  It's not clear to me if this is
universally true, or just a consequence of something specific to my
setup (the server in question has multiple NICs).

The tl;dr is that it's necessary for me to do the following in order:

# ip -6 route add blah:blah::1 dev eno1
# ip -6 route add default via blah:blah::1

where blah:blah::1/64 is the address my datacenter gave me for the v6
gateway router.

I wish this had been more clearly laid out in the umpteen different
wikis and tutorials I've tried to follow.

Back to linux.debian.maint.ipv6 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

I need help configuring IPv6 Nathan Van Ymeren <nathan.vany@gmail.com> - 2022-02-24 05:00 +0100
  Re: I need help configuring IPv6 Andika Triwidada <andika@gmail.com> - 2022-02-24 05:30 +0100
    Re: I need help configuring IPv6 Nathan Van Ymeren <nathan.vany@gmail.com> - 2022-02-24 05:50 +0100
    Re: I need help configuring IPv6 Nathan Van Ymeren <nathan.vany@gmail.com> - 2022-02-24 06:50 +0100
      Re: I need help configuring IPv6 Kenyon Ralph <kenyon@kenyonralph.com> - 2022-02-24 08:50 +0100
        Re: I need help configuring IPv6 Nathan Van Ymeren <nathan.vany@gmail.com> - 2022-02-24 08:50 +0100
          Re: I need help configuring IPv6 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2022-02-24 22:10 +0100
            Re: I need help configuring IPv6 Nathan Van Ymeren <nathan.vany@gmail.com> - 2022-02-24 22:20 +0100

csiph-web