From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Bonnet Subject: unable to get guests network working ( VLAN 802.1q ) Date: Thu, 28 Feb 2013 10:30:58 +0100 Message-ID: <512F23D2.7080905@esiee.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from hp9.esiee.fr ([147.215.1.4]:63532 "EHLO hp9.esiee.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750992Ab3B1Jko (ORCPT ); Thu, 28 Feb 2013 04:40:44 -0500 Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 3ZGpR72dJrz3DSxw for ; Thu, 28 Feb 2013 10:30:59 +0100 (CET) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 3ZGpR71vRSzYmY8 for ; Thu, 28 Feb 2013 10:30:59 +0100 (CET) Received: from smtps.esiee.fr (smtps.esiee.fr [147.215.1.29]) by mail.esiee.fr (Postfix) with ESMTP id 3ZGpR719nszYmY9 for ; Thu, 28 Feb 2013 10:30:59 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by smtps.esiee.fr (Postfix) with ESMTPSA id 3ZGpR711y9z1btgD for ; Thu, 28 Feb 2013 10:30:58 +0100 (CET) Sender: kvm-owner@vger.kernel.org List-ID: 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