리눅스 네트워크 문제 해결

문제 해결 도구

도구 설명 사용법 설명
ping 네트워크 연결 테스트 ping baidu.com
traceroute 경로 추적 traceroute ip
route 라우팅 테이블 route -n
netstat 네트워크 연결 netstat -ano
nslookup DNS 해석 nslookup baidu.com
ifconfig 네트워크 구성 ifconfig
arp ARP 캐시 arp -a
nbtstat NetBIOS nbtstat -n
netsh 네트워크 구성 netsh
net 네트워크 구성 net
tcpdump 네트워크 패킷 캡처 tcpdump
wireshark 네트워크 패킷 캡처 wireshark
ip 네트워크 구성 ip addr show
ss 네트워크 연결 ss -tunlp
netstat 네트워크 연결 상태 보기 netstat -anp
tcpdump 패킷 캡처 도구 tcpdump -i eth0 -nn -s 0 -c 1000 -w /tmp/tcpdump.pcap
iptables 방화벽 iptables -L -n -v -t nat -t mangle -t filter
ss netstat 대체 도구 ss -anp
ifconfig 네트워크 인터페이스 정보 보기 ifconfig eth0
ip 네트워크 인터페이스 정보 보기 ip addr show eth0
route 라우팅 테이블 보기 route -n
traceroute 라우팅 홉 수 보기 traceroute www.baidu.com
ping 네트워크 연결 테스트 ping www.baidu.com
telnet 포트 연결 테스트 telnet www.baidu.com 80
nslookup 도메인 네임 해석 nslookup www.baidu.com
dig 도메인 네임 해석 dig www.baidu.com
arp ARP 캐시 보기 arp -a
netcat 네트워크 디버깅 도구 nc -l 1234
nmap 포트 스캔 도구 nmap -sT -p 80 www.baidu.com
mtr 네트워크 연결 테스트 도구 mtr www.baidu.com
iperf 네트워크 성능 테스트 도구 iperf -s -p 1234
iptraf 네트워크 트래픽 모니터링 도구 iptraf -i eth0
ipcalc IP 주소 계산 도구 ipcalc
iftop 네트워크 트래픽 모니터링 도구 iftop -i eth0
iostat 디스크 IO 모니터링 도구 iostat -x 1 10
vmstat 가상 메모리 모니터링 도구 vmstat 1 10
sar 시스템 성능 모니터링 도구 sar -n DEV 1 10
lsof 파일 열기 상태 보기 lsof -i:80
strace 시스템 호출 추적 strace -p 1234
tcpflow 패킷 캡처 도구 tcpflow -i eth0 -c -C -p -o /tmp/tcpflow
tcpick 패킷 캡처 도구 tcpick -i eth0 -C -p -o /tmp/tcpick
tcptrace 패킷 캡처 도구 tcptrace -i eth0 -C -p -o /tmp/tcptrace
tcpslice 패킷 캡처 도구 tcpslice -i eth0 -C -p -o /tmp/tcpslice
tcpstat 패킷 캡처 도구 tcpstat -i eth0 -C -p -o /tmp/tcpstat
tcpdump 패킷 캡처 도구 tcpdump -i eth0 -C -p -o /tmp/tcpdump
tshark 패킷 캡처 도구 tshark -i eth0 -C -p -o /tmp/tshark
wireshark 패킷 캡처 도구 wireshark -i eth0 -C -p -o /tmp/wireshark
socat 네트워크 디버깅 도구 socat -d -d TCP-LISTEN:1234,fork TCP:www.baidu.com:80
ncat 네트워크 디버깅 도구 ncat -l 1234 -c ’ncat www.baidu.com 80'
netperf 네트워크 성능 테스트 도구 netperf -H www.baidu.com -l 60 -t TCP_STREAM
netcat 네트워크 디버깅 도구 netcat -l 1234
nc 네트워크 디버깅 도구 nc -l 1234
netpipe 네트워크 성능 테스트 도구 netpipe -l 1234
netkit 네트워크 디버깅 도구 netkit -l 1234
bridge 브리지 도구 bridge -s