IFCFG-BRIDGE(5)

๐Ÿ“ฆ version 0.6.80, in opensuse-leap 16.0

๐ŸŽ€ 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 a fake bridge referring to the parent bridge with implicit VLAN on the ports of the parent bridge.
  • OVS_BRIDGE_VLAN_TAG <vlan tag> โ€” the 802.1Q VLAN tag or ID used to filter traffic for the fake bridge on ports of the parent 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. with ovs-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 by libvirt, 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 (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 by wicked, September 2015, filed under IFCFG-BRIDGE(5). Byeee ๐ŸŽ€
๐Ÿ“ฆ where this page comes from