Proxmox API - Post lxc - IpV6=auto

Cubix Gamer

New Member
Jun 17, 2022
Good evening,
I wanted to try to POST a lxc with the api proxmox and putting in the net0 that:

But when it creates my lxc, I look in the network tab and I have this:
Capture d’écran 2022-08-04 032500.png

It does not replace auto with ipv6 automatically
While on the documentation proxmox api I saw that it was possible:

name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]

If someone can help me it would be cool because I have to admit that I have searched on the internet without any success.
Thanks in advance for the answer and have a nice day.
what do you want to achieve?
what do you want to achieve?
More precisely I want to choose SLAAC as parameter

After checking, it sets SLAAC with auto but when I launch the VM it doesn't work, only when I go to network I do as if I wanted to edit net0 but I don't touch any parameter I do ok and no more error at launch

VM output if it helps:
run_buffer: 321 Script exited with status 255
lxc_create_network_priv: 3413 No such device - Failed to create network device
lxc_spawn: 1843 Failed to create the network
__lxc_start: 2074 Failed to spawn container "100"
TASK ERROR: startup for container '100' failed
Last edited:
your line/parameter is wrong - "name" is the name inside the container (e.g., "eth0"), "bridge" specifies the host bridge it's attached to (e.g., "vmbr0").


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!