I have been able to get clients attaching to various vlans when I use the virt-manager gui but I have not been able to figure out the command line equivalent.
sudo kvm --boot c -hda ./dns.img -smp 1 -m 384 -net nic,model=virtio,vlan=11 -net tap,vlan=11 -nographic -vnc :29 -usbdevice tablet
Can anybody point me in the right direction?
sudo kvm --boot c -hda ./dns.img -smp 1 -m 384 -net nic,model=virtio -net tap,script=no,ifname=tun11 -nographic -vnc :29 -usbdevice tablet
The trick seems to be creating the tun yourself specifing vlan does not do a thing.
Post new comment