11
LAB 06: FramRelay (Hub & Spoke) Topology: Yêu cầu: Câu 1: Cấu hình Frame-relay trên các router, R1 đảm bảo ping thành công R3, R4 nhưng R3 và R4 không ping thấy lẫn nhau. Câu 2: cấu hình giao thức định tuyến OSPF đơn vùng(Single Area 0) trên các router R1,R3,R4 đảm bảo quảng bá toàn mạng, các router đều ping thấy lẫn nhau. Hướng dẫn: Cấu hình trên router SG:

Cho

Embed Size (px)

Citation preview

Page 1: Cho

LAB 06: FramRelay (Hub & Spoke)

Topology:

Yêu cầu:

Câu 1: Cấu hình Frame-relay trên các router, R1 đảm bảo ping thành công R3, R4 nhưng R3 và R4 không ping thấy lẫn nhau.Câu 2: cấu hình giao thức định tuyến OSPF đơn vùng(Single Area 0) trên các router R1,R3,R4 đảm bảo quảng bá toàn mạng, các router đều ping thấy lẫn nhau.

Hướng dẫn:

Cấu hình trên router SG:

Page 2: Cho

SG#sh runBuilding configuration...

Current configuration : 1122 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname SG!boot-start-markerboot-end-marker!!no aaa new-modelmemory-size iomem 5ip cefno ip domain lookupinterface Loopback0 ip address 192.168.100.1 255.255.255.224!interface Serial0/0 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000!interface Serial0/0.102 point-to-point

Page 3: Cho

ip address 192.168.2.1 255.255.255.0 frame-relay interface-dlci 102!interface Serial0/0.103 point-to-point ip address 192.168.1.1 255.255.255.192 frame-relay interface-dlci 103!interface Serial0/1 no ip address shutdown serial restart-delay 0!interface Serial0/2 no ip address shutdown serial restart-delay 0!interface Serial0/3 no ip address shutdown serial restart-delay 0!no ip http serverno ip http secure-server!line con 0 exec-timeout 0 0 password cisco logging synchronous loginline aux 0line vty 0 4 password cisco login!!end

SG#

Cấu hình trên router HN:

Page 4: Cho

Connected to Dynamips VM "R3" (ID 2, type c3600) - Console portPress ENTER to get the prompt.sh% Type "show ?" for a list of subcommandsHN#sh runBuilding configuration...

Current configuration : 1003 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname HN!boot-start-markerboot-end-marker!!no aaa new-modelmemory-size iomem 5!!ip cefno ip domain lookupinterface Loopback0 ip address 172.16.0.1 255.255.255.128!

Page 5: Cho

interface Serial0/0 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000!interface Serial0/0.101 point-to-point ip address 192.168.2.2 255.255.255.0 frame-relay interface-dlci 101!interface Serial0/1 no ip address shutdown serial restart-delay 0!interface Serial0/2 no ip address shutdown serial restart-delay 0!interface Serial0/3 no ip address shutdown serial restart-delay 0!no ip http serverno ip http secure-servercontrol-planeline con 0 exec-timeout 0 0 password cisco logging synchronous loginline aux 0line vty 0 4 password cisco login!!end

Cấu hình trên router DN:

Page 6: Cho

DN#sh runBuilding configuration...

Current configuration : 1001 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname DN!boot-start-markerboot-end-marker!!no aaa new-modelmemory-size iomem 5!!ip cefno ip domain lookupinterface Loopback0 ip address 192.168.100.1 255.255.255.224!interface Serial0/0 no ip address

Page 7: Cho

encapsulation frame-relay serial restart-delay 0 clock rate 64000!interface Serial0/0.301 point-to-point ip address 192.168.1.2 255.255.255.192 frame-relay interface-dlci 301!interface Serial0/1 no ip address shutdown serial restart-delay 0!interface Serial0/2 no ip address shutdown serial restart-delay 0!interface Serial0/3 no ip address shutdown serial restart-delay 0!no ip http serverno ip http secure-server

control-plane!

line con 0 exec-timeout 0 0 password cisco logging synchronousline aux 0line vty 0 4 password cisco login!!end

DN#

Cấu hình trên router FR:

Page 8: Cho

FR#sh runBuilding configuration...

Current configuration : 1189 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname FR!boot-start-markerboot-end-marker!!no aaa new-modelmemory-size iomem 5!!ip cefno ip domain lookup!!frame-relay switching

Page 9: Cho

!!interface Serial0/0 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000 frame-relay intf-type dce frame-relay route 102 interface Serial0/1 101 frame-relay route 103 interface Serial0/2 301!interface Serial0/1 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000 frame-relay intf-type dce frame-relay route 101 interface Serial0/0 102!interface Serial0/2 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000 frame-relay intf-type dce frame-relay route 301 interface Serial0/0 103!interface Serial0/3 no ip address shutdown serial restart-delay 0!no ip http serverno ip http secure-server!!!!!!control-plane!!!!!

Page 10: Cho

!!!!!line con 0 exec-timeout 0 0 password cisco logging synchronous loginline aux 0line vty 0 4 password cisco login!!end

FR#

Câu 2: Tiến hành chạy giao thức định tuyến OSPF đơn vùng(Area 0) trên tất cả router ngoại trừ FR để quảng bá tất cả các mạng theo sơ đồ

Page 11: Cho