Container Bridge Network Device

Raymond Burns

Member
Apr 2, 2013
333
1
18
Houston, Texas, United States
I have a Debain Template installed under Bridge Mode.
How do I go about setting up the network interface.
I cannot use venet because I need it to be on vmbr2 only. I'm not sure which eth venet uses (seems like all of them)
I cannot see my eth0 in ifconfig, and ifup eth0 results in
Code:
Ignoring unknown interface eth0=eth0

Any assistance
Thanks
 
in /etc/network/interface (The CT, not the node)

##
# Static assignment
##
auto eth0
iface eth0 inet static
address x.y.z.v
netmask 255.255.255.0
gateway x.y.z.v
dns-nameservers 8.8.8.8 8.8.4.4

##
# Dynamic assignment (DHCP)
##
auto eth0
iface eth0 inet dhcp
 
That presents a problem for me then. Later on when I use WHMCS to provision OpenVZ Containers, it will try to select the IP address automatically.
Based on what I gather about the venet, that address is accessible to all connected ethernet devices. This is not good when I have shared storage. And a separate local lan using vmbr0.
So If I have eth0 - eth5 and vmbr0 - vmbr5 respectively, there's no way to auto provision IP addresses to all WHMCS created CT's limited to eth0 or vmbr0?
eth1 is local lan, eth2 storage lan (firewall appliance), eth3 and eth4 is LACP to storage, and eth5 is Proxmox Management.

Firewall is just to provide DNS and DHCP to storage LAN using pfSense
 
If the CT only have connection to a bridge it will only be able to use the network configured on this bridge. Or have I misunderstood your question?
 
Yea, misunderstood.
I want to provision VPS through WHMCS. My understanding is WHMCS automatically deploys OpenVZ and manages the IP address, however, just inserting an IP address for venet will result in that VPS having access to all nics.
Is there any Provisioning software that will deploy CT or KVM but using specifically assigned NICs?
 

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!