본문 바로가기

Linux

[Linux] 리눅스 IP , Gateway, Port 확인

728x90

ip확인

ifconfig

* ifconfig명령어 확인 안될 시 ip addr
또는 yum install net-tools 패키지 설치 후 ifconfig 재시도

gateway확인

ip route

활성화된 port확인

netstat -an | grep LISTEN