RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 840176 - Bond support not working
Summary: Bond support not working
Keywords:
Status: CLOSED DUPLICATE of bug 558983
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: NetworkManager
Version: 6.3
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dan Williams
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-14 05:23 UTC by German Pulido
Modified: 2012-07-18 16:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 08:57:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description German Pulido 2012-07-14 05:23:04 UTC
Description of problem:
The Bond/VLAN support in NetworkManager does not seem to work yet. Here is the relevant information:

Version-Release number of selected component (if applicable):
[gpulido@megatron ~]$ rpm -qa | grep NetworkManager
NetworkManager-gnome-0.8.1-33.el6.x86_64
NetworkManager-glib-0.8.1-33.el6.x86_64
NetworkManager-0.8.1-33.el6.x86_64
 [gpulido@megatron ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=megatron.cybertron.local
NM_BOND_VLAN_ENABLED=yes
[gpulido@megatron ~]$ cat /etc/sysconfig/network-scripts/ifcfg-br0 
DEVICE=br0
NM_CONTROLLED="yes"
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.0.10
PREFIX=24
GATEWAY=192.168.0.1
DNS1=8.8.8.8
DNS2=8.8.4.4
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System br0"
DELAY=0
[gpulido@megatron ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=eth0
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=00:1A:A0:61:7F:B5
TYPE=Ethernet
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
BRIDGE=br0
[gpulido@megatron ~]$ 



How reproducible:
Always

Steps to Reproduce:
1. Stop the network service (service netowrk stop)
2. Start NetworkManager (service NetworkManager start)
  
Actual results:
Networking is lost. /etc/resolv.conf is rewritten with no DNS servers on it
If I enable Networkmanager on boot and disable network service, after a reboot the machine has no networking at all.

/var/log/messages shows this: (which seems a contradiction):
...
Jul 13 23:48:52 megatron NetworkManager[2963]: <info> Bonding/VLAN support enabled
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh: Acquired D-Bus service com.redhat.ifcfgrh1
Jul 13 23:48:52 megatron NetworkManager[2963]: <info> Loaded plugin ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ...
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-br0 ...
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh:     error: Bridge connections are not yet supported
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh:     read connection 'System eth0'
Jul 13 23:48:52 megatron NetworkManager[2963]:    ifcfg-rh: Ignoring connection 'System eth0' and its device due to NM_CONTROLLED/BRIDGE/VLAN.
Jul 13 23:48:52 megatron NetworkManager[2963]: <info> WiFi enabled by radio killswitch; enabled by state file
...

if "Bonding/VLAN support enabled", why does it say "error: Bridge connections are not yet supported"?

Expected results:
NetworkManager parses the ifcfg files and enables the eth0 interface with its bond, just like network service does.

Additional info:
This is on a fully patches CentOS 6.3 server.

Comment 2 Jirka Klimes 2012-07-17 08:57:16 UTC
Bridging and bonding are not the same thing:
http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding

RHEL now supports interface bonding, bridges have not been implemented yet. Bridge support will appear upstream soon, though.

*** This bug has been marked as a duplicate of bug 558983 ***

Comment 3 German Pulido 2012-07-18 16:51:58 UTC
Thanks for the explanation. Silly me :).


Note You need to log in before you can comment on or make changes to this bug.