Results 1 to 4 of 4

Thread: LAB 3-2: Cấu hình định tuyến tĩnh (with file .net)

  1. #1

    Default LAB 3-2: Cấu hình định tuyến tĩnh (with file .net)

    Nguồn: Sách CCNA Labpro

    LAB 3-2: CẤU HÌNH ĐỊNH TUYẾN TĨNH


    [C] ----10.0.3.0--- [A] ---10.0.2.0--- [B]

    Mô tả và yêu cầu:
    - Cấu hình static route trên các router A, router B và router C.
    - Router C hoạt động như DCE router, Router A là DTE router.
    - Từ các router, ta phải có thể ping được tất cả các địa chỉ trong mạng.
    Cấu hình:
    Router A:
    !
    hostname RouterA
    no ip domain-lookup
    !
    interface s0
    ip address 10.0.3.2 255.255.255.0
    no shutdown
    !
    interface E0
    ip address 10.0.2.2 255.255.255.0
    no shutdown
    !
    end
    Router B:
    !
    hostname RouterB
    no ip domain-lookup
    !
    interface E0
    ip address 10.0.2.1 255.255.255.0
    no shutdown
    !
    ip route 10.0.3.0 255.255.255.0 e0
    !
    end
    Router C:
    !
    hostname RouterC
    no ip domain-lookup
    !
    interface s0
    ip address 10.0.3.100 255.255.255.0
    no shutdown
    !
    ip route 10.0.2.0 255.255.255.0 10.0.3.2
    !
    end
    Các bước thực hiện:
    Bước 1: Cấu hình Router A.
    RouterA(config)#hostname RouterA
    RouterA(config)#no ip domain-lookup
    RouterA(config)#interface s0
    RouterA(config-if)#ip address 10.0.3.2 255.255.255.0
    RouterA(config-if)#no shutdown
    Chú ý: Khi thực hiện lệnh no shutdown, sẽ xuất hiện dòng thông báo:
    01:31:19: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
    RouterA(config-if)#interface E0
    RouterA(config-if)#ip address 10.0.2.2 255.255.255.0
    RouterA(config-if)#no shutdown
    01:34:38: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
    RouterA(config-if)#end
    01:35:39: %SYS-5-CONFIG_I: Configured from console by console
    RouterA#
    Bước 2: Cấu hình Router B.
    RouterB(config)#hostname RouterB
    RouterB(config)#no ip domain-lookup
    RouterB(config-if)#interface e0
    RouterB(config-if)#ip address 10.0.2.1 255.255.255.0
    RouterB(config-if)#no shut
    0138: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
    RouterB(config-if)#end
    0139: %SYS-5-CONFIG_I: Configured from console by console
    RouterB#
    Bước 3: Cấu hình cơ bản Router C.
    RouterC(config)#hostname RouterC
    RouterC(config)#no ip domain-lookup
    RouterC(config)#interface s0
    RouterC(config-if)#ip address 10.0.3.100 255.255.255.0
    RouterC(config-if)#no shutdown
    0119: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
    RouterC(config-if)#end
    0139: %SYS-5-CONFIG_I: Configured from console by console
    RouterC#
    Bước 4: Kiểm tra kết nối giữa các Router A, Router B, Router C
    RouterC#ping 10.0.3.2
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.3.2, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
    Chú ý: Nếu không ping được, kiểm tra lại cấu hình bằng lệnh show running-config, show interface để bảo đảm cấu hình đúng, giải quyết sự cố nếu cần.
    RouterB#ping 10.0.2.2
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.2.2, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
    RouterB#ping 10.0.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.2.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

    RouterA#ping 10.0.3.100
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.3.100, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

    RouterC#ping 10.0.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.2.1, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)

    RouterB#ping 10.0.3.100
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.3.100, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)
    - Trên Router C, xem bảng định tuyến bằng lệnh show ip route
    RouterC#show ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
    * - candidate default, U - per-user static route, o - ODR
    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/24 is subnetted, 1 subnets
    C 10.0.3.0 is directly connected, Serial0/0
    Bước 5: Cấu hình static routes.
    - Tại Router C, cấu hình static route đến Router B:
    RouterC(config)#ip route 10.0.2.0 255.255.255.0 10.0.3.2
    RouterC(config)#exit
    02:06:37: %SYS-5-CONFIG_I: Configured from console by console
    Chú ý: Khi cấu hình next hop router là địa chỉ IP thì AD=1; ta cấu hình next hop router sử dụng outgoing interface thì AD =0.
    - Tại Router B, định tuyến static route đến Router C.
    RouterB(config)#ip route 10.0.3.0 255.255.255.0 e0
    RouterB(config)#exit
    02:06:37: %SYS-5-CONFIG_I: Configured from console by console
    - Tại Router C, ping Router B bằng lệnh ping 10.0.2.1
    RouterC#ping 10.0.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.2.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
    - Tại Router B, ping Router C bằng lệnh ping 10.0.3.100
    RouterB#ping 10.0.3.100
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.3.100, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/8 ms
    - Xem bảng định tuyến trên Router C bằng lệnh show ip route:
    RouterC#show ip route
    ...
    Gateway of last resort is not set

    10.0.0.0/24 is subnetted, 2 subnets
    S 10.0.2.0 [1/0] via 10.0.3.2
    C 10.0.3.0 is directly connected, Serial0/0
    Chú ý: "S" biểu thị cho kết nối static với AD =1 và hop count là 0 [1/0]
    - Xem bảng định tuyến trên router B:
    RouterB#show ip route
    ...
    Gateway of last resort is not set

    10.0.0.0/24 is subnetted, 2 subnets
    C 10.0.2.0 is directly connected, FastEthernet0/1
    S 10.0.3.0 is directly connected, FastEthernet0/1
    Chú ý: AD=0 khi ta chọn outgoing interface để cấu hình static route. Ở đây ta không thấy entry [1/0] trong cấu hình.
    Last edited by lyquangthien; 15-11-2010 at 11:58 PM.

  2. #2

    Default

    Xin Admin post 1 bài hướng dẫn sử dụng các file dạng *.net đính kèm theo bài viết nữa.

  3. #3

    Default

    Hi Leebon.
    Bạn có thể xem hướng dẫn sử dụng chi tiết phần mềm Dynamips/Dynagen (gồm cách sử dụng file *.net) theo link sau: (có file đính kèm)
    http://vnpro.org/forum/showthread.php?t=11003
    Chúc bạn vui vẻ.

  4. #4

    Default Tại sao tôi ko thể download tệp đính kèm bài viết ?

    Các bạn ơi!

    Tại sao tôi ko thể download tệp đính kèm bài viết ? Khi nhấn vào đó luôn mở ra một trang trăng tinh.

    HLH

