On Aug 16, 2016, at 4:51 PM, Guus Sliepen <g...@debian.org> wrote:

> On Tue, Aug 16, 2016 at 03:56:56PM -0700, Rick Thomas wrote:
> 
>>> Another option is to add the following line to /etc/systl.conf:
>>> 
>>>      net.ipv6.conf.all.accept_ra=0
>> 
>> Do I understand correctly that I should use this if I want to assign a 
>> static IPv6 address that is *not* the same as the RA would hand out 
>> dynamically?  I have a couple of machines where that would apply, if true.
> 
> If you want to assign a different address then ifupdown will not
> conflict with the autoconfigured one, so in that case it is not
> necessary,

That works.  And no “failed” messages about bringing up networking.  As 
predicted, I have two IPv6 addresses, one the static address from 
/etc/network/interfaces and one assigned dynamically.

> but if you don't disable accept_ra you will end up with two
> addresses configured.

However, when I added …accept_ra=0 to /etc/sysctl.conf and ran 
“update-initramfs -u” then rebooted, I still have two IPv6 addresses.

> root@sheeva:~# sysctl net.ipv6.conf.all.accept_ra
> net.ipv6.conf.all.accept_ra = 0


> root@sheeva:~# ip -6 addr
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1
>     inet6 ::1/128 scope host 
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
>     inet6 2001:1234:2d2:1::111/64 scope global 
>        valid_lft forever preferred_lft forever
>     inet6 2001:1234:2d2:1:f2ad:4eff:fe00:3077/64 scope global mngtmpaddr 
> dynamic 
>        valid_lft 85561sec preferred_lft 13561sec
>     inet6 fe80::f2ad:4eff:fe00:3077/64 scope link 
>        valid_lft forever preferred_lft forever

Any thoughts?  Have I misunderstood something?

Thanks!
Rick

Reply via email to