トップ 差分 一覧 ping ソース 検索 ヘルプ PDF RSS ログイン

Ubuntu 静的IPアドレス指定



目次



記事一覧

キーワード

Ubuntu 静的IPアドレス指定

[Ubuntu]

  • sudo vi /etc/network/interfaces

編集前

auto lo
iface lo inet loopback

編集後

auto enp6s0
iface enp6s0 inet static
address 192.168.0.14
netmask 255.255.255.0
broadcast 192.168.0.255
geteway 192.168.0.1
dns-nameserver 192.168.0.1

設定の反映

$sudo systemctl restart networking.service



YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto

Copyright© 矢木 浩人 All Rights Reserved.