Skip to content

Just another Linux geek

Linux, automation and open source

  • About
  • Articles
  • RSS

Just another Linux geek

Linux, automation and open source

  • About
  • Articles
  • RSS

Category: Networking

Network configuration and troubleshooting: bridges, VLANs, routing, DNS, Wi-Fi, remote access and network services.

A yellow Ethernet cable and RJ45 connector
20 October, 20223 November, 2026Linux, Networking, Open source

Making a systemd service which binds to an IP start on boot

A service that listens on a specific IP address can fail at boot if the address is not ready yet. Using memcached as an example, this post shows how to add a systemd service override that orders startup after network-online.target.

Read more
A Dell laptop dock connected to an Ethernet cable
2 November, 202128 October, 2026Linux, Networking, Open source

Automatically enable and disable WiFi based on Ethernet connection with NetworkManager

Make a Linux laptop switch automatically between WiFi and a wired connection when you plug or unplug an Ethernet cable. A NetworkManager dispatcher script disables WiFi while Ethernet is connected and enables it again when the cable is removed.

Read more
A ceiling-mounted Ubiquiti UniFi access point with a blue status light
2 October, 202131 October, 2026Hardware, Linux, Networking, Open source

Flashing OpenWRT onto Ubiquiti UniFi AP AC

Notes from installing OpenWrt on a Ubiquiti UniFi AP AC Lite using the OpenWrt flashing tools from stock firmware. The walkthrough covers the required packages, an extra library needed to run the tools, and the commands used to flash and boot the new image.

Read more
Blue and grey Ethernet cables connected to two network switches
18 July, 20213 November, 2026Linux, Networking, Open source, Virtualisation

How to create VLAN trunks and access ports for VMs on Linux bridges using NetworkManager (and have them talk)

Connect virtual machines through both VLAN trunks and access ports on a Linux host using NetworkManager. This guide explains where to create the VLAN interface so guests using tagged and untagged connections can communicate, with diagrams and commands for the bridge configuration.

Read more
A Raspberry Pi 4 Model B showing its Ethernet and USB ports
23 May, 20213 November, 2026Fedora, Linux, Networking, Open source

Auto-update Pi-hole with systemd timer

Schedule Pi-hole updates with a shell script, a systemd service and a weekly timer. This example updates two Fedora-based Pi-hole servers on different days and reboots after a successful update, so both DNS servers are not being maintained at once.

Read more
29 August, 202031 October, 2026Linux, Networking, Open source, Virtualisation

How to create bridges on bonds (with and without VLANs) using NetworkManager

Some production systems you face might make use of bonded network connections that you need to bridge in order to get VMs onto them. That bond may or may not have a native VLAN (in which case you bridge the bond), or it might have […]

Read more
27 July, 202031 October, 2026Linux, Networking, Open source, Virtualisation

How to create Linux bridges and Open vSwitch bridges with NetworkManager

My virtual infrastructure Ansible role supports connecting VMs to both Linux and Open vSwitch bridges, but they must already exist on the KVM host. Here is how to convert an existing Ethernet device into a bridge. Be careful if doing this on a remote machine […]

Read more
30 March, 202031 October, 2026Fedora, Linux, Networking, Open source

Resolving mDNS across VLANs with Avahi on OpenWRT

mDNS, or multicast DNS, is a way to discover devices on your network at .local domain without any central DNS configuration (also known as ZeroConf and Bonjour, etc). Fedora Magazine has a good article on setting it up in Fedora, which I won’t repeat here. […]

Read more
15 March, 202028 October, 2026Linux, Networking, Open source, Virtualisation

Using network namespaces with veth to NAT guests with overlapping IPs

Sets of virtual machines are connected to a virtual bridges (e.g. virbr0 and virbr1) and as they are isolated, can use the same subnet range and set of IPs. However, NATing becomes a problem because the host won’t know which VM to return the traffic […]

Read more
3 March, 202027 October, 2026Ansible, Linux, Networking, Open source, Virtualisation

Using Ansible to define and manage KVM guests and networks with YAML inventories

I wanted a way to quickly spin different VMs up and down on my KVM dev box, to help with testing things like OpenStack, Swift, Ceph and Kubernetes. Some of my requirements were as follows: Define everything in a markup language, like YAML Manage VMs […]

Read more

Posts pagination

1 2 … 5 >
© 2026 Just another Linux geek

Just another Linux geek

Linux, automation and open source

Close menu
  • About
  • Articles
  • RSS