Aron Xu
2012-Jul-20 11:10 UTC
[Pkg-xen-devel] Bug#682216: document about VLAN configuration on dom0
Package: src:xen-api Severity: wishlist I've tried to configure VLAN using XCP + openvswitch using Wheezy, though it's still not fully working, I think VLAN configuration on dom0 can be better documented. It's fair easy to configure VLAN in Debian. First you need to ensure that your physical switch is in trunk mode, which means it will pass all kinds of VLAN tagged network flow, and add corresponding VLAN tag to the ports that connect to your server. This is the basic of a working VLAN. Next you need to install vconfig package to the system, either by using apt-get if the host machine is able to access network, or by transferring the files in other means if your VLAN enabled link makes it unable to download a file. Then make changes to /etc/network/interface as following: # The loopback network interface auto lo iface lo inet loopback auto eth0.100 iface eth0.100 inet manual vlan_raw_device eth0 # The primary network interface auto xenbr0 iface xenbr0 inet static bridge_ports eth0.100 bridge_stp on address 192.168.1.120 netmask 255.255.255.128 gateway 192.168.1.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 8.8.8.8 dns-search example.com This will make xenbr0 bridged to eth0.100, which means VLAN tag 100 on eth0. There is no need to write about iface eth0, neither bring those devices up explicitly, as the network will be brought up in a dependency based manner. In this very example, VLAN 100 was configured as the default tag on the physical switch, which means everything no tagged will be tagged as 100. But you are free to use other VLAN for the device as long as you have added the VLANs to corresponding ports on your physical switch. Finally you can continue with what we already have in README.Debian, to configure the PIFs using `xe pif-reconfigure-ip` of your physical devices, namely eth0. I have tested with two physical NICs in this manner and it works fine for dom0. But I still cannot make network available because of another problem (very likely to be a bug, but I still need some debugging to confirm). If you are using openvswitch, you can start a VM when created from a template, and boot the installer from a network URL with no problem, just like you don't have VLAN when using openvswitch. -- Regards, Aron Xu
Aron Xu
2012-Jul-20 11:22 UTC
[Pkg-xen-devel] Bug#682216: document about VLAN configuration on dom0
On Fri, Jul 20, 2012 at 7:10 PM, Aron Xu <happyaron.xu at gmail.com> wrote:> > I have tested with two physical NICs in this manner and it works fine > for dom0. But I still cannot make network available because of another > problem (very likely to be a bug, but I still need some debugging to > confirm).Here I mean not available to VMs, dom0 is okay. -- Regards, Aron Xu
Debian Bug Tracking System
2014-Mar-02 18:45 UTC
[Pkg-xen-devel] Bug#682216: marked as done (document about VLAN configuration on dom0)
Your message dated Sun, 02 Mar 2014 18:42:06 +0000 with message-id <E1WKBKw-0004SD-Mw at franck.debian.org> and subject line Bug#740517: Removed package(s) from unstable has caused the Debian Bug report #682216, regarding document about VLAN configuration on dom0 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 682216: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682216 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Aron Xu <happyaron.xu at gmail.com> Subject: document about VLAN configuration on dom0 Date: Fri, 20 Jul 2012 19:10:54 +0800 Size: 4394 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140302/22db4c55/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#740517: Removed package(s) from unstable Date: Sun, 02 Mar 2014 18:42:06 +0000 Size: 3077 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140302/22db4c55/attachment-0003.mht>
Reasonably Related Threads
- Bug#682216: Bug #682216 document about VLAN configuration on dom0
- Bug#682120: xen-api: missing --minimal in example command
- HTB problem running on VLAN, not working
- Bug#682216: Documenting VLAN networking setup with XCP
- bonding + VLANs -> Oops/panic, no VLAN on 100 Mbit cards [SOLVED]