[Linux] NET-TOOL 설치하기

728x90

NET_TOOL

네트워크 관련해서 확인을 하기 위해, arp 명령어를 쳤는데,, 이게 무슨 일이람

[root@k8s-worker05 ~]# arp -n
-bash: arp: command not found

 

이렇게 간혹가다 CentOS 가 최소 설치가 되어있거나 어떠한 이유로든

ifconfig, arp 등의 네트워크 관련된 tool 이 없는 경우

net-tool 설치가 필요하다.

[root@k8s-worker05 ~]# yum install arp
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: ftp.jaist.ac.jp
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
No package arp available.
Error: Nothing to do
[root@k8s-worker05 ~]# yum install net-tools
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: ftp.jaist.ac.jp
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================
 Package                       Arch                       Version                       Repository                       Size
================================================================================================================================================================
Installing:
 net-tools                    x86_64                2.0-0.25.20131004git.el7            base                       306 k

Transaction Summary
================================================================================================================================================================
Install  1 Package

Total download size: 306 k
Installed size: 917 k
Is this ok [y/d/N]: y
Downloading packages:
net-tools-2.0-0.25.20131004git.el7.x86_64.rpm                                                                                                                         | 306 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : net-tools-2.0-0.25.20131004git.el7.x86_64                                                                                    1/1
  Verifying  : net-tools-2.0-0.25.20131004git.el7.x86_64                                                                                   1/1

Installed:
  net-tools.x86_64 0:2.0-0.25.20131004git.el7

Complete!

이렇게 완성!

728x90

댓글()