# Pre-Start Audit Plan - Hostnames and IP Addresses

**Date:** 2025-01-20  
**Purpose:** Comprehensive audit and fix of hostnames and IP addresses before starting VMs

---

## Tasks

### 1. Hostname Migration
- **pve** (192.168.11.11) → **r630-01**
- **pve2** (192.168.11.12) → **r630-02**

### 2. IP Address Audit
- Check all VMs/containers across all Proxmox hosts
- Verify no IP conflicts
- Verify no invalid IPs (network/broadcast addresses)
- Document all IP assignments

### 3. Consistency Check
- Verify IPs match documentation
- Check for inconsistencies between hosts
- Ensure all static IPs are properly configured

---

## Scripts Available

1. **`scripts/comprehensive-ip-audit.sh`** - Audits all IPs for conflicts
2. **`scripts/migrate-hostnames-proxmox.sh`** - Migrates hostnames properly

---

## Execution Order

1. **Run IP Audit First**
   ```bash
   ./scripts/comprehensive-ip-audit.sh
   ```

2. **Fix any IP conflicts found**

3. **Migrate Hostnames**
   ```bash
   ./scripts/migrate-hostnames-proxmox.sh
   ```

4. **Re-run IP Audit to verify**

5. **Start VMs**

---

## Current Known IPs (from VMID_IP_ADDRESS_LIST.md)

### Validators (1000-1004)
- 192.168.11.100-104

### Sentries (1500-1503)
- 192.168.11.150-153

### RPC Nodes
- 192.168.11.240-242 (ThirdWeb)
- 192.168.11.250-252 (Public RPC)
- 192.168.11.201-204 (Named RPC)

### DBIS Core
- 192.168.11.105-106 (PostgreSQL)
- 192.168.11.120 (Redis)
- 192.168.11.130 (Frontend)
- 192.168.11.155-156 (API)

### Other Services
- 192.168.11.60-63 (ML nodes)
- 192.168.11.64 (Indy)
- 192.168.11.80 (Cacti)
- 192.168.11.112 (Fabric)

---

**Status:** Ready to execute
