James B. Byrne
2011-Jan-13 16:26 UTC
[CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'
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 -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Ryan Wagoner
2011-Jan-13 16:47 UTC
[CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'
On Thu, Jan 13, 2011 at 11:26 AM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:> 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=noTo start bridge0 should be br0 /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BRIDGE=br0 /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE=br0 TYPE=Bridge Ryan
Emmett Culley
2011-Jan-13 16:58 UTC
[CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'
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.
James B. Byrne
2011-Jan-13 17:17 UTC
[CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'
On: Thu, January 13, 2011 11:58, "Emmett Culley" <emmett at webengineer.com> wrote:> > I saw something similar and it turned out the bridge-utils > package was not installed.# rpm -qi bridge-utils Name : bridge-utils Relocations: (not relocatable) Version : 1.1 Vendor: CentOS Release : 2 Build Date: Sun 07 Jan 2007 05:48:39 PM EST Install Date: Fri 21 May 2010 03:42:52 PM EDT Build Host: builder6.centos.org Group : System Environment/Base Source RPM: bridge-utils-1.1-2.src.rpm . . . -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
I get the same errors, but my bridges still work. I keep NetworkManager disabled, but nm-system-settings still parses the files. About the only difference is, I don't assign an ip addresses to the bridge, as my VM clients only use it to access the lan to obtain their own ip addresses. Is something not working?
Gordon Messmer
2011-Jan-17 18:49 UTC
[CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'
On 01/13/2011 08:26 AM, James B. Byrne wrote:> Can anyone tell me why I am seeing these error message? > Specifically, why is TYPE=Bridge giving Unknown connection type > 'Bridge'?I don't believe NetworkManager supports bridges. If you want to use TYPE=Bridge, you should disable NetworkManager and use the classic "network" service instead.