CodeForWar

Notes of a Software Craftsman

Omarchy Ethernet Config

March 17, 2026 | Categories: linux devops

Ethernet Port Management on Omarchy (Arch Linux)

Current Setup

This system uses systemd-networkd for network management.

Managing Ethernet Ports

1. Static IP

Current configuration in /etc/systemd/network/20-ethernet.network:

[Match]
Name=enp194s0f3u2u1

[Network]
Address=10.0.1.110/24
Gateway=10.0.1.1
DNS=8.8.8.8

[DHCPv4]
RouteMetric=100

2. Switch to DHCP

Replace the static Address=, Gateway=, and DNS= entries under [Network] with:

[Network]
DHCP=yes

3. Add Another Ethernet Port

Create a new .network file (e.g., 21-ethernet2.network) matching the interface name:

[Match]
Name=enXXX

[Network]
DHCP=yes

4. View and Control Interfaces

Use networkctl commands:

CommandDescription
networkctl list See all interfaces
networkctl status enp194s0f3u2u1 Detailed status for an interface
networkctl reload Reload configs after editing `.network` files
networkctl reconfigure enp194s0f3u2u1 Re-apply config for an interface

5. Temporary (Non-Persistent) Changes

Use ip commands for quick tweaks that won't survive a reboot:

ip addr add 10.0.1.111/24 dev enp194s0f3u2u1
ip addr del 10.0.1.111/24 dev enp194s0f3u2u1
ip route add default via 10.0.1.1

Note on Framework USB-C Dock

The interface name enp194s0f3u2u1 is tied to the specific USB port/hub path. Plugging the dock into a different USB-C port will generate a different interface name. To cover all wired connections with a single config, match more broadly:

[Match]
Name=en*



Leave a comment: