Web lists-archives.com

Re: /etc/network/interfaces and IPv6




Hi Reco,

many thanks, your answer worked well.

Rainer

Am Mittwoch, 9. Januar 2019, 11:23:46 CET schrieb Reco:
> 	Hi.
> 
> On Wed, Jan 09, 2019 at 10:42:27AM +0100, Rainer Dorsch wrote:
> > Hello,
> > 
> > I am just wondering why ipv6 gets configured for enp1s0, even though I do
> > not request that in /etc/network/interfaces (?).
> 
> <skip>
> 
> > 2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> > state UP group default qlen 1000
> > 
> >     link/ether 74:d4:35:7b:0d:d8 brd ff:ff:ff:ff:ff:ff
> >     inet6 2a02:8070:898f:e4fc:76d4:35ff:fe7b:dd8/64 scope global
> >     mngtmpaddr dynamic>     
> >        valid_lft 14307sec preferred_lft 14307sec
> 
> You've got your IPv6 address via Router Advertisement (mngtmpaddr
> dynamic, limited address lifetime).
> And you don't need anything but a Linux kernel to get it.
> 
> If you don't need IPv6 on that interface for some reason - add the
> following to your /etc/network/interfaces:
> 
> iface enp1s0 inet6 auto
> 	accept_ra 0
> 
> Reco


-- 
Rainer Dorsch
http://bokomoko.de/