Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-admin
Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-admin@g.o
From: Steve Wray <steve@...>
Subject: problem with bridging & xen
Date: Sat, 24 Sep 2005 09:19:23 +1200
Hi there,
the /etc/conf.d/net.example appears to contain some hints on setting up
bridging but it doesn't seem to work.

Yes, I have bridge-utils installed
Yes, I have bridging compiled into the kernel (not a module)

Two things;

When I set up for a bridge called 'br0' and symlink /etc/init.d/net.lo
to net.br0 and then /etc/init.d/net.br0 it works fine:

Like this:
bridge_br0="eth0"
config_eth0=( "null" )
config_br0=( "192.168.1.5/24" )
brctl_br0=( "setfd 0" "sethello 0" "stp off" )

When I set up for the xen bridge called 'xen-br0' it throws what appears
to be some sort of syntax error (I think its the '-' in the network
interface name in the /etc/conf.d/net file that it can't parse).

Like this:
bridge_xen-br0="eth0"
config_eth0=( "null" )
config_xen-br0=( "192.168.1.5/24" )
brctl_xen-br0=( "setfd 0" "sethello 0" "stp off" )

/etc/conf.d/net: line 11: bridge_xen-br0=eth0: command not found
/etc/conf.d/net: line 13: syntax error near unexpected token
`"192.168.1.5/24"'
/etc/conf.d/net: line 13: `config_xen-br0=( "192.168.1.5/24" )'
 * Starting xen-br0
 *   WARNING: You are forcing modules!
 *   Do not complain or file bugs if things start breaking
 *     /lib/rcscripts/net.modules.d/br0[@] does not exist


I am guessing that this is a python syntax thing, if so I am worried
that there is no work-around or way to quote the variable name so as to
be acceptable? Which would leave me configuring the xen bridge in some
local init script?


-- 
gentoo-admin@g.o mailing list


Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Problem with sudo
Next by thread:
Apache 1.3.33 emerge fails while making mod_rewrite
Previous by date:
RE: Problem with sudo
Next by date:
Apache 1.3.33 emerge fails while making mod_rewrite


Updated Jun 17, 2009

Summary: Archive of the gentoo-admin mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.