ユーザ用ツール

サイト用ツール


サイドバー

centos:コマンド:ifconfig

ifconifg

デフォルトではインストールされていない。net-toolsをインストール。

# yum install net-tools
 
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.17.0.2  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:ac:11:00:02  txqueuelen 0  (Ethernet)
        RX packets 6237  bytes 9081739 (8.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3887  bytes 215111 (210.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
#新しいコマンド
$ ip addr show
centos/コマンド/ifconfig.txt · 最終更新: 2020/06/23 21:58 by ips