• 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

brctl: command not found

by admin

Network bridging involves associating two networks that normally would not pass network traffic between them. Bridging works at OSI Layer 2 with MAC addresses. A Linux system can be configured to bridge two networks. The brctl (bridge control) command is used to configure bridging within Linux.

A common example of bridging is as follows:

  • brctl show — View the bridging configuration.
  • brctl addbr {bridge name} — Create an empty bridge.
  • brctl addif {bridge name} eth0 — Add eth0 to the bridge.
  • brctl addif {bridge name} eth1 — Add eth1 to the bridge, linking the networks connected to eth0 and eth1.

Syntax

The syntax of the brctl command is:

# brctl [command]

If you encounter the below error while running the brctl command:

brctl: command not found

you may try installing the below package as per your choice of distribution:

OS Distribution Command
Debian apt-get install bridge-utils
Ubuntu apt-get install bridge-utils
Alpine apk add bridge-utils
Arch Linux pacman -S bridge-utils
Kali Linux apt-get install bridge-utils
CentOS yum install bridge-utils
Fedora dnf install bridge-utils
Raspbian apt-get install bridge-utils

brctl Command Examples

1. Show a list with information about currently existing Ethernet bridges:

# brctl show

2. Create a new Ethernet bridge interface:

# brctl add bridge_name

3. Delete an existing Ethernet bridge interface:

# brctl del bridge_name

4. Add an interface to an existing bridge:

# brctl addif bridge_name interface_name

5. Remove an interface from an existing bridge:

# brctl delif bridge_name interface_name

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to uninstall nodejs software package in Ubuntu
  2. Difference between absolute and relative paths in Linux
  3. arp: command not found
  4. Linux OS Service ‘hplip’
  5. pacman4console: command not found
  6. from: Prints mail header lines from the current user’s mailbox
  7. smbclient: command not found
  8. aria2c: Fast download utility (Command Examples)
  9. cupsd: Server daemon for the CUPS print server
  10. qtile Command Examples in Linux

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