Similar Threads

  1. Config ISA for ISA newbies. - Suu tam
    By nadmad in forum Microsoft
    Replies: 8
    Last Post: 27-06-2010, 11:53 PM
  2. Khảo sát một số vấn đề về default-route trong routing
    By TGA_Certificationteam in forum ROUTE / BSCI
    Replies: 27
    Last Post: 28-12-2008, 02:29 AM
  3. WIN2K Basic Concepts - COI CHỪNG BỊ ĐIÊN
    By nadmad in forum Microsoft
    Replies: 3
    Last Post: 25-06-2008, 05:04 PM
  4. FTP LÀ GÌ?
    By itworld in forum WAN & Remote Access
    Replies: 3
    Last Post: 17-11-2003, 01:04 PM
  5. Show version Trên Switch
    By leminhkhoi in forum SWITCH / BCMSN
    Replies: 4
    Last Post: 31-10-2003, 03:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 
   TRUNG TÂM TIN HỌC VNPRO
149/1D Ung Văn Khiêm, P. 25, Q.Bình Thạnh
Phone:(08) 35124257
Fax: (08) 35124314
Email: vnpro@vnpro.org
Powered by vBulletin Version 4.2.1
Copyright 2000 - 2011, Jelsoft Enterprises Ltd.
License owned by : VietProfessional Co.,Ltd
 

Ve may bay |Ve may bay gia re |Ve may bay di Ha Noi |Ve may bay di Nha Trang |Ve may bay di Da Nang |Ve may bay di Da Lat |Ve may bay di Vinh |Ve may bay di Hue |Ve may bay di Con Dao |Ve may bay di TP HCM |Air Asia |Tiger Airways |Vietnam Airlines |Lion Air |Aeroflot |Jetstar |Vietjet Air |Asiana |Delta Airlines |Singapore Airlines |Thai Airways |quantas |Turkish Airlines |China Southern Airlines |Air China |Ve may bay gia re |Ve may bay di Anh |Ve may bay di Canada |Ve may bay di Ha Lan |Ve may bay di Han Quoc |Ve may bay di Hong Kong |Ve may bay di Y |Ve may bay di Italia |Ve may bay di Malaysia |Ve may bay di Nga |Ve may bay di Phap |Ve may bay di Philippines |Ve may bay di Singapore |Ve may bay di Thai Lan |Ve may bay di Trung Quoc |Ve may bay di Uc |Ve may bay di Ukraina |Ve may bay di Duc |Ve may bay di My |Ve may bay di My