public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Guest host cannot be connected to the LAN through 802.1q VLANs
@ 2013-03-04  7:33 Frank Bonnet
  2013-03-08 18:55 ` Vlad Yasevich
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Bonnet @ 2013-03-04  7:33 UTC (permalink / raw)
  To: kvm

Hello

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












^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guest host cannot be connected to the LAN through 802.1q VLANs
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Vlad Yasevich @ 2013-03-08 18:55 UTC (permalink / raw)
  To: Frank Bonnet; +Cc: kvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-08 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox