歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 17 x64(host)下VMware網卡不能啟用混雜模式

Fedora 17 x64(host)下VMware網卡不能啟用混雜模式

日期:2017/2/28 15:48:24   编辑:Linux教程

Fedora 17 x64下啟動vmware虛擬機的時候報了個錯,大致如下:

The virtual machines operating system has attempted to enable promiscuous mode on adapter Ethernet0. This is not allowed for security reasons.

查到vmware官網,發現是因為當前啟動虛擬機的用戶沒有操作vmware網卡的權限,加上就好了:

[root@ www.linuxidc.com tracepoint]# ll /dev/vmnet*
crw-------. 1 root root 119, 0 6月 8 21:31 /dev/vmnet0
crw-------. 1 root root 119, 1 6月 8 21:31 /dev/vmnet1
crw-------. 1 root root 119, 2 6月 8 21:31 /dev/vmnet2
crw-------. 1 root root 119, 8 6月 8 21:31 /dev/vmnet8
[root@ www.linuxidc.com tracepoint]# chmod a+rw /dev/vmnet*
[root@ www.linuxidc.com tracepoint]# ll /dev/vmnet*
crw-rw-rw-. 1 root root 119, 0 6月 8 21:31 /dev/vmnet0
crw-rw-rw-. 1 root root 119, 1 6月 8 21:31 /dev/vmnet1
crw-rw-rw-. 1 root root 119, 2 6月 8 21:31 /dev/vmnet2
crw-rw-rw-. 1 root root 119, 8 6月 8 21:31 /dev/vmnet8

tips:

如果有時候發現某塊網卡的ip就是ping不通,可以試著先ifdown再ifup這塊網卡,說不定就能通了:)

更多Fedora相關信息見Fedora 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=5

Copyright © Linux教程網 All Rights Reserved