• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to remove bonding Network configuration in CentOS/RHEL

by admin

Question: How to change bonding Network configuration to simple network configuration?

The high level steps are:

  • stop the bonding interface.
  • change the network configuration from the bonding to simple network interface.
  • then start the simple network interface.

For example, if the bonding interface is: bond0, and it is bonded with eth0 and eth1. And you want to bring up the eth0.

1. Stop the network service. Before stopping the network service make sure you have console connection to the server:

# service network stop

2. Edit the network configuration:

# cd /etc/sysconfig/network-scripts
mv ifcfg-bond0 bk.ifcfg-bond0       ### change bond0 name
mv ifcfg-eth1 bk.ifcfg-eth1         ### eth1 name

3. Edit the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0, for example:

from:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
HOTPLUG=no
IPV6INIT=no

to

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
HOTPLUG=no
IPV6INIT=no
IPADDR=192.168.xx.15 ==>you will get these information from the above ifcfg-bond0.bk file.
NETMASK=255.255.255.0
GATEWAY=192.168.xx.1
NETWORK=192.168.xx.0
BROADCAST=192.168.xx.255

3. Start the eth0 interface:

# ifup eth0

Filed Under: CentOS/RHEL, CentOS/RHEL 6, Linux

Some more articles you might also be interested in …

  1. perf: command not found
  2. “imuxsock lost # messages from pid # due to rate-limiting” – rsyslog rate-limiting in Linux
  3. How to allow only specific non-root user(s) to use crontab
  4. How to Test Port [TCP/UDP] Connectivity from a Linux Server
  5. chcon command examples in Linux
  6. How to Restrict su Access to a User Only by PAM in Linux
  7. eject: command not found
  8. featureCounts: command not found
  9. How to Disable rpc.quotad Service in CentOS/RHEL
  10. How to use ‘yum’ to connect ULN on CentOS/RHEL/OEL 6

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright