F16 bridge configuration

Pavel Lisy pali at tmapy.cz
Tue Nov 8 19:33:57 UTC 2011


Digimer píše v Út 08. 11. 2011 v 10:40 -0500:
> On 11/08/2011 10:31 AM, Pavel Lisy wrote:
> > Hello
> > 
> > Is there any suggestion how to config bridge for libvirtd? I made it
> > in /etc/sysconfig/network-scripts/ before (f14), but it doesn't work
> > anymore and NetworkManager says it doesn't support bridge yet.
> > 
> > Pavel
> 
> I created a bridge and set it to NM_CONTROLLED="no";
> 
> # Bridge
> NM_CONTROLLED="no"
> DEVICE="vbr0"
> TYPE="Bridge"
> BOOTPROTO="static"
> ONBOOT="yes"
> IPADDR="10.20.30.40"
> NETMASK="255.255.0.0"
> GATEWAY="10.20.255.254"
> DNS1="10.20.0.1"
> DNS2="10.20.0.2"
> DEFROUTE="yes"
> 
> Then 'ifup vbr0'
I want have bridge without IP address (like switch only)

I have this in file /etc/sysconfig/network-scripts/ifcfg-br0:
------------------
DEVICE=br0
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
NM_CONTROLLED="no"
STP=on
DELAY=0
------------------

And how I can join it to one physical device - p37p1?

I have this in file /etc/sysconfig/network-scripts/ifcfg-p37p1:
------------------
DEVICE="p37p1"
ONBOOT=yes
NM_CONTROLLED="yes"
HWADDR=00:1D:92:32:80:0D
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System p37p1"
UUID=feed5bf5-2f88-7d33-96e3-79c6ac5d38c9
------------------
When I put this line to config network become broken
BRIDGE=br0

Any advice?

Pavel




More information about the users mailing list