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


Groups > linux.debian.user > #170964

Re: QEMU accessing VLAN

From Igor Cicimov <icicimov@gmail.com>
Newsgroups linux.debian.user
Subject Re: QEMU accessing VLAN
Date 2016-08-11 14:50 +0200
Message-ID <s4XAS-3T5-21@gated-at.bofh.it> (permalink)
References <s4E5c-6Zf-45@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 11 Aug 2016 1:56 am, "Andrew Wood" <andrewjameswood@ymail.com> wrote:
>
> I've got a host with some QEMU virtual machines on it, the host did have
just one IP address (untagged VLAN) on eth0, Ive now added a second IP on
VLAN 2 (eth0.2). The host machine is working fine but a QEMU VM is not able
to access anything on VLAN2.
>
> Im using the default setup whereby QEMU provides NAT. Do I need to alter
the VM config somehow. I was expecting it to pass packets up to the host
and the host to recognise which interface it was for and route it out
accordingly. Obviously Im  missing something. Can anyone advise me please?
>
>
> Regards
>
> Andrew
>
What type of network card did you create the vm with? You need to use the
virtio virtual network interface in your vm configuration.

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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