LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 864|回复: 4

virtualbox的桥接模式怎样实现?

[复制链接]
发表于 2010-12-4 06:45:12 | 显示全部楼层 |阅读模式
以前一直kvm,第一次用virtualbox,wiki上说主机要先安装bridge-utils、uml_utilities这2个包

另外,wiki上这3条是什么意思?在下愚钝,理解不了
通过设置VirtualBox实现,通过设置Arch实现和通用,分别是什么意思,如果主机是Arch的话应该按照哪个做?
发表于 2010-12-4 08:57:39 | 显示全部楼层
lz是什么时区?
回复 支持 反对

使用道具 举报

发表于 2010-12-4 09:28:59 | 显示全部楼层
虽然没用过vbox桥接,也试着回答一下

    * 3.2.2 Using host interface networking (the VirtualBox way)
    * 3.2.3 Using host interface networking (the Arch way)
    * 3.2.4 Using host interface networking (generic)
应该分别翻译为“vbox 方式,arch 方式,通用方式”, 应该是任何一种方式都可以,随便用。

另外楼主有 kvm,干嘛用 vbox 啊,kvm 不是挺好的么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-4 18:03:35 | 显示全部楼层
Post by tocer;2122052
虽然没用过vbox桥接,也试着回答一下

    * 3.2.2 Using host interface networking (the VirtualBox way)
    * 3.2.3 Using host interface networking (the Arch way)
    * 3.2.4 Using host interface networking (generic)
应该分别翻译为“vbox 方式,arch 方式,通用方式”, 应该是任何一种方式都可以,随便用。

另外楼主有 kvm,干嘛用 vbox 啊,kvm 不是挺好的么?
装vbox的这台机器不支持虚拟化,只能用vbox,vmware太卡了
回复 支持 反对

使用道具 举报

发表于 2010-12-11 23:23:35 | 显示全部楼层
==> Add your user to the vboxusers group:
==> # gpasswd -a USERNAME vboxusers
==>
==> You must load vboxdrv module before starting VirtualBox:
==> # modprobe vboxdrv
==>
==> You must load vboxnetflt for Host Interface Networking:
==> # modprobe vboxnetflt
==>
==> You must load vboxnetadp for Host-Only networking:
==> # modprobe vboxnetadp
==>
==> To load it automatically, add vboxdrv module to the "MODULES" array
==> "/etc/rc.conf".
==>
==> Run `/etc/rc.d/vboxdrv setup` as root every time your kernel is
==> upgraded, to compile the module for the new kernel version.
==>
==> If USB does not work for you out-of-the-box, add the following line
==> to "/etc/fstab":
==> "none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0"

这是单用户版的 桥接直接选上就OK  OSE版配置比较麻烦
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表