[SOLVED] Network settings for LXC containers: No internet access

MrBruce

New Member
Mar 7, 2020
25
3
3
Hi!

After default install of Proxmox VE 6.1, I try to set networks, but not working.
My host PC have only 1 gigabit network card (enp3s0), connected to router/switch/internet. No IPV6 currently used.
That Proxmox host have internet access, updated packages, etc. This all fine.
Installed LXC templates and added successfully LXC containers. Works nicely, expect the network.

Thank you,
Bruce
 
Last edited:
Solution:

auto lo
iface lo inet loopback

auto enp3s0

iface enp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.2
netmask 255.255.255.0
bridge-ports enp3s0
bridge-stp off
bridge-fd 0

and set for CT to use bridge, same subnet ip and done.
 
Last edited:
auto enp3s0 this line looks a bit wrong, have you tried if it works when you remove it or comment it out?
 

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!