mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
638 B
Plaintext
30 lines
638 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# brctl
|
|
|
|
> Ethernet bridge administration.
|
|
> More information: <https://manned.org/brctl>.
|
|
|
|
- Show a list with information about currently existing Ethernet bridges:
|
|
|
|
`sudo brctl show`
|
|
|
|
- Create a new Ethernet bridge interface:
|
|
|
|
`sudo brctl add {{bridge_name}}`
|
|
|
|
- Delete an existing Ethernet bridge interface:
|
|
|
|
`sudo brctl del {{bridge_name}}`
|
|
|
|
- Add an interface to an existing bridge:
|
|
|
|
`sudo brctl addif {{bridge_name}} {{interface_name}}`
|
|
|
|
- Remove an interface from an existing bridge:
|
|
|
|
`sudo brctl delif {{bridge_name}} {{interface_name}}`
|