Groups | Search | Server Info | Login | Register


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

Re: I need help configuring IPv6

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Nathan Van Ymeren <nathan.vany@gmail.com>
Newsgroups linux.debian.maint.ipv6
Subject Re: I need help configuring IPv6
Date Thu, 24 Feb 2022 08:50:02 +0100
Message-ID <DUh2W-3YAl-3@gated-at.bofh.it> (permalink)
References <DUfaO-3XtF-3@gated-at.bofh.it> <DUh2V-3YAl-1@gated-at.bofh.it>
X-Mailbox-Line From debian-ipv6-request@lists.debian.org Thu Feb 24 07:45:32 2022
Old-Return-Path <nathan.vany@gmail.com>
X-Amavis-Spam-Status No, score=-7.209 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-pl1-x634.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOAM531ROY5ejhaq5Dmk0ySVfm7w47eguopvV+zRemYA5xh9QVxd49rq ZES7ba/mP3sj7dp5NmgL+P/+t5XbmC0=
X-Google-SMTP-Source ABdhPJxBbKYr1tkdZ+/K3+w4FeYrVD4FujLr1Tm4kKTDYRCsSWZ6QTLHiN9IAErXmWfhHwggwvg1Pw==
X-Received by 2002:a17:90a:db90:b0:1bc:529f:7071 with SMTP id h16-20020a17090adb9000b001bc529f7071mr1567226pjv.40.1645688715138; Wed, 23 Feb 2022 23:45:15 -0800 (PST)
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\))
X-Mailer Apple Mail (2.3693.40.0.1.81)
X-Mailing-List <debian-ipv6@lists.debian.org> archive/latest/4932
List-ID <debian-ipv6.lists.debian.org>
List-URL <https://lists.debian.org/debian-ipv6/>
List-Archive https://lists.debian.org/msgid-search/937B7DCE-8629-4633-BA69-25CD49FD9B33@gmail.com
Approved robomod@news.nic.it
Lines 101
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 23 Feb 2022 23:45:13 -0800
X-Original-Message-ID <937B7DCE-8629-4633-BA69-25CD49FD9B33@gmail.com>
X-Original-References <CAEKyVWN69=sr2MxzOKBTWhCHcQwFpu03J=G71=BJbS0oTrD92Q@mail.gmail.com> <5012D672-5629-4DA9-8417-201B3CA4D0E0@kenyonralph.com>
Xref csiph.com linux.debian.maint.ipv6:118

Show key headers only | View raw



> On Feb 23, 2022, at 23:41, Kenyon Ralph <kenyon@kenyonralph.com> wrote:
> 
>> 
>> On Feb 23, 2022, at 21:40, Nathan Van Ymeren <nathan.vany@gmail.com> wrote:
>> 
>> 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.
> 
> That’s not documented because it’s not normal to have to add such a route. The kernel automatically adds that route. There is something wrong with your configuration. If you don’t obfuscate the information, we might be able to tell what’s wrong.

I suppose v6 addresses aren’t really private.  The server is on 2604:5800:0:1f::2 and the gateway I was given is 2604:5800:0:1f::1

# route -A inet6
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
localhost/128                  [::]                       U    256 2     0 lo
2604:5800:0:1f::1/128          [::]                       U    1024 1     0 eno1
2604:5800:0:1f::2/128          [::]                       U    256 2     0 eno1
fe80::/64                      [::]                       U    256 1     0 eno1
[::]/0                         2604:5800:0:1f::1          UG   1024 21     0 eno1
localhost/128                  [::]                       Un   0   27     0 lo
2604:5800:0:1f::2/128          [::]                       Un   0   10     0 eno1
fe80::/128                     [::]                       Un   0   3     0 eno1
fe80::28c:faff:fe0e:b01c/128   [::]                       Un   0   7     0 eno1
ff00::/8                       [::]                       U    256 5     0 eno1
[::]/0                         [::]                       !n   -1  1     0 lo
root@mars:/etc/postfix#

N

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