在centos的网络中显示eth0没有为此连接找到合适的设备

时间:2016-06-22 16:13:08

标签: centos

网络无法加载!遇到这个问题真是太奇怪了。谁能帮帮我?

这是ifcfg-eth0 configbelow

的配置
DEVICE=eth0
TYPE=Ethernet
IPADDR=192.168.1.137
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
ONBOOT=yes
BOOTPROTO=static
HWADDR=00:0c:29:6a:e0:01
NAME=eth0

服务网络重新启动fail.log

-- Unit user-0.slice has begun shutting down.
6月 23 00:00:06 localhost.localdomain vmsvc[842]: [ warning] [vmsvc] RecordRoutingInfo: Unable to collect IPv4 routing table.
6月 23 00:00:18 localhost.localdomain polkitd[856]: Registered Authentication Agent for unix-process:4348:14650 (system bus name :1.91 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
6月 23 00:00:18 localhost.localdomain systemd[1]: Starting LSB: Bring up/down networking...
-- Subject: Unit network.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit network.service has begun starting up.
6月 23 00:00:19 localhost.localdomain network[4353]: Bringing up loopback interface:  Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
6月 23 00:00:19 localhost.localdomain network[4353]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
6月 23 00:00:19 localhost.localdomain network[4353]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
6月 23 00:00:19 localhost.localdomain network[4353]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
6月 23 00:00:19 localhost.localdomain network[4353]: [  OK  ]
6月 23 00:00:20 localhost.localdomain network[4353]: Bringing up interface eth0:  **Error: Connection activation failed: No suitable device found for this connection.**
6月 23 00:00:20 localhost.localdomain network[4353]: [FAILED]
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain network[4353]: RTNETLINK answers: File exists
6月 23 00:00:20 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
6月 23 00:00:20 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit network.service has failed.
-- 
-- The result is failed.
6月 23 00:00:20 localhost.localdomain systemd[1]: Unit network.service entered failed state.
6月 23 00:00:20 localhost.localdomain systemd[1]: network.service failed.
6月 23 00:00:20 localhost.localdomain polkitd[856]: Unregistered Authentication Agent for unix-process:4348:14650 (system bus name :1.91, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
6月 23 00:00:36 localhost.localdomain vmsvc[842]: [ warning] [vmsvc] RecordRoutingInfo: Unable to collect IPv4 routing table.
6月 23 00:01:01 localhost.localdomain kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
6月 23 00:01:01 localhost.localdomain systemd[1]: Created slice user-0.slice.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

我发现配置无法找到设备!有人告诉我为什么?非常感谢!

0 个答案:

没有答案