IPv6 LXC SLAAC tokens

efeu

Renowned Member
Nov 6, 2015
91
10
73
Hi,
I'm running a debian10 lxc container and want to set the ipv6 token. But when running
ip token set ::xxx dev eth0
inside the container it returns
Error: ipv6: Router advertisement is disabled on device.

But actual it does get an IP from SLAAC.

inet6 xxx/64 scope global dynamic mngtmpaddr noprefixroute
 
The solution is to set
echo 1 > /proc/sys/net/ipv6/conf/eth0/accept_ra (or 2)
inside the container

Code:
    0 Do not accept Router Advertisements.
    1 Accept Router Advertisements if forwarding is disabled.
    2 Overrule forwarding behaviour. Accept Router Advertisements even if forwarding is enabled.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!