小编ste*_*ven的帖子

RTNETLINK 回答:文件存在...可能是因为分配了新的 mac 地址

我在“ifup eth0:1”上收到“RTNETLINK 答案:文件存在无法启动 eth0:1”。

我怀疑这是因为我在 VM 的网络适配器中分配了一个新的 mac 地址。

你能告诉我如何解决这个问题吗?

我的配置是这样的:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
    address 192.168.1.80
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1

# Alias being connected to 192.168.10.x Network
auto eth0:1
allow-hotplug eth0:1
iface eth0:1 inet static
    address 192.168.10.83
    netmask 255.255.255.0
    gateway 192.168.10.10
    dns-nameservers 192.168.10.1
Run Code Online (Sandbox Code Playgroud)

为什么我会突然收到“RTNETLINK 答案:文件存在..”?我之前使用过这个配置没有问题。我过去所做的只是更新适配器 mac 地址。

目前我已连接到 192.168.10.x 网络,如果连接

/etc/init.d/networking stop
/etc/init.d/networking start
Run Code Online (Sandbox Code Playgroud)

然后我得到了“RTNETLINK [...] 无法启动 …

linux vmware-player debian-wheezy

5
推荐指数
2
解决办法
3万
查看次数

标签 统计

debian-wheezy ×1

linux ×1

vmware-player ×1