How do I make containers show up as ordinary LAN nodes?

Ernie Pantuso

New Member
Nov 10, 2023
3
0
1
Hi! Brand new to Proxmox, here. I'm bringing a small business into the 21st century with a robust network and a multi-purpose server. It was recommended to me to use Proxmox as my server OS and then use various VMs and containers for the various functionality I need - TrueNAS as my file server, an Nginx web server for internal crud apps, as well as tools such as an (TP-Link) Omada controller, Network monitoring/SIEM tool, etc.

Can I set the IP address for a VM so that it's on a different subnet/VLAN than the host (Proxmox server)?

Also, how do I configure containers in a VM within Proxmox to show up on the LAN as ordinary nodes? To further clarify, my Proxmox server has an IP address of 10.2.2.2. (That second 2 indicates that it's on VLAN 2 - the main business VLAN). I'll want the TrueNAS VM to have a similar IP. Something like 10.1.2.3 so that all the other business machines (on the same segment/VLAN) can access the shared files/folders. But I'll have an (TP-Link) Omada Cloud Controller that I'll want on my management VLAN (10.1.10.x). How can I assign the container an IP of 10.1.10.6 so that it's visible to all the other devices on the 10.1.10.x Management VLAN (10)? In Docker I'd use MacVlan networking; what's the equivalent in Proxmox?

If I chose to, could I run that container in my TrueNAS VM (even though it's on VLAN 2)? Or do I need to put it in a separate VM that has a 10.1.10.x address?
 
Last edited:

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!