Skip to content

Network Inventory

Quick-reference: Tailscale IP ↔ LAN IP ↔ hostname ↔ role ↔ services.

Purpose: Khi debug issue, nhìn IP → biết ngay machine nào, service nào. Source: Mikrotik DHCP leases + Tailscale status + Komodo TOML (2026-05-18)

Network Topology

graph TD
    INET["Internet (PPPoE: 1.53.233.206)"]
    INET --> MK["Mikrotik CHR
192.168.100.1 / 10.10.4.1"] MK -->|ether2-home| HOME["10.10.4.0/24
VLAN: Home - IoT/Client devices"] MK -->|ether3-lab| LAB["192.168.100.0/24
LAN: Servers/Infra"] MK -->|wg-server| WG["10.10.10.0/24 (WireGuard)"] MK --> PVE subgraph PVE["PVE (Proxmox VE)"] UNR["unraid (192.168.100.59)
→ 100.68.251.84"] DEV["development (192.168.100.31)
→ 100.126.172.96"] MKCHR["Mikrotik CHR (192.168.100.1)"] end

Infrastructure Servers (LAN: 192.168.100.x)

Hostname LAN IP Tailscale IP Hardware OS Role
mikrotik 192.168.100.1 / 10.10.4.1 100.104.232.25 (vpn-exit) Lenovo M910X (ESXi VM) RouterOS v7 (CHR) Router/Gateway/Firewall
pve 100.114.144.55 Lenovo M910X Proxmox VE Hypervisor
unraid 192.168.100.59 100.68.251.84 Lenovo M910X (ESXi VM) Unraid 7.x NAS + main app server
development 192.168.100.31 100.126.172.96 Lenovo M910X (ESXi VM) Ubuntu Dev/DB/LLM server

Client Devices (Home VLAN: 10.10.4.x)

Hostname LAN IP Comment
Mac (M4) 10.10.4.82 Laptop
Mac (M2) 10.10.4.232 Laptop (Tailscale: 100.80.90.126)
iPhone 15 10.10.4.194 LamVien's iPhone
Xiaomi 12T 10.10.4.222 Phone
Huawei BTKR-W09 10.10.4.97 Tablet
Note10 10.10.4.56 Phone
PS5 10.10.4.95 PlayStation
LG TV 10.10.4.101 Smart TV (webOS)
Apple TV tvOS (Tailscale: 100.105.231.36)
HP Printer 10.10.4.83 Máy in HP OfficeJet
Phong-khach 10.10.4.59 Smart home device
EZVIZ Camera 10.10.4.249 Camera H6
Xiaomi Gateway 10.10.4.105 cgllc-gateway-s1
Aqara Hub M1S 10.10.4.107 Smart home hub
Xiaomi Camera 10.10.4.106 chuangmi_camera
LG Soundbar 10.10.4.202 LG SN Series
ESP Device 10.10.4.91 ESP-62C05A
MiWiFi Repeater 10.10.4.109 RA81

Tailscale Network

Device Tailscale IP LAN IP Status
development 100.126.172.96 192.168.100.31 active
unraid 100.68.251.84 192.168.100.59 active
pve 100.114.144.55 connected
vpn-exit (Mikrotik) 100.104.232.25 192.168.100.1 exit node
m2 (Mac) 100.80.90.126 10.10.4.232 active
m4 (Mac) 100.122.51.16 10.10.4.82 idle
apple-tv 100.105.231.36 connected
12t (Xiaomi) 100.104.232.25
ss-note 100.127.138.41
t620 100.109.121.124 exit node

Komodo Periphery Ports

Server Periphery Komodo Core
unraid 100.68.251.84:8120
development 100.126.172.96:8120 100.126.172.96:9120

Key Service Ports (by Server)

unraid (192.168.100.59 / 100.68.251.84)

Service Port Category
Unraid GUI (nginx) 80, 443 system
Gitea 3005 applications
Grafana 3002 monitoring
Immich 2283 applications
Jellyfin 8096 applications
LiteLLM 4001 llm
OpenSearch 9200 database
Meilisearch 7700 database
AdGuard Home 3000 networking
Airflow 8080 orchestration
ROMM 8087 storage
Mimir 9009 monitoring
Loki 3100 monitoring
Tempo 4328 monitoring
OTEL Collector 4318 monitoring
Homepage 8088 applications
Uptime Kuma 3001 monitoring

development (192.168.100.31 / 100.126.172.96)

Service Port Category
Komodo Core 9120 orchestration
Ntfy 9282 applications
ClickHouse 8123 database
Memgraph 7687 database
Redpanda 9092 storage
LightRAG llm
Crawl4AI applications
Koodo applications
Promtail monitoring
Vector networking
pmacct networking

Service → Server Mapping

unraid stacks

applications:  immich, gitea, jellyfin, emby, homepage, protonmail, aria2, delphitools, homeassistant, linkding, searxng, vaultwarden, zalo-tg
database:      pigsty, postgres, postgresus, mariadb, redis, opensearch, meilisearch, qdrant, iceberg
development:   bigquery-emulator, agentmemory
llm:           litellm, 9router, odysseus, qmd
monitoring:    grafana, mimir-loki-tempo, otel-collector, uptime-kuma
networking:    adguard-home, caddy, gluetun, cloudflared-unraid, mosquitto
orchestration: airflow
storage:       romm

development stacks

applications:  ntfy, crawl4ai, koodo
database:      clickhouse, memgraph
development:   komodo, rosetta
llm:           usage-plan-mcp
monitoring:    promtail-dev, otel-collector
networking:    adguard-replica, adguard-sync, pmacct, vector
storage:       redpanda

Debug Decision Flow

graph TD
    S1["1. Issue trên stack X
→ grep 'server = ' komodo/stacks/{category}/{X}.toml
→ biết target server (unraid / development)"] S2["2. Mình đang ở máy nào?
→ hostname → development / unraid / ...
→ ip addr | grep 192.168.100
→ tailscale ip -1"] S1 --> S2 S2 --> S3{"3. So sánh current vs target"} S3 -->|SAME machine| LOCAL["act LOCAL:
docker logs, docker compose, etc"] S3 -->|DIFF machine| REMOTE["act REMOTE:
km CLI, SSH, or Mikrotik API"]

Local Actions (same machine)

docker compose -f /opt/appdata/{service}/docker-compose.yml logs -f
docker ps | grep {service}
journalctl -u {service}
# Volume/data check
ls -la /mnt/user/appdata/{service}/     # unraid
ls -la /opt/appdata/{service}/          # development

Remote Actions (different machine)

# Komodo CLI (preferred — works from anywhere)
km-logs -S {stack-name}
km server-stats {server-name}
km deploy stack {stack-name}

# SSH (when need shell access)
ssh root@192.168.100.59    # unraid
ssh lucndm@192.168.100.31  # development

# SSH one-liner
ssh root@192.168.100.59 "docker ps | grep {service}"
ssh root@192.168.100.59 "tail -100 /mnt/user/appdata/{service}/logs/*.log"

# Mikrotik (network-level debug)
curl -sk -u "admin:minhluc1" "http://192.168.100.1/rest/ip/dhcp-server/lease"

Quick Reference: Stack → Where to Debug

Stack Server Debug From development Debug From unraid
airflow unraid km-logs -S airflow / SSH local: docker ps \| grep airflow
litellm unraid km-logs -S litellm / SSH local
grafana unraid km-logs -S grafana / SSH local
ntfy development local km-logs -S ntfy / SSH
komodo development local km-logs -S komodo / SSH
lightrag development local km-logs -S lightrag / SSH
crawl4ai development local km-logs -S crawl4ai / SSH

IP → Hostname Quick Lookup

192.168.100.1      → mikrotik (router/gateway)
192.168.100.59     → unraid server
192.168.100.31    → development server
192.168.100.10     → caddy (macvlan)
192.168.100.229    → adguard replica (macvlan)
192.168.100.250    → macvlan shim (unraid→caddy)
100.68.251.84    → unraid (tailscale)
100.126.172.96   → development (tailscale)
100.114.144.55   → pve (tailscale)
100.104.232.25   → mikrotik vpn-exit (tailscale)

VLAN Layout

VLAN Subnet Interface Purpose
Home 10.10.4.0/24 ether2-home Client devices, IoT, phones, TVs
Lab 192.168.100.0/24 ether3-lab Servers, infrastructure, VMs
WG 10.10.10.0/24 wg-server WireGuard VPN clients

Notes

  • Tailscale MagicDNS: unraid.tail1137c.ts.net, development.tail1137c.ts.net
  • All traffic encrypted via WireGuard (Tailscale)
  • Unraid nginx binds 80/443 trên Tailscale IP — services dùng port khác
  • PVE is the hypervisor hosting: unraid, development, xpenology, mikrotik CHR as VMs
  • Public IP: 1.53.233.206 (PPPoE, dynamic)