【发布时间】:2014-04-11 18:09:21
【问题描述】:
我想为我的 debian 设置一个静态 ip:192.168.249.5
这是我的接口文件:/etc/network/interfaces
auto eth0
iface eth0 inet static
adress 192.168.249.5
netmask 255.255.255.0
gateway 192.168.152.255
dns-nameservers 192.168.249.5
当我这样做时:
/etc/init.d/networking stop
/etc/init.d/networking start
我有: 配置网络接口...似乎没有 eth0/inet 的所有变量。 启动 eth0 失败。
我不明白。
【问题讨论】: