[SOLVED] Assign VLan to container faild

hlcus

New Member
Aug 11, 2024
11
0
1
Hello,
i've configure a Vlan at my new Proxmox instance. The configuration working with a VM fine.
Now i want to create a countainer in the VLan.

First, i've create the container in my default network.
/etc/pve/lxc/XXX.conf
Code:
<schnipp>
net0: name=eth0,bridge=vmbr0,hwaddr=BC:00:00:00:20:10,ip=dhcp,type=veth
<schnap>

After successfull boot, i shout down and change the network config.
/etc/pve/lxc/XXX.conf
Code:
<schnipp>
net0: name=eth0,bridge=vmbr0.20,hwaddr=BC:00:00:00:20:10,ip=dhcp,type=veth,tag=20
<shapp>

This doesn't woking any more.

Error Message:
Code:
run_buffer: 571 Script exited with status 2
lxc_create_network_priv: 3463 Success - Failed to create network device
lxc_spawn: 1847 Failed to create the network
__lxc_start: 2114 Failed to spawn container "20010"
TASK ERROR: startup for container '20010' failed

Do you have any advice for me?
 

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!