GNS3模拟一个中小型企业网络有详细配置.docx

上传人:b****5 文档编号:5910922 上传时间:2023-01-02 格式:DOCX 页数:51 大小:113.16KB
下载 相关 举报
GNS3模拟一个中小型企业网络有详细配置.docx_第1页
第1页 / 共51页
GNS3模拟一个中小型企业网络有详细配置.docx_第2页
第2页 / 共51页
GNS3模拟一个中小型企业网络有详细配置.docx_第3页
第3页 / 共51页
GNS3模拟一个中小型企业网络有详细配置.docx_第4页
第4页 / 共51页
GNS3模拟一个中小型企业网络有详细配置.docx_第5页
第5页 / 共51页
点击查看更多>>
下载资源
资源描述

GNS3模拟一个中小型企业网络有详细配置.docx

《GNS3模拟一个中小型企业网络有详细配置.docx》由会员分享,可在线阅读,更多相关《GNS3模拟一个中小型企业网络有详细配置.docx(51页珍藏版)》请在冰豆网上搜索。

GNS3模拟一个中小型企业网络有详细配置.docx

GNS3模拟一个中小型企业网络有详细配置

GNS3使用的是dinamips,没有交换机的IOS,本实验中,模拟二、三层交换机都是使用C3640+NM-16ESW模块。

注意:

1、如果只是模拟二层交换机,一定要记住

SW1(config)#noiprouting//关闭路由功能

2、无法设置IP问题

端口设置IP出现这个错误

%IPaddressesmaynotbeconfiguredonL2links.

需要从二层交换端口切换到三层交换端口

SW2(config-if)#noswitchport

这里设置IP主要是连接路由器,但我遇到过用这个命令居然会提示命令不完整

SW2(config-if)#noswitchport

%Incompletecommand.

我测试后,原来是我用的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:

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameCore_A

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

noipdomainlookup

ipdomainnamelab.local

interfaceLoopback0

ipaddress5.5.5.5255.255.255.0

!

interfacePort-channel1

!

interfaceFastEthernet0/0

noswitchport

ipaddress172.16.59.1255.255.255.0

!

interfaceFastEthernet0/1

noswitchport

ipaddress172.16.55.2255.255.255.0

!

interfaceFastEthernet0/2

noswitchport

ipaddress172.16.58.2255.255.255.0

!

interfaceFastEthernet0/3

noswitchport

ipaddress172.16.61.1255.255.255.0

!

interfaceFastEthernet0/4

noswitchport

ipaddress172.16.63.1255.255.255.0

!

interfaceFastEthernet0/5

noswitchport

ipaddress172.16.53.2255.255.255.0

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

!

interfaceFastEthernet0/15

!

interfaceVlan1

noipaddress

shutdown

!

interfaceVlan101

ipaddress172.16.200.1255.255.255.0

!

routerospf100

log-adjacency-changes

network172.16.53.00.0.0.255area0

network172.16.55.00.0.0.255area0

network172.16.58.00.0.0.255area0

network172.16.59.00.0.0.255area0

network172.16.61.00.0.0.255area0

network172.16.63.00.0.0.255area0

network172.16.200.00.0.0.255area0

!

noiphttpserver

noiphttpsecure-server

!

iproute0.0.0.00.0.0.0172.16.61.2

iproute0.0.0.00.0.0.0172.16.63.2115

!

!

control-plane

!

!

linecon0

exec-timeout00

privilegelevel15

loggingsynchronous

lineaux0

exec-timeout00

privilegelevel15

loggingsynchronous

linevty04

login

!

!

end

 

核心交换机Core_B:

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameCore_B

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

noipdomainlookup

ipdomainnamelab.local

!

!

!

interfaceLoopback0

ipaddress4.4.4.4255.255.255.0

!

interfaceFastEthernet0/0

noswitchport

ipaddress172.16.59.2255.255.255.0

!

interfaceFastEthernet0/1

noswitchport

ipaddress172.16.56.2255.255.255.0

!

interfaceFastEthernet0/2

noswitchport

ipaddress172.16.57.2255.255.255.0

!

interfaceFastEthernet0/3

noswitchport

ipaddress172.16.60.1255.255.255.0

!

interfaceFastEthernet0/4

noswitchport

ipaddress172.16.64.1255.255.255.0

!

interfaceFastEthernet0/5

noswitchport

ipaddress172.16.54.2255.255.255.0

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

!

interfaceFastEthernet0/15

!

interfaceVlan1

noipaddress

shutdown

!

routerospf100

log-adjacency-changes

network172.16.54.00.0.0.255area0

network172.16.56.00.0.0.255area0

network172.16.57.00.0.0.255area0

network172.16.59.00.0.0.255area0

network172.16.60.00.0.0.255area0

network172.16.64.00.0.0.255area0

!

routerospf10

log-adjacency-changes

!

noiphttpserver

noiphttpsecure-server

!

iproute0.0.0.00.0.0.0172.16.64.2

iproute0.0.0.00.0.0.0172.16.60.2115

!

!

control-plane

!

linecon0

