More than 32 NICs possible?

Falk

Member
Jan 19, 2015
11
0
21
Hi everyone,
i am working with proxmox for a while now and everything worked very well.
But now there is a little problem. Im setting up a virtual pfsense router to manage different networks, the testing with 3 networks worked without any problems.
I configured VLANs on my host that uses eth1, bound them to the virtual pfsense and worked with them like with physical interfaces. The Switch does understand the tagged packets.

After testing i wanted to add my configured vmbr's but the maximum amount of network interfaces is set to 32 - i need at least 50 interfaces.
Some search resulted in changing line 468 in /usr/share/perl5/PVE/QemuServer.pm where the maximum amount of interfaces is set.

At first i thought it worked, but when adding more interfaces they don't appear in the GUI - would be no problem but after booting the pfsense vm, none of the 50 interfaces worked, after deleting interfaces 33-50 it worked again.

Does anyone know if it is possible to add more than 32 interfaces to one vm?
If not i have to set up a second router or use vmware as host.

Thanks!

Falk

pveversion -v:
proxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1