Tải bản đầy đủ (.pdf) (2 trang)

Thuchanh huongdan chuong 4 bo sung

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (304.51 KB, 2 trang )

Bài tập chương 4 – Bổ sung
Bài 5: Frame Relay + RIPv2
Thiết lập mơ hình mạng sau:

Hướng dẫn:
1. Cấu hình RIPv2 trên R1, R2 như sau:
Sau khi cấu hình các interface, ta thực hiện như sau:
Tại R1:
R1(config)#router RIP
R1(config-router)#version 2
R1(config-router)#network 192.168.1.0
R1(config-router)#network 10.0.1.0
R1(config-router)#no auto-summary
R1(config-router)#passive-interface fa0/0
Tại R2:
R2(config)#router RIP
R2(config-router)#version 2
R2(config-router)#network 200.165.100.225
R2(config-router)#network 10.0.1.0
R2(config-router)#no auto-summary
2. Cấu hình router làm FR_switch:
FR_switch(config)#Frame-relay switching


FR_switch(config)#interface se3/0
FR_switch(config-if)#clock rate 64000
FR_switch(config-if)#encapsulation frame-relay (Thay đổi giao thức đóng gói mặc định
HDLC thành Frame Relay)
FR_switch(config-if)#frame-relay intf-type DCE (Thay đổi loại interface của FR_switch thành
DCE để cho phép router gửi LMI Keepalive vì khơng thể thiết lập FR router giữa 2 interface
DTE)


FR_switch(config-if)#frame-relay route 201 interface se2/0 102 (Thiết lập PVC: Cấu hình
chuyển lưu lượng từ interface s3/0 với DLCI=201 đến interface se2/0 với DLCI=102)
FR_switch(config-if)#no shutdown
** Tương tự với interface s2/0:
FR_switch(config)#interface se2/0
FR_switch(config-if)#clock rate 64000
FR_switch(config-if)#encapsulation frame-relay
FR_switch(config-if)#frame-relay intf-type DCE
FR_switch(config-if)#frame-relay route 102 interface se3/0 201
FR_switch(config-if)#no shutdown
3. Cấu hình Encapsulation Frame Relay trên các router R1, R2:
Tại R1: Tắt tính năng Inverse ARP giúp Router tự xây dựng FR map. Ta sẽ sử dụng Map tĩnh.
R1(config)#interface s2/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#frame-relay map ip 10.0.1.2 102 broadcast
R1(config-if)#no shutdown
Tại R2: Tương tự
R2(config)#interface s3/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#no frame-relay inverse-arp
R2(config-if)#frame-relay map ip 10.0.1.1 201 broadcast
R2(config-if)#no shutdown
4. Kiểm tra các PVC:
- Kiểm tra các route mà FR_switch đã thiết lập: FR_switch#show frame-relay route
- Kiểm tra các trạng thái của PVC: FR_switch#show frame-relay pvc
Kiểm tra kết nối:
- Từ R1 ping đến R2: Thành công?
- Từ PC ping đến loopback 0: Thành công?
- Trên R1, R2, FR_switch: #show frame-relay pvc

- Trên R1, R2: #show frame-relay map
R#debug frame-relay lmi
R#undebug all



×