exec-timeout00

privilegelevel15

loggingsynchronous

lineaux0

exec-timeout00

privilegelevel15

loggingsynchronous

linevty04

login

!

!

End

 

汇聚层配置:

L3Switch_1:

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameL3Switch_1

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

noipdomainlookup

ipdomainnamelab.local

noipdhcpusevrfconnected

!

ipdhcppoolDHCP_120

network172.16.12.0255.255.255.0

default-router172.16.12.1

dns-server172.16.200.11

!

ipdhcppoolDHCP_160

network172.16.16.0255.255.255.0

default-router172.16.16.1

dns-server172.16.200.11

!

!

interfaceLoopback0

ipaddress1.1.1.1255.255.255.0

!

interfaceFastEthernet0/0

shutdown

!

interfaceFastEthernet0/1

noswitchport

ipaddress172.16.55.1255.255.255.0

!

interfaceFastEthernet0/2

noswitchport

ipaddress172.16.57.1255.255.255.0

!

interfaceFastEthernet0/3

switchportmodetrunk

!

interfaceFastEthernet0/4

switchportmodetrunk

!

interfaceFastEthernet0/5

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

!

interfaceFastEthernet0/15

!

interfaceVlan1

noipaddress

shutdown

!

interfaceVlan120

ipaddress172.16.12.1255.255.255.0

!

interfaceVlan160

ipaddress172.16.16.1255.255.255.0

!

routerospf100

log-adjacency-changes

network172.16.12.00.0.0.255area0

network172.16.16.00.0.0.255area0

network172.16.55.00.0.0.255area0

network172.16.57.00.0.0.255area0

!

noiphttpserver

noiphttpsecure-server

!

iproute0.0.0.00.0.0.0172.16.61.2

!

!

control-plane

!

!

dial-peercorcustom

!

linecon0

exec-timeout00

privilegelevel15

loggingsynchronous

lineaux0

exec-timeout00

privilegelevel15

loggingsynchronous

linevty04

login

!

!

end

 

L3Switch_2:

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameL3Switch_2

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

noipdomainlookup

ipdomainnamelab.local

noipdhcpusevrfconnected

!

ipdhcppoolDHCP_10

network172.16.1.0255.255.255.0

default-router172.16.1.1

dns-server172.16.200.11

!

ipdhcppoolDHCP_40

network172.16.4.0255.255.255.0

default-router172.16.4.1

dns-server172.16.200.11

!

!

interfaceLoopback0

ipaddress2.2.2.2255.255.255.0

!

interfaceFastEthernet0/0

!

interfaceFastEthernet0/1

noswitchport

ipaddress172.16.56.1255.255.255.0

!

interfaceFastEthernet0/2

noswitchport

ipaddress172.16.58.1255.255.255.0

!

interfaceFastEthernet0/3

switchportmodetrunk

!

interfaceFastEthernet0/4

switchportmodetrunk

!

interfaceFastEthernet0/5

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

!

interfaceFastEthernet0/15

!

interfaceVlan1

noipaddress

shutdown

!

interfaceVlan10

ipaddress172.16.1.1255.255.255.0

!

interfaceVlan40

ipaddress172.16.4.1255.255.255.0

!

routerospf100

log-adjacency-changes

network172.16.1.00.0.0.255area0

network172.16.4.00.0.0.255area0

network172.16.56.00.0.0.255area0

network172.16.58.00.0.0.255area0

!

noiphttpserver

noiphttpsecure-server

!

iproute0.0.0.00.0.0.0172.16.60.2

!

!

control-plane

!

!

linecon0

exec-timeout00

privilegelevel15

loggingsynchronous

lineaux0

exec-timeout00

privilegelevel15

loggingsynchronous

linevty04

login

!

!

end

 

L3Switch_3:

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnameL3Switch_3

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

noipdomainlookup

ipdomainnamelab.local

noipdhcpusevrfconnected

!

ipdhcppoolDHCP_80

network172.16.8.0255.255.255.0

default-router172.16.8.1

dns-server172.16.200.11

!

ipdhcppoolDHCP_100

network172.16.10.0255.255.255.0

default-router172.16.10.1

dns-server172.16.200.11

!

!

interfaceLoopback0

ipaddress3.3.3.3255.255.255.0

!

interfaceFastEthernet0/0

!

interfaceFastEthernet0/1

noswitchport

ipaddress172.16.53.1255.255.255.0

!

interfaceFastEthernet0/2

noswitchport

ipaddress172.16.54.1255.255.255.0

!

interfaceFastEthernet0/3

switchportmodetrunk

!

interfaceFastEthernet0/4

switchportmodetrunk

!

interfaceFastEthernet0/5

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

!

interfaceFastEthernet0/15

!

interfaceVlan1

noipaddress

shutdown

!

interfaceVlan80

ipaddress172.16.8.1255.255.255.0

!

interfaceVlan100

ipaddress172.16.10.1255.255.255.0

!

routerospf100

log-adjacency-changes

network172.16.8.00.0.0.255area0

network172.16.10.00.0.0.255area0

n

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1