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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ifenslave Command Examples in Linux

by admin

ifenslave is a utility for attaching and detaching slave network devices to a bonding device. Bonding is putting multiple physical Ethernet devices into a single logical one, what is often termed as Link aggregation/Trunking/Link bundling. You can attach eth0, for example, to a bonding device bond0 by:

# ifenslave bond0 eth0

The ifenslave utility belongs to the iputils package.

1. To show information of all the inerfaces:

# ifenslave -a
# ifenslave --all-interfaces 

2. To change the active slave:

# ifenslave -c bond0 eth1
# ifenslave --change-active bond0 eth1 

3. To remove the slave interface from the bonding device:

# ifenslave -d eth1
# ifenslave --detach bond0 eth1

4. To show master interface info:

# ifenslave bond0

5. To set the bond device down and automatically release all the slaves:

# ifenslave bond1 down 

6. To get the help for the ifenslave:

# ifenslave -h
# ifenslave --help 

7. To get the usage info:

# ifenslave -u
# ifenslave --usage 

8. To set to verbose mode:

# ifenslave -v
# ifenslave --verbose

9. To get the version info:

# ifenslave -V
# ifenslave --version

Filed Under: Linux

Some more articles you might also be interested in …

  1. git bundle: Package objects and references into an archive
  2. git delta: List files that differ from another branch
  3. “hg server” Command Examples
  4. RHEL / CentOS : How to shrink LVM volume
  5. dlv: Debugger for the Go programming language
  6. rtcwake Command Examples in Linux
  7. espanso: Cross-platform Text Expander written in Rust
  8. blastp: command not found
  9. How to move /var on a separate disk as a separate mount point (Online)
  10. po4a-updatepo: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright