まず以下のファイルを編集 sudo vi /etc/network/interfaces eth0を例に auto eth0 iface eth0 inet dhcp ↑を↓に書き換える auto eth0 iface eth0 inet static address 192.168.1.123(自分のアドレス) netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1(デフォルトゲートウェイ) ネットワークの再起動 sudo /etc/init.d/networking restart Linuxシステム[実践]入門 (Software Design plus) 作者: 沓名亮典出版社/メーカー: 技術評論社発売日: 2013/08/20メディア: Kindle版この商品を含
![UbuntuでDHCPじゃなくIPアドレス固定にする場合 - 偏差値40からのLinux](https://cdn-ak-scissors.b.st-hatena.com/image/square/6fc8d14cd76b98ae00b98129f166e4a18bd63071/height=288;version=1;width=512/http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F514HvFEtsIL.jpg)