2010-05-20记录
1.安装文件说明:
user@debsys:~/Appshops/VirtualBox$ ls
VBoxConfigure.txt
VBoxGuestAdditions_3.1.8.iso
VBoxGuestAdditions-3.1.8-linux_amd64.run
VBoxGuestAdditions_3.2.0.iso
VBoxUserManual_V3.2.0.pdf
VirtualBox-3.1.8-61349-Linux_amd64.run
virtualbox-3.2_3.2.0-61806~Debian~lenny_amd64.deb
之前使用的是VBox-3.1.8版本,现使用的是virtualbox-3.2_3.2.0-61806~Debian~lenny_amd64.deb文件进行安装。
可通过:#./VirtualBox-3.1.8-61349-Linux_amd64.run uninstall卸载之前安装的版本。
2.网络设备的桥接配置:
user@debsys:/etc/network$ cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.111
netmask 255.255.255.0
gateway 192.168.1.1
# The TUN/TAP network interface
iface tap0 inet manual
pre-up tunctl -t tap0 -u user
up ifconfig tap0 192.168.1.129/24 up
down ifconfig tap0 down
# The bridge network interface
iface br0 inet static
address 192.168.1.128
netmask 255.255.255.0
bridge_ports eth0 tap0
post-up ifconfig eth0 192.168.1.111/24 up
auto tap0
auto br0
auto eth0
3.安装VBox,创建VirtualMachine(客户机是64位的Win2003),虚拟网口可选择桥接方式,接口为tap0。
4.其它:
a)在修改了/etc/network/interfaces文件后,需要重新启动网络服务(restart = stop + start):
#/etc/init.d/networking restart
b)可以手工修改网口的MAC地址(支持的硬件类别有ether, ax25, ARCnet和 netrom):
#ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
阅读(901) | 评论(0) | 转发(0) |