0
点赞
收藏
分享

微信扫一扫

错误:激活连接失败:Failed to determine connection’s virtual interface name

闲嫌咸贤 2022-04-19 阅读 44

解决Centos虚拟机设置桥接后虚拟启用网卡设备报错

报错信息:
[root@localhost network-scripts]# ifup br0

[root@localhost network-scripts]# ifup eth0

解决方式:
[root@localhost network-scripts]# chkconfig NetworkManager off
[root@localhost network-scripts]# service NetworkManager stop

[root@localhost network-scripts]# ifup eth0
[root@localhost network-scripts]# ifup br0
[root@localhost ~]# ifconfig
br0 Link encap:Ethernet HWaddr 00:0C:29:EC:A6:F3
inet addr:192.168.223.10 Bcast:192.168.223.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feec:a6f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5471 (5.3 KiB) TX bytes:5328 (5.2 KiB)

eth0 Link encap:Ethernet HWaddr 00:0C:29:EC:A6:F3
inet6 addr: fe80::20c:29ff:feec:a6f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:67 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9833 (9.6 KiB) TX bytes:5726 (5.5 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:336 (336.0 b) TX bytes:336 (336.0 b)

virbr0 Link encap:Ethernet HWaddr 52:54:00:8B:DC:58
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

验证网络是否通畅:ping www.baidu.com
[root@localhost ~]# ping wwww.baidu.com
PING ps_other.a.shifen.com (39.156.66.10) 56(84) bytes of data.
64 bytes from 39.156.66.10: icmp_seq=1 ttl=128 time=139 ms
64 bytes from 39.156.66.10: icmp_seq=2 ttl=128 time=133 ms
64 bytes from 39.156.66.10: icmp_seq=3 ttl=128 time=272 ms

— ps_other.a.shifen.com ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2928ms
rtt min/avg/max/mdev = 133.721/182.097/272.952/64.290 ms

举报

相关推荐

0 条评论