2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

LinuxでIPアドレスを追加する

Posted at

Linuxでネットワーク関連の設定をした際のメモです。

IPアドレスを表示する

 ip addr show

IPアドレスを追加する

永続化されず、一時的に追加することが出来ます。
OS再起動すると勝手に消えちゃいます。

ip addr add 192.168.2.10/24 dev eth0

IPアドレスを削除する

 ip addr del 192.168.2.10/24 dev eth0
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?