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

Re: [Xen-users] VLAN guest networking: near 100% packet loss



On Fri, Jan 8, 2016 at 11:46 AM, Pavan Maddamsetti
<pavan.maddamsetti@xxxxxxxxx> wrote:
> Dom0 network configuration is:
>
> auto xenbr0
> iface xenbr0 inet manual
>     bridge_ports eth1
>     bridge_stp off
>     bridge_waitport 0
>     bridge_fd 0
>
> auto xenbr0.4
> iface xenbr0.4 inet static
>     address 192.168.4.13
>     broadcast 192.168.4.255
>     netmask 255.255.255.0
>     gateway 192.168.4.1
>     vlan-raw-device xenbr0

so xenbr0 -> the bridge, trunk

xenbr0.4 -> a vlan created on top of the bridge?

> The configuration file in /etc/xen/ contains the line:
>
> vif = ['bridge=xenbr0,mac=00:16:3e:40:27:fa,ip=192.168.4.21']

you bridge the guest to xenbr0

> auto eth0
> iface eth0 inet static
>     address 192.168.4.21
>     broadcast 192.168.4.255
>     netmask 255.255.255.0
>     gateway 192.168.4.1

... and yet you tell it to use the same geteway as as xenbr0.4.

Obviously that won't work.

> Does anyone have experience configuring VLANs with the bridge interface?


Either:
- bridge the TRUNK, do NOT create the vlan interface (xenbr0.4) in the
host, and create the vlan interface in the guest (eth0.4). OR
- create a vlan interface on the host (eth0.4), and then create a
bridge on TOP of that (e.g. xenbr4), and configure the guest interface
(eth0) the way you did

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.