[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: QEMU accessing VLAN



On 12 Aug 2016 1:08 am, "Andrew Wood" <andrewjameswood@ymail.com> wrote:
>
>
>
> On 11/08/16 13:47, Igor Cicimov wrote:
>>
>>
>> >
>> What type of network card did you create the vm with? You need to use the virtio virtual network interface in your vm configuration.
>>
> Thanks for your reply.  I wondered about that but the QEMU wiki doesnt seem to detail how to configure it to to what I want. I will need to specify more than just --net nic,model=virtio ?

Thats right. Also need vlan tagging enabled on the guest to be able to see the vlan traffic, 802.1q module loaded etc. Create eth0 and eth0.2 on the guest too.

Presumably using this I could give it a 'real' IP address on the network rather than asking QEMU to do port forwarding?
>


Reply to: