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


Groups > linux.debian.user > #205120

Re: IPv6 addresses

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: IPv6 addresses
Date 2019-02-07 20:40 +0100
Message-ID <xoXGG-5lk-3@gated-at.bofh.it> (permalink)
References <xoNR0-7Ts-7@gated-at.bofh.it> <xoO0F-7WN-9@gated-at.bofh.it> <xoXdD-5aa-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Pascal Hambourg wrote: 
> Le 07/02/2019 à 10:15, Richard Hector a écrit :
> > > 
> > > # this one should hopefully configure via SLAAC
> > > iface ens3 inet6 auto
> > > 
> > > # this one is for my static stuff (using a ULA prefix)
> > > iface ens3 inet6 static
> > >    address 2001:db8::1/64
> > >    up ip -6 route add ...
> > >    up ip -6 route add ...
> > >    up ip -6 route add ...
> > > 
> > > But I don't get the SLAAC address. The only way I've managed to get the
> > > SLAAC address plus the static, is to have a single auto stanza like this:
> > > 
> > > iface ens3 inet6 auto
> > >    up ip -6 addr add 2001:db8::1/64 dev ens3
> > >    up ip -6 route add ...
> > >    up ip -6 route add ...
> > >    up ip -6 route add ...
> > > 
> > > Incidentally, that also gives me an autoconfigured address (based on the
> > > MAC) in the 2001:db8::/64 prefix, which I don't think I need.
> 
> Huh ? Isn't it the autoconfigured address you expect to get from an "auto"
> stanza ?

I bet there's at least a little confusion between

auto ens3

and

iface ens3 inet6 auto

the first one tells the system to bring ens3 up at boot time;
the second one tells the system what to do with ens3.


-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IPv6 addresses Richard Hector <richard@walnut.gen.nz> - 2019-02-07 10:10 +0100
  Re: IPv6 addresses Richard Hector <richard@walnut.gen.nz> - 2019-02-07 10:20 +0100
    Re: IPv6 addresses Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-07 20:10 +0100
      Re: IPv6 addresses Dan Ritter <dsr@randomstring.org> - 2019-02-07 20:40 +0100
        Re: IPv6 addresses Richard Hector <richard@walnut.gen.nz> - 2019-02-08 04:10 +0100
      Re: IPv6 addresses Richard Hector <richard@walnut.gen.nz> - 2019-02-08 04:10 +0100
        Re: IPv6 addresses Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-08 19:50 +0100

csiph-web