Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #227227 > unrolled thread

ifup gets different IPv6 address than Network Manager

Started byNate Bargmann <n0nb@n0nb.us>
First post2020-09-22 01:00 +0200
Last post2020-09-22 09:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  ifup gets different IPv6 address than Network Manager Nate Bargmann <n0nb@n0nb.us> - 2020-09-22 01:00 +0200
    Re: ifup gets different IPv6 address than Network Manager Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-22 09:10 +0200

#227227 — ifup gets different IPv6 address than Network Manager

FromNate Bargmann <n0nb@n0nb.us>
Date2020-09-22 01:00 +0200
Subjectifup gets different IPv6 address than Network Manager
Message-ID<ARCWR-1Wo-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

This one is riddling me.

I have three Buster hosts that use Network Manager.  Two are running
Gnome and one is a Freedombox.  I have several other hosts that I just
enabled IPv6 DHCP via the /etc/network/interfaces configuration file.
All hosts generate a SLAAC address and all receive a DHCP address.  My
router is running OpenWRT 19.07.4 updated as of yesterday.

In the OpenWRT DHCP configuration I have included an IPv6 Suffix
parameter for all hosts.  However, until I enabled the hosts to receive
a DHCP address via ifup, I had never seen an IPv6 address that included
that suffix.  The ifup enabled hosts all receive an IPv6 address that
ends with this configured suffix, which is exactly what I would like the
hosts that use Network Manager to receive as well.  The suffixes I have
assigned have a relationship to the IPv4 addresses I have assigned each
host so this is a handy way for me to visually associate an IPv6 address
to a host.

Has anyone managed to get Network Manager to work in a like manner?

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

[toc] | [next] | [standalone]


#227240

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-09-22 09:10 +0200
Message-ID<ARKB4-6OB-11@gated-at.bofh.it>
In reply to#227227

[Multipart message — attachments visible in raw view] — view raw

On Lu, 21 sep 20, 17:59:33, Nate Bargmann wrote:
> 
> In the OpenWRT DHCP configuration I have included an IPv6 Suffix
> parameter for all hosts.  However, until I enabled the hosts to receive
> a DHCP address via ifup, I had never seen an IPv6 address that included
> that suffix.  The ifup enabled hosts all receive an IPv6 address that
> ends with this configured suffix, which is exactly what I would like the
> hosts that use Network Manager to receive as well.  The suffixes I have
> assigned have a relationship to the IPv4 addresses I have assigned each
> host so this is a handy way for me to visually associate an IPv6 address
> to a host.
> 
> Has anyone managed to get Network Manager to work in a like manner?

I'm using a slightly different configuration, with the suffix configured 
in the host[1].

In the IPv6 Settings tab of the connection try setting the "Method" to 
"Automatic, DHCP only". The default appears to be "Automatic" which 
could also imply SLAAC.

[1] this must be done in the configuration file, at least on buster it's 
not exposed in the GUI connection editor.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web