我的 etc/network/interfaces 文件包含:
auto eth0
iface eth0 inet dhcp
Run Code Online (Sandbox Code Playgroud)
auto、iface、inet 是什么意思
不同关键字的含义如下:
auto:应在启动时配置接口。
iface:接口
inet:接口使用 TCP/IP 网络。
这意味着应该在启动时配置接口eth0 ,并且接口名称为eth0
使用 TCP/IP 协议,可以通过 Dhcp 进行配置。
| 归档时间: |
|
| 查看次数: |
9827 次 |
| 最近记录: |