WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] how to manage bridge externally

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] how to manage bridge externally
From: Daniele Palumbo <daniele@xxxxxxxxxxxx>
Date: Mon, 29 Jan 2007 17:53:44 +0100
Delivery-date: Mon, 29 Jan 2007 08:52:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
hi.

i have gentoo.
i have vlans.
i have all domus on eth1, and since this is only for domus i do not need peth1 
renaming and things like that.

now on:
i want my bridge script, as long as 3.0.4 is no more working.

i'll explain better:
to start xend i have to:
- start xend
- stop xend
- start net.eth1
- start xend

this is the only way to have all working.

this is my actual xen network script:
XENDIR=/etc/xen/scripts/
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1
$XENDIR/network-bridge "$@" netdev=eth1.600 bridge=xenbr1.600 vifnum=3
$XENDIR/network-bridge "$@" netdev=eth1.14 bridge=xenbr1.14 vifnum=5
[...] this continue for all my vlans.

i did something like that (forget about syntax error, i didn't made "cut and 
paste", but this is what i did):
ifconfig eth1 up
vconfig add eth1 600 [and 14, ... i'll pick 600 as an example]
ifconfig eth1.600 up
brcrl addbr xenbr1
brctl addif eth1 xenbr1
brctl xenbr1 setfd 0 
brctl xenbr1 sethello 0
brcrl addbr xenbr1.600
brctl addif eth1.600 xenbr1.600
brctl xenbr1.600 setfd 0 
brctl xenbr1.600 sethello 0

then i pass both xenbr1 and xenbr1.600 to domu.

xenbr1.600 is working correctly, xenbr1 no.
and i can't see packet passing through xenbr1 in dom0.
both vif1.0 and vif1.1 is correctly attached to the bridge, and eth1 and 
eth1.600 too.

any hint?

thanks
Daniele

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>