public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Bonnet <f.bonnet@esiee.fr>
To: kvm@vger.kernel.org
Subject: unable to get guests network working ( VLAN 802.1q )
Date: Thu, 28 Feb 2013 10:30:58 +0100	[thread overview]
Message-ID: <512F23D2.7080905@esiee.fr> (raw)

Hello

I'm new to KVM ...

I've setup an hypervisor on a Debian server (7.0 RC1 )
and I have followed usual tutorial to do so.

Everything seems work well except I am unable to connect
the first guest I've build to my LAN.

I use 802.1q VLAN , the Cisco switch is configured to use it
and transport the VLANs on the connected port to the server
the 8021q module is loaded.

------------------------------------------------------------
  interface GigabitEthernet1/0/6
  description HYPVM
  switchport trunk encapsulation dot1q
  switchport trunk allowed vlan 2,30,110,150
  switchport mode trunk
  spanning-tree portfast trunk
------------------------------------------------------------

the /etc/network/interfaces of the server is pretty simple

------------------------------------------------------------
auto lo eth0 br-110 br-30
iface lo inet loopback
iface eth0 inet manual

iface br-30 inet static
    bridge_ports eth0.30
    bridge_maxwait 0
    bridge_stp off
    bridge_fd 0
    address 147.215.1.25
    netmask 255.255.255.0
    broadcast 147.215.1.255
    network 147.215.1.0
    gateway 147.215.1.1

iface br-110 inet static
       bridge_ports eth0.110
       bridge_maxwait 0
       bridge_stp off
       bridge_fd 0
-------------------------------------------------------------


VLAN numbers are 30 and 110 , I can connect to the br-30 interface
from the LAN.

the guest host is supposed to have an IP address in the 147.215.110.0
network ( VLAN 110 ).

I can build it with virt-manager but when it try to access to the
LAN it fails ...

If someone could help ...
thanks in advance





                 reply	other threads:[~2013-02-28  9:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=512F23D2.7080905@esiee.fr \
    --to=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