This section provides commands for configuring, monitoring, and troubleshooting network connections in Proxmox VE. Learn how to view network interfaces, test connectivity, configure network settings, and manage firewall rules.
Network Information
Command
Description
Action
ip a
Show network interfaces and IPs
ip r
Show routing table
ip -s link
Show traffic statistics per interface
brctl show
Show configured network bridges
cat /etc/network/interfaces
Show raw network configuration
Network Testing
Command
Description
Action
ping <host>
Check connectivity with another host
traceroute <host>
Trace route to a host
mtr <host>
Combine ping and traceroute in real-time
dig <domain>
DNS lookup for a domain
nslookup <domain>
Alternative DNS lookup
Network Configuration
Command
Description
Action
ifreload -a
Reload network configuration (ifupdown2)
ethtool <iface>
Show Ethernet device info
resolvectl status
Show DNS resolution status
nmcli device show
Show network device details (if NetworkManager is used)
ip link set <iface> up
Bring network interface up
ip link set <iface> down
Bring network interface down
Network Monitoring
Command
Description
Action
ss -tuln
Show listening ports (TCP/UDP)
netstat -tuln
Alternative to show listening ports
lsof -i
List open network files and connections
tcpdump -i <iface>
Capture packets on interface
iftop -i <iface>
Monitor bandwidth usage on interface
Firewall Management
Command
Description
Action
iptables -L -n -v
Show active firewall rules (iptables)
nft list ruleset
Show nftables rules
pve-firewall status
Check Proxmox firewall status
pve-firewall compile
Compile firewall rules for all nodes
pve-firewall reload
Reload Proxmox firewall rules
Usage Tips
Replace <host> with an IP address or hostname
Replace <iface> with your network interface name (e.g., eth0, vmbr0)
Replace <domain> with a domain name for DNS lookups
Use ip a to find the names of your network interfaces
For more detailed packet capture with tcpdump, add filters like tcpdump -i eth0 port 80 -n to capture HTTP traffic