Báo cáo thực hành mạng máy tính bài lab 2 - Pdf 17

Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

1
BỘ GIÁO DỤC VÀ ĐÀO TẠO
TRƯỜNG ĐẠI HỌC KỸ THUẬT CÔNG NGHỆ TP.HCM
KHOA CÔNG NGHỆ THÔNG TIN
o0o BÁO CÁO ĐỀ TÀI MÔN HỌC
Thực hành:MẠNG MÁY TÍNH
Bài Lab 2
GVHD: Nguyễn Đức Quang
SVTH: Vũ Văn Mạnh
MSSV: 0951020151
Lớp : 09DTHM

THÀNH PHỐ HỒ CHÍ MINH
03-2012


6. Bắt trap về điện thoại di động. 42
7. Thể hiện lưu lượng ưu tiên từ cao đến thấp trong trường DSCP theo thứ tự: 43
8. Cấu hình cho giao thức RTP chiếm 25% tổng băng thông, Netmeeting 15% tổng băng thông
và 60% còn lại dành cho các giao thức khác. 43

Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

3
I. Nội dung yêu cầu bài lab 2:
1. Mô hình bài lab.

2. Mô tả:
2.1) Công nghệ kết nối : Mô hình gồm 6 router và một Frame Relay Switch.
Các router được gán tên R1, R2, R3, R4, R5, R6 như trên hình vẽ.
+ R1, R2 và R3 kết nối với nhau bằng công nghệ chuyển mạch khung (Frame Relay) với 2 PVC
giữa R1 với R2 và giữa R1 với R3.
+ R1 kết nối với máy tính thật qua card mạng loopback và R6 kết nối vào máy tính ảo Vmware.
2.2) Giao thức định tuyến :
+ R1, R2, R3 định tuyến IS-IS
+ R3,R4 định tuyến RIPng (IPV6)
+ R4 & R6 STATIC
+ R4, R5 định tuyến OSPF

3. Yêu cầu:
3.1) Tạo và bắt lưu lượng đi qua cổng S0/0 của R4 và thể hiện đầy đủ trên hình chụp phần mềm
Netflow với địa chỉ IP đầy đủ của lưu lượng.
Bài Lab 2 Niên khóa 2012-2013



Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

5
II. thực hiện các yêu cầu bài lab.
- trên sơ đồ máy server là máy ảo cài hệ điều hành windows 2003 server, các dịch vụ được cài trên
server: dựng domain controller, DNS, MAIL, SQL, ACS, FTP, NetFlow, PRTG network moniter,
Cisco IP Communicator.
- trên router R1 cài dịch vụ chứng thực Tacacs client, dịch vụ Call Manager Express (CME) của
Cisco, RSVP sender, sử dụng cổng F0/1 nối với card loopback 2 để kết nối ra internet thông qua dịch
vụ chia sẻ internet ICS trong windows.
- trên router R2 cài dịch vụ chứng thực Radius client.
- trên router R3 cài dịch vụ SNMP-traps để giám sát hoạt động của R3.
- trên router R4 cài dịch vụ DHCP (cấp địa chỉ IP 205.0.0.0/24), cho phép NetFlow bắt lưu lượng
trên cổng S0/0.
- trên router R5 cài NTP server.
- trên router R6 kích hoạt dịch vụ Telnet, SSH, HTTP, HTTPS, RSVP Reservation.
1. hình chụp lưu lượng các gói tin trên NetFlow

Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

6 Bài Lab 2 Niên khóa 2012-2013


memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
!

class-map match-all telnet
match access-group 102
class-map match-all netmeeting
match access-group 101
class-map match-all ssh
match access-group 103
class-map match-all rtp
match access-group 100
!
!
policy-map LLQ-OUT-2
class rtp
priority percent 25
class netmeeting
priority percent 15
class class-default
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh


!
interface Serial0/0.34 point-to-point
ip address 200.0.0.151 255.255.255.0
ip router isis
frame-relay interface-dlci 34
service-policy input Marking-IN-1
ip rsvp bandwidth
!
interface Serial0/0.56 point-to-point
bandwidth 50
ip address 201.0.0.151 255.255.255.0
ip router isis
ip nat inside
ip virtual-reassembly
frame-relay interface-dlci 56
service-policy input Marking-IN-1
ip rsvp bandwidth
!
interface Serial0/0.65 point-to-point
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/1
ip address dhcp
ip helper-address 202.0.0.152
ip nat outside
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh


access-list 103 permit tcp any any eq 22
snmp-server community private RW
!
!
!
tacacs-server host 10.0.0.152
tacacs-server key 123456
!
control-plane
!
!
telephony-service
max-ephones 2
max-dn 2
ip source-address 20.0.0.151 port 2000
max-conferences 8 gain -6
transfer-system full-consult
!
!
ephone-dn 1
number 1111
name MayThat
!
!
ephone-dn 2
number 2222
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh


!* Community : private
!* Downloaded 05/04/2012 2:19:07 AM by SolarWinds Config Transfer Engine Version 5.5.0

!
! No configuration change since last restart
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
aaa new-model
!
!
aaa authentication login default group radius none
!
aaa session-id common
memory-size iomem 5
ip cef
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

11

!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
!
router isis
net 00.0001.2222.2222.2222.00
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
snmp-server community private RW
!
!
!
radius-server host 10.0.0.152 auth-port 1645 acct-port 1646
radius-server key 123456
!
control-plane
!
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

