본문 바로가기
CentOS and Redhat Linux/Linux 설정 및 기능

(CentOS7) 리눅스 ifconfig 설치

by 미니몬 2023. 12. 26.
728x90
반응형

Summary

이 게시물에서는 CentOS7 버전 리눅스에서 네트워크 관리 Tool을 설치하는 방법에 대해서 알아보겠습니다.

일반적으로 리눅스 서버를 사용하다 보면 네트워크 관리 명령어 중 자주 사용하는 명령어가 기본적으로 설치 안되어 있는 경우 'net-tools' 패키지가 설치되지 않은 경우 일 거예요.

[root@localhost yum.repos.d]# ifconfig -a
-bash: /usr/sbin/ifconfig: 그런 파일이나 디렉터리가 없습니다

[root@localhost yum.repos.d]# netstat -rn
-bash: /usr/bin/netstat: 그런 파일이나 디렉터리가 없습니다

[root@localhost yum.repos.d]# mii-tool -V
-bash: /usr/sbin/mii-tool: 그런 파일이나 디렉터리가 없습니다

[root@localhost yum.repos.d]# route
-bash: /usr/sbin/route: 그런 파일이나 디렉터리가 없습니다

[root@localhost yum.repos.d]# arp
-bash: /usr/sbin/arp: 그런 파일이나 디렉터리가 없습니다

ifconfig, netstat, mii-tool, route, arp 등등

IP, 인터페이스 ,라우팅 정보와 같은 네트워크 상태 정보를 조회하는 명령어가 포함되어 있습니다.

 

설치 방법

yum install -y net-tools

 

728x90
반응형