Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170565

Errors changing a VM to use vlan ID

$
0
0
Hi There,

I am attempting to use Q-in-Q in our environment. I am basically bridging a vlan to vmbr0. When I add a vlan capable VM on to vmbr0 I am able to communicate on vlan10, however when I try to configure a VM to natively use vlan10 on vmbr0 and then start it I get the following error:

Code:

no physical interface on bridge 'vmbr0'
/var/lib/qemu-server/pve-bridge: could not launch network script
kvm: -netdev type=tap,id=net0,ifname=tap101i0,script=/var/lib/qemu-server/pve-bridge,vhost=on: Device 'tap' could not be initialized
TASK ERROR: start failed: command '/usr/bin/kvm -id 101 -chardev 'socket,id=qmp,path=/var/run/qemu-server/101.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/101.vnc,x509,password -pidfile /var/run/qemu-server/101.pid -daemonize -name Win2k8-Test -smp 'sockets=2,cores=2' -nodefaults -boot 'menu=on' -vga std -no-hpet -k en-us -m 4096 -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' -drive 'file=/var/lib/vz/images/101/vm-101-disk-1.raw,if=none,id=drive-virtio0,aio=native,cache=none' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa' -drive 'if=none,id=drive-ide3,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=1,drive=drive-ide3,id=ide3,bootindex=200' -netdev 'type=tap,id=net0,ifname=tap101i0,script=/var/lib/qemu-server/pve-bridge,vhost=on' -device 'virtio-net-pci,mac=02:07:FB:17:AB:D8,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1

Which looks like there is a requirement for a "physical" interface on the bridge.

Is there anyway to work around this? I really need to get Q-in-Q working from the VM's.

Viewing all articles
Browse latest Browse all 170565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>