デフォルトではインストールされていない。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