1. 程式人生 > >Debian 靜態網絡配置

Debian 靜態網絡配置

pre add 配置 server con bsp options debian 2.3

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

Debian 靜態網絡配置