IFCFG-BRIDGE(5)
๐ IFCFG-BRIDGE(5) โ the ifcfg-ovs-bridge page, bestie ๐
Okay so you're here because openvswitch bridges are a thing and you want your config to slay. This is the ifcfg-ovs-bridge situation. ๐
โจ NAME โจ
ifcfg-ovs-bridge โ openvswitch bridge configuration.
๐ธ SYNOPSIS ๐ธ
These config files live here:
/etc/sysconfig/network/ifcfg-*
๐ CONFIGURATION ๐
To set up an ovs bridge interface, you need a config file ifcfg-<interface-name> with the usual network settings. But bestie, you must add extra variables:
OVS_BRIDGE<yes|no>โ this one must be set to'yes'to identify this interface as an ovs bridge interface.OVS_BRIDGE_PORT_DEVICE[suffix]<port device name>โ this suffix variable contains the names of port devices to enslave into the bridge; each port suffix has to be a unique keyword, e.g._1.._N.OVS_BRIDGE_VLAN_PARENT<parent device name>โ permits to create afake bridgereferring to theparent bridgewith implicit VLAN on the ports of theparent bridge.OVS_BRIDGE_VLAN_TAG<vlan tag>โ the 802.1Q VLAN tag or ID used to filter traffic for thefake bridgeon ports of theparent bridge.
๐งช EXAMPLE ๐งช
Minimal example for a ovs bridge interface on eth2 and eth3, bridge interface itself configured via dhcp:
ifcfg-ovsbr0
STARTMODE='nfsroot'
BOOTPROTO='dhcp'
OVS_BRIDGE='yes'
OVS_BRIDGE_PORT_DEVICE_2='eth2'
OVS_BRIDGE_PORT_DEVICE_3='eth3'
Note:STARTMODE='nfsroot'ยฎe.g. withovs-vsctl. This start mode prevents the bridge from being teared down at system shutdown, which would cause all configuration saved in the openvswitch data base to be lost after rebooting the system. If no such local configuration is made, e.g. because the bridge is only used for ports being dynamically added bylibvirt, other start modes can be used as well.
๐ ADDITIONAL INFORMATION ๐
For additional and more general information, have a look into documentation provided at <http://openvswitch.org/>.
๐ COPYRIGHT ๐
Copyright (C) 2012 SUSE Linux GmbH, Nuernberg, Germany.
That's the legal bit, bestie. Respect it. ๐ซถ
๐ BUGS ๐
Please report bugs as described at <https://bugs.opensuse.org>.
Don't suffer in silence, okay? The bugs page is literally right there. ๐ฆ
๐ซถ AUTHOR ๐ซถ
Marius Tomaschewski
Wrote this one. Iconic behavior. โจ
๐ SEE ALSO ๐
Go peek at ifcfg(5), wicked(8), ovs-vsctl(8).
๐ That's the whole page, brought to you bywicked, September 2015, filed underIFCFG-BRIDGE(5). Byeee ๐
๐ฆ where this page comes from
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms