Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6895165
  • 博文数量: 3857
  • 博客积分: 6409
  • 博客等级: 准将
  • 技术积分: 15948
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-02 16:48
个人简介

迷彩 潜伏 隐蔽 伪装

文章分类

全部博文(3857)

文章存档

2017年(5)

2016年(63)

2015年(927)

2014年(677)

2013年(807)

2012年(1241)

2011年(67)

2010年(7)

2009年(36)

2008年(28)

分类:

2013-01-05 09:27:03

环境:
主机:openSUSE 12.2
虚拟机:VirtualBox 4.1.22
虚拟的系统:ubuntu 12.04

step1: 设置VirtualBox
         1)   管理(F) --> 全局设定 (P)   或者  ctrl+g
         2)  选择“网络”
         3)  添加 “Host-Only”

        
         4) 取消DHCP

        
         5)  网卡选择 “Host-Only”

        

step2: ubuntu的网络设置

# 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
auto eth0
iface eth0 inet static
address 192.168.56.99
netmask 255.255.255.0
gateway 192.168.56.1


这样,主机就可以在没有连接网线的情况下,与虚拟系统连接。
主机使用 ifconfig eth0 192.168.56.90 设定IP,使之与虚拟系统为统一网段。
这样虚拟系统也可以访问主机了。
       

阅读(329) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~