Restriction on quantity of network cards in KVM VM?

Pilat

New Member
Aug 21, 2010
29
0
1
Whether such configuration KVM VM is possible: 8 virtual network cards and 8th real IP addresses through vmbr0, and 9 virtual network cards connected with addresses in a private network of the host-server.

The variant from 7 virtual network cards connected with addresses in a private network of the host-server works if to specify two more cards they are not visible in a configuration of the virtual machine. In the virtual machine are visible 7+7=14 network cards. Probably, there is a restriction on their quantity?



VM Configuration: vlan0 => vmbr0, vlan101..109 => vmbr101..109

# Internet IP
vlan0: \
virtio=00:50:56:00:01:F6, \
virtio=00:50:56:00:01:F8, \
virtio=00:50:56:00:02:98, \
virtio=00:50:56:00:01:F9, \
virtio=00:50:56:00:01:FA, \
virtio=00:50:56:00:01:F7, \
virtio=00:50:56:00:02:99, \
virtio=00:50:56:00:01:FB

# Private network IP
vlan101: virtio=6A:8A:12:C1:ED:50
vlan102: virtio=86:A1:E0:43:5F:23
vlan103: virtio=3A:1F:B5:35:CF:7D
vlan104: virtio=dA:78:E4:07:F9:16
vlan105: virtio=82:4B:3E:43:24:9F
vlan106: virtio=2E:F2:7A:D1:A3:39
vlan107: virtio=9A:63:18:79:33:25
vlan108: virtio=2A:ED:FC:16:43:40
vlan109: virtio=8E:65:2F:6D:F7:8D

Proxmox server configuration:

auto vmbr0
iface vmbr0 inet static
address 188.40.xxx.xxx
netmask 255.255.255.192
gateway 188.40.xxx.xxx
broadcast 188.40.xxx.xxx
bridge_ports eth0
bridge_stp off
bridge_fd 0

#VLAN 101
auto eth1.101
iface eth1.101 inet manual

auto eth2.101
iface eth2.101 inet manual

auto bond101
iface bond101 inet manual
slaves eth1.101 eth2.101
bond_miimon 100
bond_mode active-rr
pre-up ifup eth1.101 eth2.101
post-down ifdown eth1.101 eth2.101


auto vmbr101
iface vmbr101 inet static
address 10.101.0.2
netmask 255.255.0.0
bridge_ports bond101
bridge_stp off
bridge_fd 0


...
#VLAN 109
auto vmbr109
iface vmbr109 inet static
address 10.109.0.2
netmask 255.255.0.0
bridge_ports bond109
bridge_stp off
bridge_fd 0
 

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!