首页 > 系统相关 >Centos 无法获取IP-- No suitable device found for this connection device lo not available because

Centos 无法获取IP-- No suitable device found for this connection device lo not available because

时间:2022-09-25 11:55:07浏览次数:54  
标签:available 00 because forever lft ff device brd

报错信息如下:

No suitable device found for this connection (device lo not available because device is strictly unmanaged).

执行systemctl restart network错误信息如下:

Starting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

2. 解决方法

执行下列命令

chkconfig NetworkManager off
service NetworkManager stop
chkconfig network on
service network start

3. 确认排除故障

[root@localhost ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:0c:29:87:79:2b brd ff:ff:ff:ff:ff:ff
    inet 192.168.48.222/24 brd 192.168.48.255 scope global ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe87:792b/64 scope link
       valid_lft forever preferred_lft forever
3: ens37: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:0c:29:87:79:35 brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:a8:60:cc brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:a8:60:cc brd ff:ff:ff:ff:ff:ff
[root@localhost ~]#

标签:available,00,because,forever,lft,ff,device,brd
From: https://www.cnblogs.com/jerry-0910/p/16727577.html

相关文章