Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Gii thiu
u tin cc bn hy xem qua s mng sau:
Vi s mng nh th ny th cc bn s dng phn mm g m phng? Cu tr li u tin chc l Cisco Packet Tracer, nhng cc bn hy lu , vi Packet tracer th thit b chy trn IOS o, v b gii hn rt nhiu tnh nng. Thng ngi ta s khng chn Cisco Packet tracer. V cu tr li th 2 l GNS3. Vi GNS3 th chng ta hon ton c th m phng Lab ny nhng ... chng ta cn mt my tnh c cu hnh cc khng hoc l nhiu my tnh gp li. Cn cu tr li th 3 l Cisco IOU. Vi Cisco IOU th chng ta hon ton c th khc phc c cc nhc im ca GNS3 v Cisco Packet tracer. Tuy Cisco IOU c nhiu u im nh vy nhng n vn tn ti mt s nhc im sau: + Rt kh s dng cho nhng ai mi bt u. + + Cn phi bit s dng Linux Debian Cng cn nhiu tnh nng khng c h tr trn Cisco IOU o Not supported/working on iou-web: Trunking over Cloug o Not supported/working on Layer 3 IOU (Solaris): VTP version 2 (VTP version 1 works) o Not supported/working on Layer 2 IOU (Solaris): VTP version 2 (VTP version 1 works) o ...
Sau khi khi ng my o Cisco IOU, dng username root v password mc nh l flyxj.cn ng nhp.
Chng ta nn thay i password ca user root bng cu lnh sau: [...]# echo password moi | passwd root --stdin 4. Thng tin v cu hnh Card mng trn my o Cisco IOU eth0: eth1: eth2: 192.168.80.160 10.10.10.160 192.168.20.160
Vy trn my Windows chng ta s cu hnh card mng VMWare 1 c a ch IP trng lp mng vi eth1.
5. Dng phn mm Private Shell ng nhp vo my o Cisco IOU Trc khi ng nhp chng ta nn kim tra kt ni gia my Windows & my o Cisco IOU m bo kt ni thng sut.
6. Bc tip theo l s dng lnh ls xem ni dung ca th mc /root/ v dng lnh cd chuyn vo th mc/root/LAB. Cc bn ch trn Linux th filename & foldername c phn bit HOA-thng.
Lu cc file mu xanh l chui non cng chnh l cc lnh c dng trong Linux Shell. 7. Bt cc thit b trong LAB ln nh sau: Hy quan st topology trc khi enable thit b.
root@flyxj:~/LAB# show
By gi chng ta th Enable Router R1 bng lnh: root@flyxj:~/LAB# R1 Ch khong 20 giy v quan st li topology root@flyxj:~/LAB# show
Chng ta thy Router R01 chuyn qua mu xanh ngha l chy. 8. Bc tip theo l s dng Private Shell, dng giao thc Telnet login vo Router R1 Trc ht chng ta quan st file /root/LAB/R1 bng lnh sau: root@flyxj:~/LAB# cat /root/LAB/R1 ../wrapper-linux -m ../i86bi_linux-adventerprisek9-ms -p 2001 -- 1 > /dev/null 2>&1 & root@flyxj:~/LAB# y chng ta lu thng s -p 2001, y chnh l port ch c s dng kt ni t xa vo Router R1. Chng ta s Telnet vo Router R1 qua cng 2001.
Kt qu:
Nh vy l kt ni thnh cng! M PHNG MNG BNG PHN MM CISCO IOU - PHN 1 Bi vit ny dnh cho cc bn sinh vin ngnh K thut mng Tc gi: ng Ngc Cng n v: B mn K thut mng Khoa CNTT i hc Duy Tn
Gii thiu
u tin cc bn hy xem qua s mng sau:
Vi s mng nh th ny th cc bn s dng phn mm g m phng? Cu tr li u tin chc l Cisco Packet Tracer, nhng cc bn hy lu , vi Packet tracer th thit b chy trn IOS o, v b gii hn rt nhiu tnh nng. Thng ngi ta s khng chn Cisco Packet tracer. V cu tr li th 2 l GNS3. Vi GNS3 th chng ta hon ton c th m phng Lab ny nhng ... chng ta cn mt my tnh c cu hnh cc khng hoc l nhiu my
tnh gp li. Cn cu tr li th 3 l Cisco IOU. Vi Cisco IOU th chng ta hon ton c th khc phc c cc nhc im ca GNS3 v Cisco Packet tracer. Tuy Cisco IOU c nhiu u im nh vy nhng n vn tn ti mt s nhc im sau: + Rt kh s dng cho nhng ai mi bt u. + + Cn phi bit s dng Linux Debian Cng cn nhiu tnh nng khng c h tr trn Cisco IOU o Not supported/working on iou-web: Trunking over Cloug o Not supported/working on Layer 3 IOU (Solaris): VTP version 2 (VTP version 1 works) o Not supported/working on Layer 2 IOU (Solaris): VTP version 2 (VTP version 1 works) o ...
Sau khi khi ng my o Cisco IOU, dng username root v password mc nh l flyxj.cn ng nhp.
Chng ta nn thay i password ca user root bng cu lnh sau: [...]# echo password moi | passwd root --stdin 4. Thng tin v cu hnh Card mng trn my o Cisco IOU eth0: eth1: eth2: 192.168.80.160 10.10.10.160 192.168.20.160
Vy trn my Windows chng ta s cu hnh card mng VMWare 1 c a ch IP trng lp mng vi eth1.
5. Dng phn mm Private Shell ng nhp vo my o Cisco IOU Trc khi ng nhp chng ta nn kim tra kt ni gia my Windows & my o Cisco IOU m bo kt ni thng sut.
6. Bc tip theo l s dng lnh ls xem ni dung ca th mc /root/ v dng lnh cd chuyn vo th mc/root/LAB. Cc bn ch trn Linux th filename & foldername c phn bit HOA-thng.
Lu cc file mu xanh l chui non cng chnh l cc lnh c dng trong Linux Shell. 7. Bt cc thit b trong LAB ln nh sau: Hy quan st topology trc khi enable thit b. root@flyxj:~/LAB# show
Chng ta thy Router R01 chuyn qua mu xanh ngha l chy. 8. Bc tip theo l s dng Private Shell, dng giao thc Telnet login vo Router R1 Trc ht chng ta quan st file /root/LAB/R1 bng lnh sau: root@flyxj:~/LAB# cat /root/LAB/R1 ../wrapper-linux -m ../i86bi_linux-adventerprisek9-ms -p 2001 -- 1 > /dev/null 2>&1 & root@flyxj:~/LAB# y chng ta lu thng s -p 2001, y chnh l port ch c s dng kt ni t xa vo Router R1. Chng ta s Telnet vo Router R1 qua cng 2001.
Kt qu:
Nh vy l kt ni thnh cng!
M PHNG MNG BNG PHN MM CISCO IOU - PHN 2 Phn 2. To cc topology theo yu cu ca ngi dng 1. Chng ta s i phn tch topology mc nh root@flyxj:~/LAB# show
Chng ta hy quan st topology trn tht k v so snh cc kt ni trong topology ny vi cc dng trong file/root/LAB/NETMAP root@flyxj:~/LAB# cat NETMAP 1:0/0 2:0/0 1:1/0 7:1/0 1:0/2 6:0/2 1:1/2 2:1/2 2:1/1 6:1/1 2:0/1 3:0/1 2:1/0 8:1/0 2:2/1 7:2/1 2:2/0 7:2/0 2:2/3 3:2/3 3:1/1 7:1/1 3:0/2 8:0/2 4:0/1 5:0/1 4:0/2 9:0/2 4:1/0 10:1/0 5:1/1 9:1/1 5:0/2 10:0/2 6:0/0 7:0/0 6:3/0 7:3/0 7:0/1 8:0/1 7:3/2 8:3/2 9:0/1 10:0/1 3:0/0 4:0/0 8:0/0 9:0/0 1:1/3 2:1/3 3:1/3 1023:1 6:1/3 7:1/3 8:1/3 1023:2 root@flyxj:~/LAB# Quan st cc Interfaces trn Router R1 & R2 R1#show ip interface brief Interface IP-Address OK? Method Status Protocol Ethernet0/0 unassigned YES NVRAM administratively down down
Ethernet0/1 Ethernet0/2 Ethernet0/3 Ethernet1/0 Ethernet1/1 Ethernet1/2 Ethernet1/3 Serial2/0 Serial2/1 Serial2/2 Serial2/3 Serial3/0 Serial3/1 Serial3/2 Serial3/3
unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned
YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down
R1# R2#show ip interface brief Interface Ethernet0/0 Ethernet0/1 Ethernet0/2 Ethernet0/3 Ethernet1/0 Ethernet1/1 Ethernet1/2 Ethernet1/3 Serial2/0 Serial2/1 Serial2/2 Serial2/3 Serial3/0 Serial3/1 Serial3/2 Serial3/3 R2# IP-Address OK? Method Status Protocol unassigned YES NVRAM administratively down down unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down YES NVRAM administratively down down
2. Lab 1: R01(e0/0)<-------->(e0/0)R02
Hnh ny mn bn GNS3 m t s dng ha cho sinh ng. Cu hnh Router R1: R1>enable R1#conf t R1(config)#interface e0/0 R1(config-if)#no shutdown R1(config-if)#ip address 10.1.1.1 255.0.0.0 R1(config-if)#end R1#write R1# Cu hnh Router R2: R2>enable R2#conf t R2(config)#interface e0/0 R2(config-if)#no shutdown R2(config-if)#ip address 10.2.2.2 255.0.0.0 R2(config-if)#end R2#write R2#ping 10.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/4 ms R2# 3. Lu Lab Nh lu cu hnh vo NVRAM ca tt c cc thit b Ten_thiet_bi# copy running-config startup-config Hoc Ten_thiet_bi# write Shutdown my o Cisco IOU tit kim khng gian lu tr (C th khng cn Shutdown nu khng gian lu tr ln). root@flyxj:~/LAB# init 0 S dng chc nng Snapshot trn VMWare backup my o Cisco IOU. Ln sau, nu mun ly li Lab va lm th chng ta cng s dng chc nng ny.
u tin chng ta bt tt c cc thit b ln. root@flyxj:~/LAB# ROUTER root@flyxj:~/LAB# SWITCH root@flyxj:~/LAB# BR Ch khong 30 giy cho cc thit b khi ng xong. Chng ta s i kim tra trng thi ca CPU & RAM trn my tnh tht. Cc bn hy lu tng s lng Router & Switch ca chng ta l 10. Nu vi s lng ny, m chng ta dng GNS3 th mt my tnh c cu hnh RAM=2GB s khng kham ni.
Hy quan st tc x l ca CPU.