RTNETLINK错误答案:文件存在


17

在12.04上,使用两个适配器在VirtualBox中作为来宾运行时,出现此错误是为了响应 ifup eth1

RTNETLINK answers: File exists
Failed to bring up eth1

这是内容 /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# Host-only interface
auto eth1
iface eth1 inet static
        address         192.168.56.20
        netmask         255.255.255.0
        network         192.168.56.0
        broadcast       192.168.56.255
        gateway         192.168.56.1

# NAT interface
auto eth2
iface eth2 inet dhcp

请参阅此问题,以了解有关为何以这种方式配置它的更多信息。
在VirtualBox中,如何设置可以访问Internet的仅主机虚拟机?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.