Hi,
I'm having an issue with the network connection of LXC containers. I tried different images without success.
I don't have this issue when creating VMs.
The only setting I change in the creation wizard is to unselect the "Unprivileged container" option.
After searching the forum, I read that I need to enable the nesting option. I did that but it didn't help.
These are the interfaces of PVE:
PCT config:
ip a
I'm having an issue with the network connection of LXC containers. I tried different images without success.
I don't have this issue when creating VMs.
The only setting I change in the creation wizard is to unselect the "Unprivileged container" option.
After searching the forum, I read that I need to enable the nesting option. I did that but it didn't help.
These are the interfaces of PVE:
Code:
root@pve:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.178.76/24
gateway 192.168.178.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
PCT config:
Code:
root@pve:~# pct config 104
arch: amd64
cores: 1
features: nesting=1
hostname: ct-debian
memory: 2048
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=AA:4B:11:38:80:DE,type=veth
ostype: debian
rootfs: local-lvm:vm-104-disk-0,size=8G
swap: 2048
ip a
Code:
root@ct-debian:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0@if76: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether aa:4b:11:38:80:de brd ff:ff:ff:ff:ff:ff link-netnsid 0
Last edited: