Debian 静态网络配置

allow-hotplug enp6s0
iface enp6s0 inet static
    address 192.168.2.30/24
    gateway 192.168.2.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 202.102.152.3 202.102.154.3

 

posted @ 2018-08-04 09:26  Sunky  阅读(239)  评论(0)    收藏  举报