LoginSignup
1
2

More than 5 years have passed since last update.

CentOS7におけるifconfigの代替新コマンド

Posted at

centos7では標準でifconfigが使えなくなった。

以下、ifconfigの各コマンドの新コマンドをメモする。

ifconfig



ip addr show



ifconfig eth0 192.168.33.10 netmask 255.255.255.0



ip addr add 192.168.33.10/255.255.255.0 dev eth0



route



ip route



arp



ip neighbor



それでもifconfigを使いたい場合


「net-tools」パッケージを導入する(ただし非推奨)



 #yum -y install net-tools

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2