public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* unable to get guests network working ( VLAN 802.1q )
@ 2013-02-28  9:30 Frank Bonnet
  0 siblings, 0 replies; only message in thread
From: Frank Bonnet @ 2013-02-28  9:30 UTC (permalink / raw)
  To: kvm

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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-28  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28  9:30 unable to get guests network working ( VLAN 802.1q ) Frank Bonnet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox