Skip to content

Instantly share code, notes, and snippets.

@feiandxs
Last active January 28, 2018 08:58
Show Gist options
  • Save feiandxs/8a493b42bb97df72b227cc46cbc1807b to your computer and use it in GitHub Desktop.
Save feiandxs/8a493b42bb97df72b227cc46cbc1807b to your computer and use it in GitHub Desktop.
set static ip address for ubuntu 16.04
auto enp7s0
iface enp7s0 inet static
address 10.0.208.222
netmask 255.255.240.0
gateway 10.0.208.1
dns-nameservers 10.0.208.1
#enp7s0 = name
#给 Ubuntu 16.04 系统设置静态 IP 地址
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment