Questo contenuto non è disponibile nella lingua selezionata.
9.5. Ethernet Bridge Configuration Using iproute
The iproute package can be used as an alternative to the bridge-utils. It allows to set bridge port options such as
priority
, cost
or state
.
To set port options for an interface enp1s0 assigned to a bridge device, using the
ip
utility, issue the following command as root
:
ip link set enp1s0 type bridge_slave option
~]# ip link set enp1s0 type bridge_slave optionip link set enp1s0 type bridge_slave optionip link set enp1s0 type bridge_slave optionip link set enp1s0 type bridge_slave option
To select the available options, using the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
For more details on the port options, see the
ip
utility, issue the following command as root
:
ip-link(8)
man page.