public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vyasevic@redhat.com>
To: Frank Bonnet <f.bonnet@esiee.fr>
Cc: kvm@vger.kernel.org
Subject: Re: Guest host cannot be connected to the LAN through 802.1q VLANs
Date: Fri, 08 Mar 2013 13:55:35 -0500	[thread overview]
Message-ID: <513A3427.4050000@redhat.com> (raw)
In-Reply-To: <51344E5A.7050708@esiee.fr>

On 03/04/2013 02:33 AM, Frank Bonnet wrote:
> Hello
>

Not sure if this is the right list.  You might get more help on the 
qemu-devel list.

> I'm in trouble with a guest host that is not living on the same subnet
> than the hypervisor that I would like to connect to my LAN through
> 802.1q VLAN ( ubuntu 12.10 server amd64 )
>
> The hypervisor VLAN number is 30
> The guest VLAN number is 110
>
> See below the /etc/network/interfaces file of the hypervisor
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # For  Guest-VM
>
> auto em1.110
> iface em1.110 inet manual
>
> auto br0-110
> iface br0-110 inet manual
> bridge_ports em1.110
> bridge_stp off
> bridge_fd 0
> bridge_maxwait 0
>
> # For Vm-Mother
>
> auto em1.30
> iface em1.30 inet manual
>
> auto br0-30
> iface br0-30 inet static
> address 147.215.1.25
> netmask 255.255.255.0
> network 147.215.1.0
> broadcast 147.215.1.255
> gateway 147.215.1.1
> dns-nameservers 147.215.1.4 147.215.128.128
> dns-search esiee.fr
> bridge_ports em1.30
> bridge_stp off
> bridge_fd 0
> bridge_maxwait 0
>
>
> IF ANYONE COULD HELP ... Thanks a LOT
>

There isn't enough information here..  Which bridge do you connect your 
vm to?

Are you attempting to configure a vlan interface in the VM?

Does the swtich you are connected to know about vlan configuration?

What behavior do you see on the VM?

Thanks
-vlad

      reply	other threads:[~2013-03-08 18:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04  7:33 Guest host cannot be connected to the LAN through 802.1q VLANs Frank Bonnet
2013-03-08 18:55 ` Vlad Yasevich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513A3427.4050000@redhat.com \
    --to=vyasevic@redhat.com \
    --cc=f.bonnet@esiee.fr \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox