Networking

The following features, enhancements, and changes related to networking are introduced in this Oracle Linux 9 release.

nmstate Includes a priority Bond Property

With this update, the users of the nmstate framework can set priority of bond ports through the priority property in the ports-config section of their configuration file. An example YAML file can look like as follows:

---
interfaces:
- name: bond99
  type: bond
  state: up
  link-aggregation:
    mode: active-backup
    ports-config:
    - name: eth2
      **priority: 15**

When some active port within the bonded interface is down, the Oracle Linux kernel has to re-elect the next active port that has the highest numerical value in the priority property, from the pool of all backup ports.

The priority property is relevant for the following modes of the bond interface:

  • active-backup

  • balance-tlb

  • balance-alb

nmstate Attributes Available for VLAN Interfaces

The nmstate framework is updated to introduce new VLAN configuration attributes:

  • registration-protocol: VLAN Registration Protocol. Values can be set to:
    • gvrp (GARP VLAN Registration Protocol)
    • mvrp (Multiple VLAN Registration Protocol)
    • none

    reorder-headers: a Boolean attribute to control whether output packet headers are reordered.

  • loose-binding: a Boolean attribute to control loose binding of the interface to the operating state of its primary device.

A configuration entry might look similar to the following:

---
interfaces:
  - name: eth1.101
    type: vlan
    state: up
    vlan:
      base-iface: eth1
      id: 101
      registration-protocol: mvrp
      loose-binding: true
      reorder-headers: true

nmstate Can Configure MACsec Interfaces

The nmstate framework is updated so that you can configure MACsec interfaces to protect their communication on Layer 2 of the Open Systems Interconnection (OSI) model, removing any requirement to encrypt individual services later on Layer 7.