GNS3模拟一个中小型企业网络(有详细配置)
更新时间:2023-11-27 00:52:01 阅读量: 教育文库 文档下载
- gns3模拟交换机推荐度:
- 相关推荐
GNS3使用的是dinamips,没有交换机的IOS,本实验中,模拟二、三层交换机都是使用C3640+NM-16ESW模块。 注意:
1、如果只是模拟二层交换机,一定要记住
SW1(config)#no ip routing // 关闭路由功能 2、无法设置IP问题
端口设置IP出现这个错误
% IP addresses may not be configured on L2 links. 需要从二层交换端口切换到三层交换端口 SW2(config-if)#no switchport
这里设置IP主要是连接路由器,但我遇到过用这个命令居然会提示命令不完整 SW2(config-if)#no switchport % Incomplete command.
我测试后,原来是我用的IOS版本低了,换成124版本的就没有这个问题了。 用到的IOS下载地址:
c3640-ik9o3s-mz.124-13b 点击下载 c7200-jk9o3s-mz.124-17 点击下载
网络拓扑:
设计的总公司还有两个出口:电信(R_Tele)和联通(R_Uni),一个驻外办事处(R_Part)。
电信(R_Tele),提供外网连接,实现nat转换和流量控制 联通(R_Uni)实现与驻外办事处(R_Part)VPN连接。 汇聚层(L3Switch)实现DHCP。
详细配置:
核心交换机Core_A: version 12.4
service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !
hostname Core_A !
boot-start-marker boot-end-marker ! !
no aaa new-model memory-size iomem 5 ! ! ip cef
no ip domain lookup ip domain name lab.local
interface Loopback0
ip address 5.5.5.5 255.255.255.0 !
interface Port-channel1 !
interface FastEthernet0/0 no switchport
ip address 172.16.59.1 255.255.255.0 !
interface FastEthernet0/1 no switchport
ip address 172.16.55.2 255.255.255.0 !
interface FastEthernet0/2 no switchport
ip address 172.16.58.2 255.255.255.0 !
interface FastEthernet0/3 no switchport
ip address 172.16.61.1 255.255.255.0 !
interface FastEthernet0/4
no switchport
ip address 172.16.63.1 255.255.255.0 !
interface FastEthernet0/5 no switchport
ip address 172.16.53.2 255.255.255.0 !
interface FastEthernet0/6 !
interface FastEthernet0/7 !
interface FastEthernet0/8 !
interface FastEthernet0/9 !
interface FastEthernet0/10 !
interface FastEthernet0/11 !
interface FastEthernet0/12 !
interface FastEthernet0/13 !
interface FastEthernet0/14 !
interface FastEthernet0/15 !
interface Vlan1 no ip address shutdown !
interface Vlan101
ip address 172.16.200.1 255.255.255.0 !
router ospf 100
log-adjacency-changes
network 172.16.53.0 0.0.0.255 area 0 network 172.16.55.0 0.0.0.255 area 0 network 172.16.58.0 0.0.0.255 area 0 network 172.16.59.0 0.0.0.255 area 0 network 172.16.61.0 0.0.0.255 area 0 network 172.16.63.0 0.0.0.255 area 0 network 172.16.200.0 0.0.0.255 area 0 !
no ip http server
no ip http secure-server !
ip route 0.0.0.0 0.0.0.0 172.16.61.2 ip route 0.0.0.0 0.0.0.0 172.16.63.2 115 ! !
control-plane ! !
line con 0
exec-timeout 0 0 privilege level 15 logging synchronous line aux 0
exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end
核心交换机Core_B: version 12.4
service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !
hostname Core_B !
boot-start-marker boot-end-marker ! !
no aaa new-model memory-size iomem 5 ! ! ip cef
no ip domain lookup
ip domain name lab.local ! ! !
interface Loopback0
ip address 4.4.4.4 255.255.255.0 !
interface FastEthernet0/0 no switchport
ip address 172.16.59.2 255.255.255.0 !
interface FastEthernet0/1 no switchport
ip address 172.16.56.2 255.255.255.0 !
interface FastEthernet0/2 no switchport
ip address 172.16.57.2 255.255.255.0 !
interface FastEthernet0/3 no switchport
ip address 172.16.60.1 255.255.255.0 !
interface FastEthernet0/4 no switchport
ip address 172.16.64.1 255.255.255.0 !
interface FastEthernet0/5 no switchport
ip address 172.16.54.2 255.255.255.0 !
interface FastEthernet0/6 !
interface FastEthernet0/7 !
interface FastEthernet0/8 !
interface FastEthernet0/9 !
interface FastEthernet0/10 !
interface FastEthernet0/11 !
interface FastEthernet0/12
正在阅读:
2015年全国家禽企业千家明细 - 图文12-16
《西方新闻史》教学大纲11-05
CSC申请受理机构与代码对照表11-22
感谢母校小学作文06-15
管理学案例分析和学习管理学的感悟08-06
幼儿园小班户外活动教案:赶小猪05-16
线务员职业技能鉴定理论试题参考题(答案)05-31
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 中小型
- 配置
- 模拟
- 详细
- 一个
- 企业
- 网络
- GNS3
- 新疆铁路运输现状及存在的问题
- 高中物理 第四章 电磁感应单元测试2 新人教版选修3-2
- 第24讲 最短路线问题
- 常微分方程证明题
- 22-项目部绩效考核办法(中铁六太人48号)
- C语言复习题函数
- 成本会计练习题
- 16春季福师《刑事诉讼法》在线作业二
- 追寻幸福导论韦正翔课后题带答案
- 南昌大学图书馆概要
- 孕早期的B超数据集 - 图文
- 组织工程学期末复习重点
- 大机基复习课后题小整理
- 机械员 实务、法规部分试题
- 来安中学第二党支部开展深入学习实践科学发展观解放思想大讨论活动实施方案
- 北政发〔2010〕2号 - 北海市人民政府关于公布北海市征地统一年产值标准的通知
- 工厂电气试卷及答案
- 安教体委〔2007〕26号
- 电子信息工程专业英语翻译
- 小学数学相遇问题应用题专项练习30题