All of lore.kernel.org
 help / color / mirror / Atom feed
* gentoo cant attach bridge
@ 2011-09-12 11:43 Alexey M.
  2011-09-13  7:59 ` Flavio
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey M. @ 2011-09-12 11:43 UTC (permalink / raw)
  To: xen-devel

Hi, i configure xen 4.1.1 on gentoo and configured bridge in this system
xenbr0

brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.984be16d4aac yes vlan201

then chenged:
 /etc/xen/xend-config.sxp
(vif-script vif-bridge)
(network-script /bin/true)

cat /etc/xen/guest|grep vif

vif = [ "mac=00:16:36:6b:93:ef, bridge=xenbr0" ]

But:
xl create guest
brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.984be16d4aac yes vlan201

No any new interfaces.
In log xend:
2011-09-12 15:11:41 2373] INFO (XendNetwork:114) Not recreating missing
unmanaged network vlan121
[2011-09-12 15:11:41 2373] INFO (XendNetwork:114) Not recreating missing
unmanaged network eth0
[2011-09-12 15:11:41 2373] INFO (XendNetwork:114) Not recreating missing
unmanaged network xenbr1

I have vlan121 eth0 xenbr1, but do not use in any xen files

Please show me the right path!

-- 
B-rs,
Alexey Mamonov,
System Administratioin 
"Privat Trade" LLC Russia
www.kupivip.ruB-rs,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gentoo cant attach bridge
  2011-09-12 11:43 gentoo cant attach bridge Alexey M.
@ 2011-09-13  7:59 ` Flavio
  0 siblings, 0 replies; 2+ messages in thread
From: Flavio @ 2011-09-13  7:59 UTC (permalink / raw)
  To: xen-devel

On 12 September 2011 13:43, Alexey M. <amamonov@kupivip.ru> wrote:
> Hi, i configure xen 4.1.1 on gentoo and configured bridge in this system
> xenbr0
Hi!
I have configured the bridge xenbr0 for my gentoo too and I don't have
this problem.

>
> brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.984be16d4aac yes vlan201
You have vlan201 (?) I use eth0, but this is not so relevant I guess,
and I don't use STP.

Remember that with the new toolstack xl, the xend daemon is no longer used.
Actually, you may see that with the new version of xen-tools the
"xend" use flag has
been disabled. So, get rid of that now and configure the bridge at system level.

This is the content of my /etc/conf.d/net file, to have the bridge ON
at startup:
config_eth0="null"

bridge_xenbr0="eth0"

brctl_xenbr0=(
 "setfd 0"
 "stp off"
)

config_xenbr0=(
   "dhcp"
)

Then I've put net.xenbr0 in the default runlevel in order to have it
up automatically at boot time.

>
> then chenged:
>  /etc/xen/xend-config.sxp
> (vif-script vif-bridge)
> (network-script /bin/true)
This is no longer needed. The only bridge settings I've found is in the
/etc/xen/xl.conf file.

>
> cat /etc/xen/guest|grep vif
>
> vif = [ "mac=00:16:36:6b:93:ef, bridge=xenbr0" ]
>
> But:
> xl create guest
> brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.984be16d4aac yes vlan201
>
> No any new interfaces.
I never see new interfaces there, but the guest always started with the
network activated. Now I have other problems which I've posted to this
list yesterday,
but no replies yet :(

In any case, don't forget to migrate to the new toolstack as suggested.

Bye


-- 
Flavio

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-13  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-12 11:43 gentoo cant attach bridge Alexey M.
2011-09-13  7:59 ` Flavio

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.