12

version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service dhcp
!
hostname R3
!
boot-start-marker
boot-end-marker
!
enable password r3
!
no aaa new-model
memory-size iomem 5
clock timezone HaNoi 7
ip cef
!
!
!
!
no ip domain lookup
!
ipv6 unicast-routing
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

13
!

class telnet
set dscp cs4
class ssh
set dscp cs3
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
no ip address
encapsulation frame-relay
priority-group 1
clock rate 2000000
service-policy input Marking-IN-1
ip rsvp bandwidth
!
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

14
interface Serial0/0.65 point-to-point

redistribute rip RIPng metric 0
exit-address-family
!
router rip
redistribute isis level-1-2 metric 1
passive-interface Serial0/0
network 201.0.0.0
network 202.0.0.0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Serial0/0.65
!
!
ip http server
no ip http secure-server
!
access-list 100 permit tcp any any eq 3230
access-list 100 permit udp any any eq 3230
access-list 101 permit tcp any any eq 3389
access-list 102 permit tcp any any eq telnet
access-list 103 permit tcp any any eq 22
snmp-server community private RW
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

15
snmp-server enable traps config

!* R4.vuvanmanh.com.CiscoConfig
!* IP Address : 202.0.0.152
!* Community : private
!* Downloaded 05/04/2012 2:19:33 AM by SolarWinds Config Transfer Engine Version 5.5.0

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
no ip dhcp use vrf connected
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

16
!
ip dhcp pool net205.0.0.0

policy-map Marking-IN-1
class rtp
set dscp cs6
class netmeeting
set dscp cs5
class telnet
set dscp cs4
class ssh
set dscp cs3
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 202.0.0.152 255.255.255.0
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

17
ip virtual-reassembly
encapsulation ppp

clock rate 2000000
!
!
router ospf 1
log-adjacency-changes
redistribute static metric 10 subnets
redistribute rip metric 10 subnets
network 203.0.0.0 0.0.0.255 area 0
!
router rip
redistribute static metric 10
redistribute ospf 1 metric 10
network 202.0.0.0
network 204.0.0.0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Serial0/0
ip route 10.0.0.0 255.0.0.0 Serial0/2
!
ip flow-export source Serial0/0
ip flow-export version 5
ip flow-export destination 10.0.0.152 9996
!
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

18
no ip http server
no ip http secure-server

5. Cấu hình R5:
!* R5.CiscoConfig
!* IP Address : 203.0.0.152
!* Community : private
!* Downloaded 05/04/2012 2:20:14 AM by SolarWinds Config Transfer Engine Version 5.5.0

!
! No configuration change since last restart
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

19
clock timezone GMT 7
ip cef
!

router ospf 1
log-adjacency-changes
network 203.0.0.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
snmp-server community private RW
!
!
!
!
control-plane
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

20
line aux 0
line vty 0 4
login

!
no ip domain lookup
!
!
!
crypto pki trustpoint TP-self-signed-998521732
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-998521732
revocation-check none
rsakeypair TP-self-signed-998521732
!
!
crypto pki certificate chain TP-self-signed-998521732
certificate self-signed 01
30820238 308201A1 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 39393835 32313733 32301E17 0D303230 33303130 30303033
345A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3939 38353231
37333230 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
CB3FB529 CCDB6801 A42DBA34 BDDE4161 B677898E 4CC40FBC 87FC77AE 16D4A6D2
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

21
0C814618 47C30295 0D010A18 AED59B6C 02A9B9FB CAE34007 02C85683 3C77272F
1ACE2647 840753E1 BA875F6B 78A2D66D 324BF153 99953C60 C9593591 8F1DC687
5A5A4E0B F4354ED4 9B34F3C0 49F8205B E01C0BC7 06BC1FEA 920E3490 867A69D5
02030100 01A36230 60300F06 03551D13 0101FF04 05300301 01FF300D 0603551D

set dscp cs3
!
!
!
interface FastEthernet0/0
ip address 10.0.0.151 255.0.0.0
ip virtual-reassembly
duplex auto
speed auto
priority-group 1
service-policy input Marking-IN-1
!
interface Serial0/0
ip address 204.0.0.152 255.255.255.0
ip virtual-reassembly
priority-group 1
clock rate 2000000
service-policy input Marking-IN-1
!
interface FastEthernet0/1
no ip address
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

22
shutdown
duplex auto
speed auto
!

logging synchronous
line aux 0
line vty 0 4
login local
transport input telnet ssh
!
!
end

7. cấu hình Frame Relay Switch:
!
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname FR_S
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

23
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5

speed auto
!
interface Serial0/1
no ip address
encapsulation frame-relay
clock rate 2000000
frame-relay intf-type dce
frame-relay route 43 interface Serial0/0 34
!
Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

24
interface Serial0/2
no ip address
encapsulation frame-relay
clock rate 2000000
frame-relay intf-type dce
frame-relay route 65 interface Serial0/0 56
!
interface Serial0/3
no ip address
shutdown
clock rate 2000000
!
!
ip forward-protocol nd
!
!

Bài Lab 2 Niên khóa 2012-2013

GVHD: Thầy Nguyễn Đức Quang SVTH: Vũ Văn Mạnh

25
3. Show bảng định tuyến của các router.
1. Router R1: 2. Router R2:


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status