Set static IPs in PVE LXCs and configure local DNS in Adguard #36

Open
opened 2026-04-26 01:19:57 +00:00 by matt · 0 comments
Owner

Problem

All LXC containers on Proxmox use DHCP. After a power outage or reboot, IPs can change, breaking every service link in Dashy, Komodo, and bookmarks.

Adguard is currently at 192.168.1.86 (expected .95 — already drifted once).

Fix

Step 1 — Static IPs inside each PVE LXC

PVE web UI → select LXC → Network → edit eth0 → change DHCP to Static:

LXC IP/CIDR Gateway
actualbudget 192.168.1.209/24 192.168.1.1
beszel 192.168.1.189/24 192.168.1.1
adguard 192.168.1.86/24 192.168.1.1
audiobookshelf 192.168.1.201/24 192.168.1.1
plex 192.168.1.207/24 192.168.1.1
jellyfin 192.168.1.250/24 192.168.1.1
forgejo 192.168.1.240/24 192.168.1.1

Restart each LXC after saving. Nexus/PVE/PBS are physical — set via /etc/netplan/.

Step 2 — DNS rewrites in Adguard Home (192.168.1.86)

Filters → DNS Rewrites → Add rewrite:

Hostname IP
nexus.lan 192.168.1.226
pve.lan 192.168.1.227
pbs.lan 192.168.1.223
forgejo.lan 192.168.1.240
nas.lan 192.168.1.217
actualbudget.lan 192.168.1.209
beszel.lan 192.168.1.189
audiobookshelf.lan 192.168.1.201
plex.lan 192.168.1.207
jellyfin.lan 192.168.1.250
pihole.lan 192.168.1.220

Step 3 — Point router DNS at Adguard

Verizon Fios router (192.168.1.1) → DNS:

  • Primary: 192.168.1.86 (Adguard)
  • Secondary: 1.1.1.1 (internet fallback)

Step 4 (optional follow-up) — Update Dashy to use .lan hostnames

After DNS is confirmed working, open a PR to update dashy/conf.yml replacing IPs with .lan names. That work is already started on branch feature/dashy-lan-hostnames.

No git PR needed

This is all UI/config work. No compose files change.

## Problem All LXC containers on Proxmox use DHCP. After a power outage or reboot, IPs can change, breaking every service link in Dashy, Komodo, and bookmarks. Adguard is currently at 192.168.1.86 (expected .95 — already drifted once). ## Fix ### Step 1 — Static IPs inside each PVE LXC PVE web UI → select LXC → Network → edit eth0 → change DHCP to Static: | LXC | IP/CIDR | Gateway | |-----|---------|--------| | actualbudget | 192.168.1.209/24 | 192.168.1.1 | | beszel | 192.168.1.189/24 | 192.168.1.1 | | adguard | 192.168.1.86/24 | 192.168.1.1 | | audiobookshelf | 192.168.1.201/24 | 192.168.1.1 | | plex | 192.168.1.207/24 | 192.168.1.1 | | jellyfin | 192.168.1.250/24 | 192.168.1.1 | | forgejo | 192.168.1.240/24 | 192.168.1.1 | Restart each LXC after saving. Nexus/PVE/PBS are physical — set via /etc/netplan/. ### Step 2 — DNS rewrites in Adguard Home (192.168.1.86) Filters → DNS Rewrites → Add rewrite: | Hostname | IP | |----------|----| | nexus.lan | 192.168.1.226 | | pve.lan | 192.168.1.227 | | pbs.lan | 192.168.1.223 | | forgejo.lan | 192.168.1.240 | | nas.lan | 192.168.1.217 | | actualbudget.lan | 192.168.1.209 | | beszel.lan | 192.168.1.189 | | audiobookshelf.lan | 192.168.1.201 | | plex.lan | 192.168.1.207 | | jellyfin.lan | 192.168.1.250 | | pihole.lan | 192.168.1.220 | ### Step 3 — Point router DNS at Adguard Verizon Fios router (192.168.1.1) → DNS: - Primary: 192.168.1.86 (Adguard) - Secondary: 1.1.1.1 (internet fallback) ### Step 4 (optional follow-up) — Update Dashy to use .lan hostnames After DNS is confirmed working, open a PR to update dashy/conf.yml replacing IPs with .lan names. That work is already started on branch feature/dashy-lan-hostnames. ## No git PR needed This is all UI/config work. No compose files change.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
matt/homelab-docker#36
No description provided.