Advanced·Troubleshoot the network
ip: Query address and routing
Syntax
ip addr | ip routeOptions
addr / a / address- Address information
route / r- routing table
Examples
ip addrUsage and sandbox support
The teaching address uses the document to reserve the network segment and does not read the real computer configuration.
Hands-on exercises
- Find out machine addressAdvanced
- Where does the traffic go out?Advanced
Related commands
ssView sockets and listening portspingCheck host connectivitydigQuery DNS recordsnslookupQuery host addresscurlRequest URL or download contentwgetDownload filesshLog in to the remote machinescpCopy files via SSHhostQuery DNStracerouteProbing network routestracepathDetection path and MTUmtrContinuously observe routing and packet lossncTest connection or listening portsocatConnect data streams to socketstcpdumpCapture network packetsnmapDetect authorized host portethtoolQuery network interface informationnmcliManage NetworkManager connectionssftpTransfer files interactively through SSHssh-keygenGenerate SSH keyssh-copy-idInstall the SSH public keyopensslCheck TLS with certificate