creating an LXC within a VLAN fails #9453
Replies: 2 comments 7 replies
-
|
You need to know if you need a VLAN or not. Your host needs to be set up accordingly, as well as your Network. The network connectivity in the LXC is needed for the install. How do you think this works without a network? I use VLANs heavily in Prod and have no issues with any script. So you need to recheck your host/network settings. |
Beta Was this translation helpful? Give feedback.
7 replies
-
|
Fair point, I will create another one with a VLAN and paste the logs
directly.
The reason I didn't started with the logs to begin with is that I only
noticed the problem after I closed the install console/shell and the LXC
was already created
…On Fri, Nov 28, 2025 at 8:50 AM Slaviša Arežina ***@***.***> wrote:
No script doesnt connect to LXC via SSH. Script attaches to LXCs init
namespace from the host. It doesn't need network to do so.
Also, this is all theoretical talk, we need to see the logs to figure out
what and where it had issues.
Paste in the console log
—
Reply to this email directly, view it on GitHub
<#9453 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARKJWJQBOPNJSWAFVKMNU33675EFAVCNFSM6AAAAACNHNET7CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJQGMZDEMI>
.
You are receiving this because you authored the thread.Message ID:
<community-scripts/ProxmoxVE/repo-discussions/9453/comments/15103221@
github.com>
--
---
https://danielorodriguez.com
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, and thank you for this great resource this repository and community is.
I recently tried to create an MQTT LXC using the available script and I have chosen the advanced method, and setup the network to use a VLAN. At some point the script hang up trying to connect to the LXC, and while it is true that the LXC got created, it had nothing of the expected services running or configs setup.
Is it not possible to configure an LXC to use a VLAN? Why is network connectivity required? Can not the script connect through the hypervisor?
What is the right way to create an LXC that uses certain VLAN?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions