NP大实验.docx
《NP大实验.docx》由会员分享,可在线阅读,更多相关《NP大实验.docx(33页珍藏版)》请在冰豆网上搜索。
NP大实验
Scenario:
TheClevelandPieWorksofCleveland,OhiohasboughtouttheAtlantaBreadCompany.
YouarethenewnetworkadministratorfortheClevelandPieWorks.Youmustconfigurethe
abovenetwork.Youwillusestaticroutesbetweenallcompanysites.Youmustconfigurea
FrameRelayconnectionbetweentheClevelandheadquarterssiteandAtlantaBreadCompany
site.AtlantamusthaveconnectivityatalltimestoCleveland,soyouhavedecidedtoinstalla
backupISDNline.ThereisabranchofficeinMaconthatwillutilizetheBRIportontheAtlanta
routerwhenitisnotbeingusedasabackupconnectiontotheClevelandheadquarters.Stac
compressionwillberequiredbetweenMaconandAtlantaasthisisonlyanISDNlink.Configure
theAtlantarouterasadial-inaccessserver.Verifyend-to-endreachability.Allpasswordswillbe
“cisco”forthisexam.
Instructions:
IPAddressing
1.Youmustbeabletosupport230usersoneachLANsegmentatallthesites.Youhave
beenallocatedthe192.168.2.84/30addressbyyourISP.Thiswillrequireyouto
implementNATattheClevelandheadquarterssite.
ClevelandCompanyHeadquarters
1.ConfigurestaticroutestotheAtlantaandMaconsites.
2.ConfiguretheconnectiontoyourISP.Youraddresswillbe192.168.2.82/30.TheISP
interfaceis192.168.2.81/30.Internetconnectionswillbedoneviaadefaultstaticroute
withPPPandCHAPauthentication
3.ConfiguretheFrameRelayconnectiontoAtlanta.YourlocalDLCInumberis16andyour
LMI-typeisANSI.Thebandwidthofthelinkis128Kbs.
4.ConfiguretheISDNinterfacetoAtlanta.ThisconnectionshoulduseMultilinkPPPand
CHAPauthentication.
5.ConfigureNAToverloadontheappropriaterouter.
Atlanta
1.Configurea128kbs.FrameRelayconnectiontotheClevelandHeadquarters.Yourlocal
dlciis18andyourlmi-typeisANSI.
2.ConfigureanISDNbackupconnectiontotheClevelandHeadquarterssite.Thebackup
linewilluseafloatingstaticroute.ThisconnectionshoulduseMultilinkPPPandCHAP
authentication.
3.ConfiguretheISDNinterfacetoeitherdialorreceivecallsfromMacon.
4.EnableStaccompressiontotheMaconrouter.
5.Usestaticroutesforoutsideconnectivity.
6.ConfigureanasynchronousconnectionfortheCTOinAtlanta.Theremoteusershould
beabletoaccessallLANsinthenetworkandalsoreachtheInternet.Thisconnection
shouldusePPP
Macon
1.ConfiguretheISDNconnectiontoAtlanta.ThisconnectionshoulduseMultilinkPPPand
CHAPauthentication
2.EnableStaccompressiontotheAtlantarouter.
3.Usestaticdefaultroutesforoutsideconnectivity.
4.Verifyend-to-endreachability.
AtlantaCTO
1.ConfigureyourlaptopfordialupaccesstotheAtlantarouter’sAUXport.UsePPPas
yourWANprotocol
2.YoushouldassignanIPaddressfordial-inthatisontheAtlantaLAN.(TheCTOis
consideredpartoftheAtlantaLAN.)
3.Verifyend-to-endreachability.
CHECKLIST:
1.NATworkingcorrectlyatCleveland_____________
2.StaticroutesonCleveland________________
3.FrameRelayconnectionbetweenClevelandandAtlanta________________
4.ISDNbackupconnectionbetweenAtlantaandCleveland______________
5.ISDNconnectiontoMacon___________________
6.StaccompressionbetweenMaconandAtlanta______________
7.DialupserverconnectionpreparedonAtlanta______________
8.T1PPPconnectionfromClevelandtoISP______________
9.AlluserscanreachInternetandISPWebServer_____________
10.AlluserscanreachtheMaconLAN____________
StudentExam2-ISPConfiguration
hostnameisp
!
enablepasswordcisco
!
usernameclevelandpassword0cisco
!
!
interfaceLoopback0
ipaddress172.16.1.1255.255.255.0
!
interfaceEthernet0
noipaddress
shutdown
!
interfaceSerial0
ipaddress192.168.2.81255.255.255.252
encapsulationppp
clockrate56000
pppauthenticationchap
!
interfaceSerial1
noipaddress
shutdown
!
iphttpserver
noipclassless
iproute192.168.2.84255.255.255.252192.168.2.82
!
linecon0
lineaux0
linevty04
passwordcisco
login
!
end
StudentExam2-ClevelandConfiguration
hostnamecleveland
!
enablepasswordcisco
!
usernameisppassword0cisco
usernameatlantapassword0cisco
ipnatpoolbread-pool192.168.2.85192.168.2.86netmask255.255.255.252
ipnatinsidesourcelist1poolbread-pooloverload
isdnswitch-typebasic-ni1
!
!
interfaceEthernet0
ipaddress10.1.10.1255.255.255.0
ipnatinside
nokeepalive
fair-queue642560
!
interfaceSerial0
ipaddress192.168.2.82255.255.255.252
ipnatoutside
encapsulationppp
noipmroute-cache
pppauthenticationchap
!
interfaceSerial1
ipaddress10.1.20.1255.255.255.0
ipnatinside
encapsulationframe-relay
bandwidth128
frame-relayinterface-dlci16
frame-relaylmi-typeansi
!
interfaceBRI0
ipaddress10.1.50.1255.255.255.0
noipdirected-broadcast
ipnatinside
encapsulationppp
dialermapip10.1.50.2nameatlantabroadcast5554000
dialermapip10.1.50.2nameatlantabroadcast5554001
dialerload-threshold1either
dialer-group1
isdnspid1510555123400015551234
isdnspid2510555123500015551235
pppauthenticationchap
pppmultilink
!
ipclassless
iproute0.0.0.00.0.0.0192.168.2.81
iproute10.0.0.0255.0.0.010.1.20.2
iproute10.0.0.0255.0.0.010.1.50.2200
!
access-list1permit10.0.0.00.255.255.255
dialer-list1protocolippermit
!
linecon0
lineaux0
linevty04
passwordcisco
login
!
end
StudentExam2-AtlantaConfiguration
hostnameatlanta
!
enablepasswordcisco
!
usernamemaconpassword0cisco
usernameclevelandpassword0cisco
usernamectopassword0cisco
!
memory-sizeiomem20
ipsubnet-zero
!
isdnswitch-typebasic-ni
!
process-max-time200
!
interfaceSerial0
bandwidth128
ipaddress10.1.20.2255.255.255.0
noipdirected-broadcast
encapsulationframe-relay
fair-queue642560
cdpenable
frame-relayinterface-dlci18
frame-relaylmi-typeansi
!
interfaceBRI0
noipaddress
noipdirected-broadcast
encapsulationppp
dialerpool-member1
isdnswitch-typebasic-ni
isdnspid1510555400000015554000
isdnspid2510555400100015554001
pppauthenticationchap
!
interfaceFastEthernet0
ipaddress10.2.1.1255.255.255.0
noipdirected-broadcast
nokeepalive
!
interfaceAsync5
ipunnumberedFastEthernet0
noipdirected-broadcast
encapsulationppp
asyncmodededicated
peerdefaultipaddress10.2.1.200
fair-queue64160
nocdpenable
pppauthenticationpap
!
interfaceDialer1
descriptiondialertoCleveland
ipaddress10.1.50.2255.255.255.0
noipdirected-broadcast
encapsulationppp
dialerremote-namecleveland
dialeridle-timeout300
dialerstring5551234
dialerstring5551235
dialerload-threshold1either
dialerpool1
dialer-group1
pppauthenticationchap
pppmultilink
!
interfaceDialer2
descriptiondialertomacon
ipaddress10.2.2.1255.255.255.0
noipdirected-broadcast
encapsulationppp
dialerremote-namemacon
dialeridle-timeout60
dialerfast-idle10
dialerstring5557000
dialerstring5557001
dialerload-threshold1either
dialerpool1
dialer-group1
compressstac
pppauthenticationchap
pppmultilink
!
ipclassless
iproute0.0.0.00.0.0.010.1.20.1
iproute0.0.0.00.0.0.010.1.50.1200
iproute10.2.0.0255.255.0.010.2.2.2
noiphttpserver
!
dialer-list1protocolippermit
!
linecon0
transportinputnone
lineaux0
passwordcisco
modemInOut
modemautoconfigurediscovery
transportinputall
stopbits1
speed2400
flowcontrolhardware
linevty04
login
!
end
StudentExam2-MaconConfiguration
hostnamemacon
!
enablepasswordcisco
!
usernameatlantapassword0cisco
!
ipsubnet-zero
!
isdnswitch-typebasic-ni
isdnvoice-call-failure0
!
interfaceEthernet0
ipaddress10.2.3.1255.255.255.0
noipdirected-broadcast
nokeepalive
!
interfaceSerial0
noipaddress
noipdirected-broadcast
shutdown
!
interfaceBRI0
ipaddress10.2.2.2255.255.255.0
noipdirected-broadcast
encapsulationppp
dialermapip10.2.2.1nameatlanta5554000
dialermapip10.2.2.1nameatlanta5554001
dialerload-threshold1outbound
dialer-group1
isdnswitch-typebasic-ni
isdnspid1510555700000015557000
isdnspid2510555700100015557001
compressstac
pppauthenticationchap
pppmultilink
!
ipclassless
iproute0.0.0.00.0.0.010.2.2.1
noiphttpserver
!
dialer-list1protocolippermit
!
linecon0
transportinputnone
linevty04
passwordcisco
login
!
end
[实验内容]
1.配置各个路由器,实现以上拓扑
hostnameR?
enablepassword
vty
各个端口(包括Loopback口)的IP及DCE时钟(注意Router6作为FRswitch相连的都为DCE)
2.以Router6作为帧中继交换机,并配置FRcloud边界各个路由端口。
参考命令:
#(config)frame-relayswitching
#(config-if)encapsulationframe-relay
frame-relaylmi-typecisco
frame-relayintf-typedce
frame-relayroute[localdlciNo]interface[remoteintface][remotedlciNo]
3.配置两种远程接入ospf中心网络:
管理员单机接入Router9和远程路由接入Router3,Router3并反向回拨
参考命令:
chat-scripthayes56kABORTERROR"""ATZ"OK"ATDT\T"TIMEOUT30CONNECT\c
物理端口:
line1
passwordcisco
login
modemInOut
modemautoconfigurediscovery
transportinputall
stopbits1
speed115200
flowcontrolhardware
异步线路serial:
interfaceSerial0
physical-layerasync
noipaddress
encapsulationppp
dialerin-band
dialerrotary-group0
asyncmodededicated
配置chap验证
配置callback
pppcallbackrequest
pppcallbackaccept
4.启动路由协议,使得路由信息完整,各网段能够通信
[参考配置结果]
R1#showrun
Buildingconfiguration...
Cur