From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?P=E1sztor_L=E9n=E1rd_Zolt=E1n?= Subject: Re: [Fwd: bridging problem with Xen 2.0.1] Date: Mon, 29 Nov 2004 16:02:32 +0100 Message-ID: <41AB3A08.6000807@wonderline.hu> References: <41AAFCBB.30605@wonderline.hu> <41AB1F55.1020805@hpl.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <41AB1F55.1020805@hpl.hp.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Mike Wray Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Mike Wray wrote: > Pásztor Lénárd Zoltán wrote: > >> >> >> domain0:~# brctl show >> bridge name bridge id STP enabled interfaces >> xen-br0 8000.aa0001000011 no vif4.0 >> xen-br1 8000.000000000000 no can't get >> port info: Function not implemented >> >> Why vif4.1 not in xen-br1? > > > Something must have gone wrong. What's the ouput from 'xm list -l' show? > Also is there anything in /var/log/xend.log? > xm list -l output is: (devices (vif (idx 0) (vif 0) (mac aa:00:00:00:00:11) (bridge xen-br0) (evtchn 14 4) (index 0) ) (vif (idx 1) (vif 1) (mac bb:00:00:00:00:22) (bridge xen-br1) (evtchn 15 5) (index 1) ) Seems to bee OK. xend.log has two lines associated by nic: [2004-11-29 15:47:43 xend] DEBUG (XendDomainInfo:1059) Creating vif dom=2 vif=0 mac=aa:00:00:00:00:11 [2004-11-29 15:47:43 xend] DEBUG (XendDomainInfo:1059) Creating vif dom=2 vif=1 mac=bb:00:00:00:00:22 no error messages on it. >> Let's add it manually... >> >> domain0:~# brctl addif vif4.1 xen-br1 >> can't add xen-br1 to bridge vif4.1: Operation not supported >> >> It gives error message :( What is the problem? > > > You've got the arguments round the wrong way, it should be > > brctl addif xen-br1 vif4.1 > sorry, I paste wrong the line o:) domain1: brctl addif xen-br1 vif4.1 can't add vif4.1 to bridge xen-br1: Cannot assign requested address >> - How can I define the nic name (vif) before I start a virtual machine? > > > The vif device name in domain-0 is vif.. > This is not changeable at the moment. If you need to do something with > the device, you could use the vif-bridge script to do it, or configure > another script. > It's OK for me, thx! -- Pásztor Lénárd Zoltán rendszergazda Wonderline Rt. Telefon: (+36-1) 272.0242 Fax: (+36-1) 272.0252 Honlap: www.wonderline.hu ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/