35 lines
1.4 KiB
Markdown
35 lines
1.4 KiB
Markdown
|
|
# Dev VM (5700) IP change: 192.168.11.60 → 192.168.11.59
|
|||
|
|
|
|||
|
|
**Date:** 2026-02
|
|||
|
|
**Reason:** Resolve IP conflict with VMID 3000 (ML node) at 192.168.11.60.
|
|||
|
|
|
|||
|
|
## Repo changes (done)
|
|||
|
|
|
|||
|
|
- **config/ip-addresses.conf:** `IP_DEV_VM="192.168.11.59"`
|
|||
|
|
- All docs and scripts referencing Dev VM IP updated to .59.
|
|||
|
|
- NPMplus Fourth proxy script uses `IP_DEV_VM` from config → **gitea.d-bis.org**, **dev.d-bis.org**, **codespaces.d-bis.org** will forward to 192.168.11.59:3000 after you run the proxy update.
|
|||
|
|
|
|||
|
|
## On Proxmox (operator)
|
|||
|
|
|
|||
|
|
If LXC 5700 already exists and is still using 192.168.11.60, reconfigure it to use .59:
|
|||
|
|
|
|||
|
|
1. **From Proxmox host (r630-01):**
|
|||
|
|
```bash
|
|||
|
|
pct set 5700 --net0 name=eth0,bridge=vmbr0,ip=192.168.11.59/24,gw=192.168.11.1
|
|||
|
|
pct reboot 5700
|
|||
|
|
```
|
|||
|
|
2. Or edit the CT’s network inside the container (e.g. netplan or /etc/network/interfaces) and reboot.
|
|||
|
|
|
|||
|
|
3. **Update NPMplus Fourth** so proxy hosts point to the new IP:
|
|||
|
|
```bash
|
|||
|
|
NPM_PASSWORD=xxx bash scripts/nginx-proxy-manager/update-npmplus-fourth-proxy-hosts.sh
|
|||
|
|
```
|
|||
|
|
(Script reads `IP_DEV_VM` from config, so no change needed if you sourced config.)
|
|||
|
|
|
|||
|
|
4. **UDM Pro:** If you had port forward 22 → 192.168.11.60, change it to 22 → 192.168.11.59.
|
|||
|
|
|
|||
|
|
## E2E
|
|||
|
|
|
|||
|
|
- **gitea.d-bis.org**, **dev.d-bis.org**, **codespaces.d-bis.org** are included in `scripts/verify/verify-end-to-end-routing.sh`.
|
|||
|
|
- They are expected to resolve to **76.53.10.40** (Fourth NPMplus) and are tested as web (DNS, SSL, HTTPS).
|