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
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
|
|