unable to get guests network working ( VLAN 802.1q )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux