Editing Brctl

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<code>brctl</code><ref>https://linux.die.net/man/8/brctl</ref> commands allows ethernet bridge administration in [[Linux]]. It is included in <code>[[bridge-utils]]</code> package in Ubuntu.
 
<code>brctl</code><ref>https://linux.die.net/man/8/brctl</ref> commands allows ethernet bridge administration in [[Linux]]. It is included in <code>[[bridge-utils]]</code> package in Ubuntu.
  
 
* <code>[[brctl addif]]</code>
 
  
  
Line 20: Line 18:
 
  virbr0 8000.525400a300b0 yes virbr0-nic
 
  virbr0 8000.525400a300b0 yes virbr0-nic
 
  virbr1 8000.525400999cef yes virbr1-nic
 
  virbr1 8000.525400999cef yes virbr1-nic
 
+
<pre>
 
brctl
 
Usage: brctl [commands]
 
commands:
 
addbr    <bridge> add bridge
 
delbr    <bridge> delete bridge
 
addif    <bridge> <device> add interface to bridge
 
delif    <bridge> <device> delete interface from bridge
 
hairpin  <bridge> <port> {on|off} turn hairpin on/off
 
setageing <bridge> <time> set ageing time
 
setbridgeprio <bridge> <prio> set bridge priority
 
setfd    <bridge> <time> set bridge forward delay
 
sethello  <bridge> <time> set hello time
 
setmaxage <bridge> <time> set max message age
 
setpathcost <bridge> <port> <cost> set path cost
 
setportprio <bridge> <port> <prio> set port priority
 
show      [ <bridge> ] show a list of bridges
 
showmacs  <bridge> show a list of mac addrs
 
showstp  <bridge> show bridge stp info
 
stp      <bridge> {on|off} turn stp on/off
 
</pre>
 
  
 
== Related commands ==
 
== Related commands ==
Line 47: Line 24:
 
* <code>[[virsh net-edit]]</code>
 
* <code>[[virsh net-edit]]</code>
 
* [[virbr]], [[ens]]
 
* [[virbr]], [[ens]]
* [[MacVTap]] virtualized bridged networking
 
* [[Multipass releases|Multipass]] bridged support
 
  
 
== See also ==
 
== See also ==
* {{brctl}}
 
 
* [[KVM]]: <code>[[virsh net-list]]</code>
 
* [[KVM]]: <code>[[virsh net-list]]</code>
 
* {{STP}}
 
* {{STP}}
* {{Bridge}}
+
 
* {{Ethernet}}
 
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: