I am setting up a Proxmox VE 3.3 server and am having a little difficulty on setting the VLAN trunking properly. Here is how we want it to be configured:
eth0 - Management Network (currently working)
eth1 - Customer VM Network (not working)
Eth1 will have access to VLANs 4-300 on our switch potentially depending on which IPs we assign. We have this working with our OnApp setup and KVM, but have never set it up with yours. Here is a copy of the config so far and the errors we are receving are below that. I think we are close, but something is missing. The 20 and 100 are setup just alike in the interfaces file, but as you can see that interface does not work. The idea is that we can set these to access any segment of the network as our defunct OnApp did.
brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.0015172e8e4e no eth0
vmbr100 8000.000000000000 no
vmbr20 8000.0015172e8e4f no eth1
no physical interface on bridge 'vmbr100'
/var/lib/qemu-server/pve-bridge: could not launch network script
kvm: -netdev type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown: Device 'tap' could not be initialized
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=899b7bae-c4df-485e-8b66-3fab8398ddb9' -name test01 -smp 'sockets=2,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -cpu kvm64,+lahf_lm,+x2apic,+sep -k en-us -m 2048 -cpuunits 1000 -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:6cd58b7220f6' -drive 'file=/var/lib/vz/template/iso/CentOS-6.4-x86_64-minimal.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-ide0,format=qcow2,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=B2:85:37:7C:A9:CF,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
eth0 - Management Network (currently working)
eth1 - Customer VM Network (not working)
Eth1 will have access to VLANs 4-300 on our switch potentially depending on which IPs we assign. We have this working with our OnApp setup and KVM, but have never set it up with yours. Here is a copy of the config so far and the errors we are receving are below that. I think we are close, but something is missing. The 20 and 100 are setup just alike in the interfaces file, but as you can see that interface does not work. The idea is that we can set these to access any segment of the network as our defunct OnApp did.
brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.0015172e8e4e no eth0
vmbr100 8000.000000000000 no
vmbr20 8000.0015172e8e4f no eth1
no physical interface on bridge 'vmbr100'
/var/lib/qemu-server/pve-bridge: could not launch network script
kvm: -netdev type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown: Device 'tap' could not be initialized
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=899b7bae-c4df-485e-8b66-3fab8398ddb9' -name test01 -smp 'sockets=2,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -cpu kvm64,+lahf_lm,+x2apic,+sep -k en-us -m 2048 -cpuunits 1000 -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:6cd58b7220f6' -drive 'file=/var/lib/vz/template/iso/CentOS-6.4-x86_64-minimal.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-ide0,format=qcow2,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=B2:85:37:7C:A9:CF,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1