GNS3(0.8.2-BATA)与VMWare虚拟机互联,实现虚拟机上网

来源:网络 责任编辑:栏目编辑 发表时间:2013-07-01 09:50 点击:

拓扑图

 

\

 

路由器设置

Router#sh run

Building configuration...

 

Current configuration : 883 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

no aaa new-model

memory-size iomem 5

!

ip cef

ip name-server 192.168.121.210

!

interface FastEthernet0/0

 ip address 172.16.0.1 255.255.0.0

 ip nat inside

 ip virtual-reassembly

 duplex auto

 speed auto

!

interface FastEthernet1/0

 ip address 192.168.121.233 255.255.255.0

 ip nat outside

 ip virtual-reassembly

 duplex auto

 speed auto

!

no ip http server

!

ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 192.168.121.1

!

ip nat pool Net1 192.168.121.250 192.168.121.254 netmask 255.255.255.0

ip nat inside source list 1 pool Net1

!

access-list 1 permit 172.16.0.0 0.0.0.255

!

control-plane

!

line con 0

line aux 0

line vty 0 4

 login

!

end

 
虚拟机设置

\

 
PS:GNS路由器的默认路由应该设置成ip route 0.0.0.0 0.0.0.0 192.168.121.1(真实宽带路由器地址)

    相关新闻>>

      发表评论
      请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
      用户名: 验证码:点击我更换图片
      最新评论 更多>>

      推荐热点

      • VMware View 5.0从菜鸟到高手系列 -连接虚拟桌面
      • kvm中的windows使用Vmware的显示驱动
      • VMware Linux使用Xshell登陆
      • 虚拟机安装MAC查看电脑CPU是否支持VT技术
      • VMWare NAT Centos6.2静态ip设置
      • Virtual Box下同时配置host-only和bridge
      • vmware虚拟机浅析-虚拟网卡
      • VirtualBox打开虚拟硬盘失败的问题
      • 给虚拟机提速的方法

      快速直达

      操作系统导航

      LinuxWindows虚拟机
      网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
      Copyright © 2008-2015 计算机技术学习交流网. 版权所有

      豫ICP备11007008号-1