network-info
Gather network configuration and connectivity information including interfaces, routes, and DNS
When & Why to Use This Skill
The Network Information skill is a powerful diagnostic utility designed for Linux environments, enabling Claude to retrieve comprehensive network configuration and connectivity data. It streamlines system administration by providing instant access to interface details, routing tables, DNS settings, and active socket connections, making it an essential tool for network troubleshooting and infrastructure auditing.
Use Cases
- Connectivity Troubleshooting: Quickly diagnose why a system cannot reach external networks by analyzing routing tables and DNS resolution settings.
- Network Auditing: Automatically gather IP addresses, MAC addresses, and interface statuses for system documentation and inventory management.
- Security & Port Scanning: Identify active listening services and established TCP/UDP connections to ensure only authorized ports are open.
- Performance Monitoring: Retrieve interface statistics such as byte counts and packet errors to detect potential hardware or configuration bottlenecks.
| name | network-info |
|---|---|
| description | Gather network configuration and connectivity information including interfaces, routes, and DNS |
Network Information Skill
Use this skill to explore network configuration and connectivity on Linux systems.
Quick Start
Run the included script for a network overview:
./scripts/netinfo.sh
Manual Commands
Network Interfaces
ip addrorip a- Show all network interfaces and IP addressesip link- Show interface status (up/down)cat /sys/class/net/*/address- MAC addresses
Routing
ip route- Show routing tableip route get 8.8.8.8- Show route to a specific destination
DNS Configuration
cat /etc/resolv.conf- DNS serverscat /etc/hosts- Local host mappingssystemd-resolve --status- DNS status (systemd systems)
Active Connections
ss -tuln- Show listening TCP/UDP portsss -tupn- Show established connections with process infocat /proc/net/tcp- Raw TCP connection data
Network Statistics
ip -s link- Interface statistics (bytes, packets, errors)cat /proc/net/dev- Network device statistics
Tips
- Use
ipcommands (modern) overifconfig/netstat(deprecated) - The
-nflag prevents DNS lookups for faster output - Check
ss -tulnto see what services are listening