Hi, I have a box with XEN enabled. Specs : Gentoo 10.0 AMD64 XEN 4.0.0 The server is connected on our network through two physicals NIC. Actually, I''m using a VLAN on each NIC and bridge the domU in it. But now I must create an additional domU which should be in an different VLAN. The best solution is to set a trunk on the switch and use 802.1q directly on the dom0. I found this site interesting. http://wiki.xensource.com/xenwiki/XenNetworking#head-4f6aecaa0342826a7259cd08948266093cca4365 The first method would do the trick but i wonder how to achieve that the Gentoo''s way. Any advices ? Thanks ! Ludo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ifconfig and vconfig script perhaps (maybe on start-up)? I know for sure that once the VLAN bridges are brought up, connecting your DomU to them is easy. -M From: Ludovic.Maret@heig-vd.ch To: xen-users@lists.xensource.com Date: Fri, 6 Aug 2010 11:57:12 +0200 Subject: [Xen-users] 802.1q on gentoo Hi, I have a box with XEN enabled. Specs : Gentoo 10.0 AMD64 XEN 4.0.0 The server is connected on our network through two physicals NIC. Actually, I’m using a VLAN on each NIC and bridge the domU in it. But now I must create an additional domU which should be in an different VLAN. The best solution is to set a trunk on the switch and use 802.1q directly on the dom0. I found this site interesting. http://wiki.xensource.com/xenwiki/XenNetworking#head-4f6aecaa0342826a7259cd08948266093cca4365 The first method would do the trick but i wonder how to achieve that the Gentoo’s way. Any advices ? Thanks ! Ludo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 6 Aug 2010, MARET Ludovic wrote:> > Hi, > > > > I have a box with XEN enabled. > > > > Specs : > > Gentoo 10.0 AMD64 > > XEN 4.0.0 > > > > The server is connected on our network through two physicals NIC. Actually, I?m using a VLAN on each NIC and bridge the domU in it. > > But now I must create an additional domU which should be in an different VLAN. The best solution is to set a trunk on the switch and use 802.1q directly on the dom0. > > > > I found this site interesting. > > > > http://wiki.xensource.com/xenwiki/XenNetworking#head-4f6aecaa0342826a7259cd08948266093cca4365 > > > > The first method would do the trick but i wonder how to achieve that the Gentoo?s way. > > > > Any advices ? >If you are using OpenRC, there are some examples about networking. If you are still using baselayout 1, there are also some additional examples about vlan and stuff including which tools they require. The example script for OpenRC is found here: http://roy.marples.name/projects/openrc/browser/conf.d/network.Linux including "Create VLAN"... you will find a copy in /usr/share/doc/openrc-xx/ on your box. Baselayout 1 howerever has a different approach, which you will find in /etc/conf.d/net.example... Sincerly Nicolas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users