Network

Router, switch, VLANs, Wi-Fi and DNS. Mostly Edda’s.

Incident

pve-2 keeps losing its network link

Three times in ten hours pve-2 dropped off the network for a few seconds and left the cluster. Power saving on its network card is the likeliest cause.

Monitoring Minor

Post

The VLAN weekend

The servers stay on VLAN 10, and phones, laptops and the TV moved to VLAN 20. From there only Jellyfin and DNS are reachable.

2 min

A network diagram: modem to opnsense, opnsense to the switch over VLAN 10 and 20, and the switch to pve-1 to pve-3, the NAS and the Wi-Fi.

TIL

ip -br a fits every interface on one screen

ip -br a prints one line per interface: name, state and addresses. On a Proxmox node with a bridge and a tap device per guest, plain ip a fills three screens.

$ ip -br a
lo               UNKNOWN        127.0.0.1/8 ::1/128
enp1s0           UP
vmbr0            UP             10.0.10.11/24
tap101i0         UNKNOWN
fwbr101i0        UP

ip -c -br a adds colour, so a DOWN stands out in red.

Incident

The house had no DNS for 98 minutes

A power cut of three seconds rebooted the Pi that answers DNS, and its SD card came back read-only. Every device in the house depended on it.

Resolved Critical

Post

A Raspberry Pi that only does DNS

DNS for the house moved off the cluster onto a Raspberry Pi with Unbound. An update in the rack no longer takes the internet away from everyone downstairs.

1 min

A single-board computer with a label that reads pi-dns.
Buy Logbuch