Brctl manual






















The command brctl delif will detach the interface from the bridge. The command brctl show will show some information on the bridge and its attached ports. AGEING The bridge keeps track of ethernet addresses seen on each port. The command brctl addbr creates a new instance of the ethernet bridge. The network interface corresponding to the bridge will be called. The command brctl delbr deletes the instance of the ethernet bridge. The network interface corresponding to the bridge must be down before it can be deleted!


$ sudo brctl addif br0 eth0 $ sudo brctl addif br0 eth1 To remove an interface eth0 to a bridge br0: $ sudo brctl delif br0 eth0 It is worthwhile to note that a Linux bridge created by brctl is not persistent, meaning that any bridge created by brctl will automatically be destroyed upon boot. Command to display brctl manual in Linux: $ man 8 brctl. NAME. brctl - ethernet bridge administration SYNOPSIS brctl [command] DESCRIPTION brctl is used to set up, maintain, and inspect the ethernet bridge configuration in the Linux kernel. Network bridge. A bridge is a piece of software used to unite two or more network segments. A bridge behaves like a virtual network switch, working transparently (the other machines do not need to know about its existence). Any real devices (e.g. eth0) and virtual devices (e.g. tap0) can be connected to it. This article explains how to create a.


# brctl addbr br # brctl addif br eth0 # brctl addif br eth1 # brctl show bridge name bridge id STP enabled interfaces br c9f0bd2 no eth0 eth1 Once a bridge is running the brctl showmacs will show information about network addresses of traffic being forwarded (and the bridge itself). The brctl addbr bridgename command creates a logical bridge instance with the name bridgename. You will need at least one logical instance to do any bridging at all. You can interpret the logical bridge being a container for the interfaces taking part in the bridging. The command brctl addbr creates a new instance of the ethernet bridge. The network interface corresponding to the bridge will be called. The command brctl delbr deletes the instance of the ethernet bridge. The network interface corresponding to the bridge must be down before it can be deleted!.

0コメント

  • 1000 / 1000