From Fedora Project Wiki

Description

This test case ensures that networkctl can effectively list and retrieve details of all network links available on the system.

Setup

Ensure that systemd and systemd-networkd are installed and running on your Fedora system.

How to test

  1. Open a terminal.
  2. Execute the command networkctl to list all network links.
  3. Identify a link from the list, for example "eth0".
  4. Now, execute the command networkctl status eth0 to retrieve details about the "eth0" link.

Expected Results

  1. The command networkctl returns a table that shows one row for each link on the system, listing link index, its type, operational state, and where it got its address from.
  2. The "eth0" link (or the one you selected) should be among the links listed.
  3. The networkctl status eth0 command should return detailed information about the link including its type, state, path, driver, vendor, and more.

Optional

Optionally, use networkctl to explore the state of other network links or to understand how links change state when you modify network configurations.