# Check All Addresses on Proxmox Servers ## Server IP Addresses - **ML110 (pve)**: 192.168.1.207 - **R630 (pve2)**: 192.168.1.55 ## Manual Check Commands ### On ML110 (pve) - SSH: root@192.168.1.207 ```bash # Check hostname hostname # Check all IP addresses ip addr show # Check bridges only ip link show type bridge ip addr show | grep -A 5 vmbr # Check routing ip route show ip route show default # Check physical interfaces ls -la /sys/class/net/ | grep -E "nic|eth|enp" ip link show | grep -E "^[0-9]+: (nic|eth|enp)" # Check current network config cat /etc/network/interfaces # Summary of all IPs for iface in $(ip link show | grep -oE '^[0-9]+: [^:]+' | cut -d: -f2 | grep -v lo); do IP=$(ip addr show $iface 2>/dev/null | grep "inet " | awk '{print $2}') if [ -n "$IP" ]; then echo "$iface: $IP" fi done ``` ### On R630 (pve2) - SSH: root@192.168.1.55 ```bash # Check hostname hostname # Check all IP addresses ip addr show # Check bridges only ip link show type bridge ip addr show | grep -A 5 vmbr # Check routing ip route show ip route show default # Check physical interfaces ls -la /sys/class/net/ | grep -E "nic|eth|enp" ip link show | grep -E "^[0-9]+: (nic|eth|enp)" # Check current network config cat /etc/network/interfaces # Summary of all IPs for iface in $(ip link show | grep -oE '^[0-9]+: [^:]+' | cut -d: -f2 | grep -v lo); do IP=$(ip addr show $iface 2>/dev/null | grep "inet " | awk '{print $2}') if [ -n "$IP" ]; then echo "$iface: $IP" fi done ``` ## Quick Summary Commands ### Get All IPs on ML110 ```bash ssh root@192.168.1.207 "ip addr show | grep 'inet '" ``` ### Get All IPs on R630 ```bash ssh root@192.168.1.55 "ip addr show | grep 'inet '" ``` ### Check Both Servers ```bash echo "=== ML110 (pve) - 192.168.1.207 ===" ssh root@192.168.1.207 "hostname && echo '' && ip addr show | grep -E '^[0-9]+:|inet '" echo "" echo "=== R630 (pve2) - 192.168.1.55 ===" ssh root@192.168.1.55 "hostname && echo '' && ip addr show | grep -E '^[0-9]+:|inet '" ``` ## Expected Configuration ### ML110 (pve) - 192.168.1.207 **Expected:** - vmbr0: 192.168.1.207/24 (LAN) - vmbr1: Public IP (WAN from Spectrum) - Default route via vmbr1 ### R630 (pve2) - 192.168.1.55 **Expected:** - vmbr0 (nic3): 192.168.1.55/24 (LAN) - vmbr1 (nic2): Public IP (WAN from Spectrum) - Default route via vmbr1 ## Create Address Summary Script If you want to create a script on each server: ```bash # On each server, create /root/check-addresses.sh cat > /root/check-addresses.sh << 'EOF' #!/bin/bash echo "=== Network Address Summary ===" echo "" echo "Hostname: $(hostname)" echo "" echo "All IP Addresses:" ip addr show | grep -E '^[0-9]+:|inet ' | grep -v '127.0.0.1' echo "" echo "Bridges:" ip link show type bridge 2>/dev/null | grep -oP '^\d+: \K[^:]+' | while read br; do IP=$(ip addr show $br 2>/dev/null | grep 'inet ' | awk '{print $2}' | head -1) echo " $br: ${IP:-No IP}" done echo "" echo "Physical Interfaces:" ls -d /sys/class/net/nic* /sys/class/net/eth* 2>/dev/null | xargs -n1 basename | while read iface; do STATUS=$(ip link show $iface 2>/dev/null | grep -oP 'state \K[^ ]+' || echo 'unknown') IP=$(ip addr show $iface 2>/dev/null | grep 'inet ' | awk '{print $2}' | head -1) echo " $iface: $STATUS - ${IP:-No IP}" done echo "" echo "Routing:" ip route show | head -5 EOF chmod +x /root/check-addresses.sh # Run it /root/check-addresses.sh ``` ## Network Diagram ``` 192.168.1.0/24 Network ├── Gateway: 192.168.1.1 ├── ML110 (pve): 192.168.1.207 │ ├── vmbr0 (LAN): 192.168.1.207 │ └── vmbr1 (WAN): Public IP └── R630 (pve2): 192.168.1.55 ├── vmbr0 (nic3, LAN): 192.168.1.55 └── vmbr1 (nic2, WAN): Public IP Spectrum Modem ├── Direct connection to ML110 vmbr1 └── Direct connection to R630 vmbr1 ```