分类: LINUX
2011-12-23 22:40:28
:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://lovewo2go.blogbus.com/logs/39279448.html
我的机子两网卡做了bonding,由于vmware将vmnet0桥接到eth0,现在装上虚拟机,网络不可访问。只有将vmnet0桥接到bond0上才可以访问。使用vmware-config.pl可以解决这个问题:
[root@ivrdrbd02 ~]# vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor[ OK ]
Bridged networking on /dev/vmnet0[ OK ]
Virtual ethernet[ OK ]
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
Trying to find a suitable vmmon module for your running kernel.
The module bld-2.6.9-11.EL-x86_64smp-RHEL4 loads perfectly in the running
kernel.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [no]
Do you want networking for your virtual machines? (yes/no/help) [yes]
Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [help] editor
The following virtual networks have been defined:
. vmnet0 is bridged to eth0
Do you wish to make any changes to the current virtual networks settings?
(yes/no) [no] yes
Which virtual network do you wish to configure? (0-99) 0
The network vmnet0 has been reserved for a bridged network. You may change it,
but it is highly recommended that you use it as a bridged network. Are you
sure you want to modify it? (yes/no) [no] yes
What type of virtual network do you wish to set vmnet0?
(bridged,hostonly,nat,none) [bridged]
Configuring a bridged network for vmnet0.
Your computer has multiple ethernet network interfaces available: bond0, eth1,
eth0. Which one do you want to bridge to vmnet0? [eth0] bond0
The following virtual networks have been defined:
. vmnet0 is bridged to bond0
在虚拟机新建启时报错,日志提示找不到/dev/vmmon,可以手动添加设备
mknod /dev/vmmon c 10 165