Hello, I use a script network-multi vlan and network-bridge-vlan for multiple VLANs in domu. Several domu uses the bridge vlanbr30. Need to dom0 as was in this vlan''e. How? I tried to put a bridge interface ip, but with him until the rest domu in vlanbr30 not get through. How to understand the need to create a virtual interface (vifx.y) and add it to the bridge vlanbr30. How? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vladimir Elizarov wrote:>I use a script network-multi vlan and network-bridge-vlan for >multiple VLANs in domu. > >Several domu uses the bridge vlanbr30. Need to dom0 as was in this >vlan''e. How? I tried to put a bridge interface ip, but with him >until the rest domu in vlanbr30 not get through. How to understand >the need to create a virtual interface (vifx.y) and add it to the >bridge vlanbr30. How?If I follow you correctly, your physical interface uses VLANs and your Dom0 is configured with interfaces on multiple VLANs. You now want to connect one or more DomUs to one or more VLANs. I see two ways of doing this, I''m sure someone will be along soon enough to say which is easiest to set up and use - and if both options are actually possible. 1) Attach the physical interface to a single bridge, and then every vif will automatically get access to all VLANs. Each DomU will have to be configured for VLAN operation. I''m assuming here that the bridge will just transparently forward tagged packets - would you need to adjust MTU ? 2) Attach each VLAN to a separate bridge - so each bridge is carrying untagged packets for a specific LAN. Then you would configure DomUs with as many interfaces as there are LANs they need to connect to - the DomU is NOT configured for VLANs as it now has a separate interface on each LAN. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Dec 11, 2009 at 2:44 AM, Simon Hobson <linux@thehobsons.co.uk> wrote:> Vladimir Elizarov wrote: > >> I use a script network-multi vlan and network-bridge-vlan for multiple >> VLANs in domu.That can be ... a pain :P It''d be easier if you just use your OS networking script to create bridges an vlan> I see two ways of doing this, I''m sure someone will be along soon enough to > say which is easiest to set up and use - and if both options are actually > possible. > > 1) Attach the physical interface to a single bridge, and then every vif will > automatically get access to all VLANs. Each DomU will have to be configured > for VLAN operation. I''m assuming here that the bridge will just > transparently forward tagged packetsYup. At least this works on RHEL. Last time I check it doesn''t work on newest Opensolaris dom0 though.> - would you need to adjust MTU ?Usually, no. Not if you have a common NIC and stable drivers. It used to be a problem for newer NICs with buggy drivers.> > 2) Attach each VLAN to a separate bridge - so each bridge is carrying > untagged packets for a specific LAN. Then you would configure DomUs with as > many interfaces as there are LANs they need to connect to - the DomU is NOT > configured for VLANs as it now has a separate interface on each LAN.I post a sample configuration for RHEL/Centos on this list that does just that. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users