hi, I have to configure Xen server and DomU''s which should be able to talk to different vlans - depending on services put on DomU''s. I would like to enslave 2 NICs via bond interface. Both NICs are on trunk ports which are configured in the same way, the same native vlan. I don''t know, if I have to add vlans tagging to eth* interfaces then enslave tagged eth* interfaces to bond interface and then set up a bridge or først enslave eth* interfaces to one bond interface and then add vlan tagging to that bond. Bridges would be set up per vlan. What is the real difference between this to approches? Then, I would like to have bridges bound to different vlans - one vlan per bridge, or more vlans per bridge, depending on domU''s services. What about IP addressing - do I have to assign IP addresses to the bridges or to the DomU''s? cheers, Longina -- -- Longina Przybyszewska, system programmer IT@Naturvidenskab IMADA, Department of Mathematics and Computer Science University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anno domini 2008 Longina Przybyszewska scripsit: Hi!> I have to configure Xen server and DomU''s which should be able > to talk to different vlans - depending on services put on DomU''s.> I would like to enslave 2 NICs via bond interface. > Both NICs are on trunk ports which are configured in the same way, the > same native vlan.Sounds like Cisco ;)> I don''t know, if I have to add vlans tagging to eth* interfaces then > enslave tagged eth* interfaces to bond interface and then set up a bridge > or > først enslave eth* interfaces to one bond interface and then add vlan > tagging to that bond. Bridges would be set up per vlan. > What is the real difference between this to approches?The main difference will most probably be the pain of setup and maintainance. I''m using bonding of trunk interfaces on many systems by just bonding together some eth* interfaces and splitting up the bondX interface into vlans so that I have bond0.42, bond0.23 and so on.> Then, I would like to have bridges bound to different vlans - one vlan per > bridge, or more vlans per bridge, depending on domU''s services.The next step is to setup a bridge per vlan like # brctl addbr br<VLAN_ID> # brctl addif br<VLAN_ID> bond0.<VLAN_ID> so you get br42 and br23 following the above example.> What about IP addressing - do I have to assign IP addresses to the bridges > or to the DomU''s?If the Dom0 (host system) has to use a bridge for it''s networking, you have to assign this IP to the bridge interface. The IPs of all DomU (guest systetms) have to be set in the DomU itself, using the standard mechanisms provides by the distribution. HTH Ciao Max -- Follow the white penguin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,>> I would like to enslave 2 NICs via bond interface. >> Both NICs are on trunk ports which are configured in the same way, the >> same native vlan. > > Sounds like Cisco ;)if it is so you have to configure static portchannel on cisco site. Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for immediate help !:-) Yes, it is Cisco switch - I have not access to it - have to ask network people to check configuration. I have got another basic problem: this is PE2950 with 6 NICs, but I would like to bind together 2 Broadcom cards eth4+eth5--->bond0. 1. they are bound together in a way - because I can set up IP address only for one card. If both cards get IP I''m loosing networking. 2. if I try to run (only eth5 is configured on boot) mii-tools -v I get : SIOCGMIIPHY on ''eth4'' failed: Resource temporarily unavailable SIOCGMIIPHY on ''eth5'' failed: Operation not supported Both cards are on the same switch, only eth5 is configured on boot (/etc/networking/interfaces - as I run Ubuntu Hardy) Could it be TOE issue (TCP/IP offload engine jumper set op in BIOS)? Thanks in advance longina On Wed, 16 Jul 2008, Martin Hierling wrote:> Hi, > >>> I would like to enslave 2 NICs via bond interface. >>> Both NICs are on trunk ports which are configured in the same way, the >>> same native vlan. >> >> Sounds like Cisco ;) > > if it is so you have to configure static portchannel on cisco site. > > Martin > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- -- Longina Przybyszewska, system programmer IT@Naturvidenskab IMADA, Department of Mathematics and Computer Science University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,> 1. they are bound together in a way - because I can set up IP address only > for one card. If both cards get IP I''m loosing networking.you have to set the ip address on the bond0 interface, set eth4 and eth5 with no ip address at the boot process. then start bond0 wiht your ip address. make sure your networking guys set the portchannel correctly. as example: lea# sh run int gi 1/0/29 Building configuration... Current configuration : 244 bytes ! interface GigabitEthernet1/0/29 description sct-ha1-NOC|305:drea switchport mode access switchport access vlan 12 switchport nonegotiate channel-group 5 mode on end lea# sh run int gi 2/0/29 Building configuration... Current configuration : 244 bytes ! interface GigabitEthernet2/0/29 description sct-ha1-NOC|306:drea switchport mode access switchport access vlan 12 switchport nonegotiate channel-group 5 mode on end lea# sh run int po5 Building configuration... Current configuration : 211 bytes ! interface Port-channel5 description etc-TX--ha1-342|drea switchport mode access switchport access vlan 12 switchport nonegotiate end Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, thanks for immediate help !:-) It is Cisco switch - but I have no access to it - have to ask network responsible to check it. I have another basic problem - the machine is PE2950 - it seems that the two NICs I want to bind together are bound in a way - only one of them can get IP address - if both get IP - no network access to the computer On Wed, 16 Jul 2008, Martin Hierling wrote:> Hi, > >>> I would like to enslave 2 NICs via bond interface. >>> Both NICs are on trunk ports which are configured in the same way, the >>> same native vlan. >> >> Sounds like Cisco ;) > > if it is so you have to configure static portchannel on cisco site. > > Martin> 1. they are bound together in a way - because I can set up IP addressonly> for one card. If both cards get IP I''m loosing networking.you have to set the ip address on the bond0 interface, set eth4 and eth5 with no ip address at the boot process. then start bond0 wiht your ip address. make sure your networking guys set the portchannel correctly. as example: lea# sh run int gi 1/0/29 Building configuration... Current configuration : 244 bytes ! interface GigabitEthernet1/0/29 description sct-ha1-NOC|305:drea switchport mode access switchport access vlan 12 switchport nonegotiate channel-group 5 mode on end lea# sh run int gi 2/0/29 Building configuration... Current configuration : 244 bytes ! interface GigabitEthernet2/0/29 description sct-ha1-NOC|306:drea switchport mode access switchport access vlan 12 switchport nonegotiate channel-group 5 mode on end lea# sh run int po5 Building configuration... Current configuration : 211 bytes ! interface Port-channel5 description etc-TX--ha1-342|drea switchport mode access switchport access vlan 12 switchport nonegotiate end Martin> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- -- Longina Przybyszewska, system programmer IT@Naturvidenskab IMADA, Department of Mathematics and Computer Science University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina@imada.sdu.dk -- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Again,> I have another basic problem - the machine is PE2950 - it seems that the two > NICs I want to bind together are bound in a way - only one of them can get > IP address - if both get IP - no network access to the computeryou cant bond them without configuration on cisco site! if you bond them you configure the ip on bond0! not ethx or ethy! send an ifconfig -a, route -n and some bond output. If it doesnt work without bonding and you have 2 independent nics, send ifonfig -a, route -n, can you ping your default gateway or a server in your ip range? Do you bridge something? brctl show output? Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users