[CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'

Thu Jan 13 16:58:07 UTC 2011
Emmett Culley <emmett at webengineer.com>

On 01/13/2011 08:26 AM, James B. Byrne wrote:
> CentOS-5.5
> # uname -a
> Linux inet05.hamilton.harte-lyne.ca 2.6.18-194.32.1.el5 #1 SMP Wed
> Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> Can anyone tell me why I am seeing these error message?
> Specifically, why is TYPE=Bridge giving Unknown connection type
> 'Bridge'?
> 
> Jan 13 08:25:31 inet05 nm-system-settings: Loaded plugin ifcfg-rh:
> (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the
> NetworkManager mailing list.
> Jan 13 08:25:32 inet05 nm-system-settings:    ifcfg-rh: parsing
> /etc/sysconfig/network-scripts/ifcfg-lo ...
> Jan 13 08:25:32 inet05 nm-system-settings:    ifcfg-rh: parsing
> /etc/sysconfig/network-scripts/ifcfg-bridge0 ...
> Jan 13 08:25:32 inet05 nm-system-settings:    ifcfg-rh:     error:
> Unknown connection type 'Bridge'
> Jan 13 08:25:32 inet05 nm-system-settings:    ifcfg-rh: parsing
> /etc/sysconfig/network-scripts/ifcfg-eth0 ...
> Jan 13 08:25:32 inet05 nm-system-settings:    ifcfg-rh:     read
> connection 'System eth0'
> Jan 13 08:25:32 inet05 nm-system-settings:    ifcfg-rh: Ignoring
> connection 'System eth0' and its device because NM_CONTROLLED was
> false.
> Jan 13 08:25:32 inet05 gconfd (byrnejb-5832): Resolved address
> "xml:readwrite:/home/byrnejb/.gconf" to a writable configuration
> source at position 0
> Jan 13 08:25:34 inet05 pcscd: winscard.c:304:SCardConnect() Reader
> E-Gate 0 0 Not Found
> Jan 13 08:25:35 inet05 nm-system-settings: Adding default connection
> 'Auto eth0' for /org/freedesktop/Hal/devices/net_00_1c_c0_d2_ef_82
> 
> My script files look like this:
> 
> #bridge0
> DEVICE=bridge0
> TYPE=Bridge
> BOOTPROTO=static
> IPADDR=216.185.71.25
> NETMASK=255.255.255.0
> GATEWAY=216.185.71.1
> ONBOOT=yes
> 
> #eth0
> DEVICE=eth0
> ONBOOT=yes
> BRIDGE=bridge0
> NM_CONTROLLED=no
> 
I saw something similar and it turned out the bridge-utils package was not installed.