Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171001

Re: QEMU accessing VLAN

From Igor Cicimov <icicimov@gmail.com>
Newsgroups linux.debian.user
Subject Re: QEMU accessing VLAN
Date 2016-08-12 01:30 +0200
Message-ID <s57Ad-2eX-13@gated-at.bofh.it> (permalink)
References <s4E5c-6Zf-45@gated-at.bofh.it> <s4XAS-3T5-21@gated-at.bofh.it> <s4ZMm-5r3-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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?
>

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

QEMU accessing VLAN Andrew Wood <andrewjameswood@ymail.com> - 2016-08-10 18:00 +0200
  Re: QEMU accessing VLAN Igor Cicimov <icicimov@gmail.com> - 2016-08-11 14:50 +0200
    Re: QEMU accessing VLAN Andrew Wood <andrewjameswood@ymail.com> - 2016-08-11 17:10 +0200
      Re: QEMU accessing VLAN Dan Ritter <dsr@randomstring.org> - 2016-08-11 17:50 +0200
        Re: QEMU accessing VLAN Igor Cicimov <icicimov@gmail.com> - 2016-08-12 01:30 +0200
      Re: QEMU accessing VLAN Igor Cicimov <icicimov@gmail.com> - 2016-08-12 01:30 +0200

csiph-web