• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Bước đầu tập sử dụng GNS3 và Router Cisco . Newbie nhờ giúp đỡ!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bước đầu tập sử dụng GNS3 và Router Cisco . Newbie nhờ giúp đỡ!

    Chào các anh/chị trên diễn đàn VNPRO. Em hiện đang học quản trị mạng( Windows). Nhưng thầy giáo lại giao cho em bài tập về " Router 7200 "

    Chắc là thiết lập 2 router 7200 định tuyến qua lại với nhau.

    Em đã tìm hiểu sơ sơ nhưng cũng chưa hiểu lắm.

    Em đã down GNS3 , IOS : c7200-jk9s-mz.123-14.T2.bin

    Em đã chạy thử rồi.. nhưng khi.. em mở Console của Router lên nó kêu thiết lập( Lần đầu tiên chạy )...

    Em cũng chỉ hiểu 1 vài cái... ko thể hiểu hết nên ko hiểu được...

    Anh/chị em nào có tài liệu về thiết lập bước đầu này ko ạ...

    Còn cái phần "cấu hình vật lý" bên tab Slot em thấy cũng khá nhiều. em cũng ko biết đó là các khe để cắm gì nữa...Em toàn chọn đại.

    Bác nào có tài liệu nói về các slot đó thì cho em xin luôn...

    Và cho em hỏi "thiết lập 2 router 7200 định tuyến qua lại với nhau." Thì nên xem các tài liệu nào để có thể thực hiện được... Mong các anh chị giúp em !

    Chân thành cám ơn

    Tập tành học mạng!

  • #2
    Chào bạn,

    Download tài liệu dưới đây xem phần hướng dẫn giả lập từ A-Z

    Link
    Phạm Minh Tuấn

    Email : phamminhtuan@vnpro.org
    Yahoo : phamminhtuan_vnpro
    -----------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog

Comment


  • #3
    Cái này em coi rùi..

    Khi chạy tới dòng này :Would you like to enter the initial configuration dialog? [yes/no]

    Chọn Yes thì nó cho cấu hình ... em chưa tìm thấy phần nói về cầu hình này.. chọn No..

    Code:
    Press RETURN to get started!
    
    sslinit fn
    
    *Nov 15 08:36:28.903: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
    *Nov 15 08:36:28.911: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
    *Nov 15 08:36:28.915: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up
    *Nov 15 08:36:28.919: %LINEPROTO-5-UPDOWN: Line protocol on Interface , changed state to up
    *Nov 15 08:36:28.923: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up
    *Nov 15 08:36:28.931: %LINK-3-UPDOWN: Interface Ethernet1/2, changed state to up
    *Nov 15 08:36:28.935: %LINK-3-UPDOWN: Interface Ethernet1/3, changed state to up
    *Nov 15 08:36:28.943: %LINK-3-UPDOWN: Interface Ethernet1/4, changed state to up
    *Nov 15 08:36:28.947: %LINK-3-UPDOWN: Interface Ethernet1/5, changed state to up
    *Nov 15 08:36:28.947: %LINK-3-UPDOWN: Interface Ethernet1/6, changed state to up
    *Nov 15 08:36:28.947: %LINK-3-UPDOWN: Interface Ethernet1/7, changed state to up
    *Nov 15 08:36:28.947: %LINK-3-UPDOWN: Interface FastEthernet2/0, changed state to up
    *Nov 15 08:36:29.907: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
    *Nov 15 08:36:29.915: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0, changed state to up
    *Nov 15 08:36:29.923: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/1, changed state to up
    *Nov 15 08:36:29.931: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/2, changed state to up
    *Nov 15 08:36:29.935: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/3, changed state to up
    *Nov 15 08:36:29.943: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/4, changed state to up
    *Nov 15 08:36:29.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/5, changed state to up
    *Nov 15 08:36:29.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/6, changed state to up
    *Nov 15 08:36:29.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/7, changed state to up
    *Nov 15 08:36:29.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2/0, changed state to down
    *Nov 15 08:51:05.167: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
    *Nov 15 08:51:05.171: %LINK-5-CHANGED: Interface Ethernet1/0, changed state to administratively down
    *Nov 15 08:51:05.175: %LINK-5-CHANGED: Interface Ethernet1/1, changed state to administratively down
    *Nov 15 08:51:05.183: %LINK-5-CHANGED: Interface Ethernet1/2, changed state to administratively down
    *Nov 15 08:51:05.187: %LINK-5-CHANGED: Interface Ethernet1/3, changed state to administratively down
    *Nov 15 08:51:05.191: %LINK-5-CHANGED: Interface Ethernet1/4, changed state to administratively down
    *Nov 15 08:51:05.195: %LINK-5-CHANGED: Interface Ethernet1/5, changed state to administratively down
    *Nov 15 08:51:05.199: %LINK-5-CHANGED: Interface Ethernet1/6, changed state to administratively down
    *Nov 15 08:51:05.203: %LINK-5-CHANGED: Interface Ethernet1/7, changed state to administratively down
    *Nov 15 08:51:05.207: %LINK-5-CHANGED: Interface FastEthernet2/0, changed state to administratively down
    *Nov 15 08:51:06.171: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0, changed state to down
    *Nov 15 08:51:06.175: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/1, changed state to down
    *Nov 15 08:51:06.183: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/2, changed state to down
    *Nov 15 08:51:06.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/3, changed state to down
    *Nov 15 08:51:06.191: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/4, changed state to down
    *Nov 15 08:51:06.195: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/5, changed state to down
    *Nov 15 08:51:06.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/6, changed state to down
    *Nov 15 08:51:06.203: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/7, changed state to down
    *Nov 15 08:51:08.503: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, 7200 Software (C7200-JK9S-M), Version 12.3(14)T2, RELEASE SOFTWARE (fc4)
    Technical Support: [URL]http://www.cisco.com/techsupport[/URL]
    Copyright (c) 1986-2005 by Cisco Systems, Inc.
    Compiled Wed 11-May-05 20:07 by hqluong
    *Nov 15 08:51:08.527: %ENTITY_ALARM-6-INFO: ASSERT INFO Fa0/0 Physical Port Administrative State Down
    *Nov 15 08:51:08.671: %ENTITY_ALARM-6-INFO: ASSERT INFO Fa2/0 Physical Port Administrative State Down
    *Nov 15 08:51:08.675: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
    Router>show interfaces
    Trong file pdf nó kêu chạy lên idlepc get routername để tính toán giá trị idlepc tiềm năng.

    khi chạy thì ko được
    Code:
    Router>idlepc get routername
           ^
    % Invalid input detected at '^' marker.
    Em đọc theo hướng dẫn này để cấu hình : http://www.3c.com.vn/Story/vn/hotrok...9/3/52565.html

    tới bước này:

    Code:
    Cấu hình toàn cục 
     Để cấu hình bất cứ tính năng nào của router, bạn phải  vào chế độ cấu hình. Đây là chế độ con đầu tiên của chế độ cha. Trong  chế độ cha, bạn phát lệnh config.[INDENT] Router#config
    Router(config)#
    [/INDENT]
    Em gõ config trong router thì lại ko đc.
    Code:
    Router>config
    Translating "config"...domain server (255.255.255.255)
     (255.255.255.255)
    Translating "config"...domain server (255.255.255.255)
    % Unknown command or computer name, or unable to find computer address
    Dạ cho em hỏi..bây giờ em nên làm gì trước tiên ạ ?

    Comment


    • #4
      Case số 1: Nó hỏi yes/no: nếu yes thì phải trả lời các câu hỏi của nó, giống như dạng wizard. Trả lời NO thì vào dấu nhắc của Router, cấu hình theo ý mình
      Case số 2: idlepc get R1 đây là câu lệnh sử dụng trong cửa sổ dynagen, bạn đang dùng GNS3 thì click phải vào con Router chọn idlepc
      Case số 3: bạn hãy chú ý rằng bạn đang gõ lệnh config trong mode user, cố gắng vào mode enable trước.
      Phan Hoàng Gia Liêm - Instructor
      Email : gialiem@vnpro.org
      Yahoo : gialiem_vnpro
      -----------------------------------------------------------------------------------------------
      Trung Tâm Tin Học VnPro
      149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
      Tel : (08) 35124257 (5 lines)
      Fax: (08) 35124314

      Home page: http://www.vnpro.vn
      Support Forum: http://www.vnpro.org
      - Chuyên đào tạo quản trị mạng và hạ tầng Internet
      - Phát hành sách chuyên môn
      - Tư vấn và tuyển dụng nhân sự IT
      - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

      Network channel: http://www.dancisco.com
      Blog: http://www.vnpro.org/blog

      Comment


      • #5
        Em cám ơn mọi người rất nhiều. nhưng em đã config ip cho router mà sao vẫn chưa ping được ạ >"<

        Ko bít em có làm sai cái gì ko.

        Em làm theo:
        Code:
        Router>enable
        Router#config terminal
        Router(config)#interface fa0/0
        Router(config-if)#ip address 192.168.1.10 255.255.255.0
        Router(config-if)#no shutdown
        sau đó em show thử:

        Router>show ip interface brief
        Code:
        Interface                  IP-Address      OK? Method Status                Prot                 ocol
        FastEthernet0/0            192.168.0.210   YES manual up                    down                 
        FastEthernet1/0            192.168.0.211   YES manual administratively down down
        Máy thật có địa chỉ 192.168.0.200 nhưng vẫn ko ping thấy được route... cho em hỏi làm sao để chỉnh cái Protocol thành "UP" được ạ ?

        Comment


        • #6
          Bạn có thể show cho mình coi file topology của bạn không
          Phan Hoàng Gia Liêm - Instructor
          Email : gialiem@vnpro.org
          Yahoo : gialiem_vnpro
          -----------------------------------------------------------------------------------------------
          Trung Tâm Tin Học VnPro
          149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
          Tel : (08) 35124257 (5 lines)
          Fax: (08) 35124314

          Home page: http://www.vnpro.vn
          Support Forum: http://www.vnpro.org
          - Chuyên đào tạo quản trị mạng và hạ tầng Internet
          - Phát hành sách chuyên môn
          - Tư vấn và tuyển dụng nhân sự IT
          - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

          Network channel: http://www.dancisco.com
          Blog: http://www.vnpro.org/blog

          Comment


          • #7
            Không biết phải cái anh cần ko ạ :).. hi.. vì em mới chập chững bò trên môi trường cisco nên em ko rành lắm..

            Comment


            • #8
              bạn cài interface loopback trên PC. sau đó kéo đám mây vào, click vào nó chọn config rồi trỏ tới cái card loopback
              Phan Hoàng Gia Liêm - Instructor
              Email : gialiem@vnpro.org
              Yahoo : gialiem_vnpro
              -----------------------------------------------------------------------------------------------
              Trung Tâm Tin Học VnPro
              149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
              Tel : (08) 35124257 (5 lines)
              Fax: (08) 35124314

              Home page: http://www.vnpro.vn
              Support Forum: http://www.vnpro.org
              - Chuyên đào tạo quản trị mạng và hạ tầng Internet
              - Phát hành sách chuyên môn
              - Tư vấn và tuyển dụng nhân sự IT
              - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

              Network channel: http://www.dancisco.com
              Blog: http://www.vnpro.org/blog

              Comment


              • #9
                Originally posted by LamPhuongHoang View Post
                bạn cài interface loopback trên PC. sau đó kéo đám mây vào, click vào nó chọn config rồi trỏ tới cái card loopback
                Cài Interface loopback có phải dùng các câu lệnh này ko ạ ?
                Switch#configure terminal
                Switch(config)#interface loopback 1
                Switch(config-if)#ip address
                Switch(config-if)#exitcòn khúc này là sao ạ ". sau đó kéo đám mây vào, click vào nó chọn config rồi trỏ tới cái card loopback" em chưa hiểu lắm. có thể hướng dẫn cụ thể hơn 1 tí được ko ạ.. ( có hình thì em cám ơn rất nhiều.hihi )

                Comment


                • #10
                  cái topo bạn gửi trong đó bạn đã kéo đám mây vào rồi mà. bạn click phải vào đám mây đó chọn config
                  Phan Hoàng Gia Liêm - Instructor
                  Email : gialiem@vnpro.org
                  Yahoo : gialiem_vnpro
                  -----------------------------------------------------------------------------------------------
                  Trung Tâm Tin Học VnPro
                  149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                  Tel : (08) 35124257 (5 lines)
                  Fax: (08) 35124314

                  Home page: http://www.vnpro.vn
                  Support Forum: http://www.vnpro.org
                  - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                  - Phát hành sách chuyên môn
                  - Tư vấn và tuyển dụng nhân sự IT
                  - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                  Network channel: http://www.dancisco.com
                  Blog: http://www.vnpro.org/blog

                  Comment


                  • #11
                    ủa thì em đã config và add card mạng vào rồi... .. nhưng ping ko thấy... có cần phải làm interface loobback như hướng dẫn này ko ạ ?

                    Comment


                    • #12
                      1. Click Start, and then click Control Panel.
                      2. If you are in Classic view, click Switch to Category View under Control Panel in the left pane.
                      3. Double-click Printers and Other Hardware, and then click Next.
                      4. Under See Also in the left pane, click Add Hardware,and then click Next.
                      5. Click Yes, I have already connected the hardware, and then click Next.
                      6. At the bottom of the list, click Add a new hardware device, and then click Next.
                      7. Click Install the hardware that I manually select from a list, and then click Next.
                      8. Click Network adapters, and then click Next.
                      9. In the Manufacturer box, click Microsoft.
                      10. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
                      11. Click Finish.
                      Phan Hoàng Gia Liêm - Instructor
                      Email : gialiem@vnpro.org
                      Yahoo : gialiem_vnpro
                      -----------------------------------------------------------------------------------------------
                      Trung Tâm Tin Học VnPro
                      149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                      Tel : (08) 35124257 (5 lines)
                      Fax: (08) 35124314

                      Home page: http://www.vnpro.vn
                      Support Forum: http://www.vnpro.org
                      - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                      - Phát hành sách chuyên môn
                      - Tư vấn và tuyển dụng nhân sự IT
                      - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                      Network channel: http://www.dancisco.com
                      Blog: http://www.vnpro.org/blog

                      Comment


                      • #13
                        Originally posted by LamPhuongHoang View Post
                        1. Click Start, and then click Control Panel.
                        2. If you are in Classic view, click Switch to Category View under Control Panel in the left pane.
                        3. Double-click Printers and Other Hardware, and then click Next.
                        4. Under See Also in the left pane, click Add Hardware,and then click Next.
                        5. Click Yes, I have already connected the hardware, and then click Next.
                        6. At the bottom of the list, click Add a new hardware device, and then click Next.
                        7. Click Install the hardware that I manually select from a list, and then click Next.
                        8. Click Network adapters, and then click Next.
                        9. In the Manufacturer box, click Microsoft.
                        10. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
                        11. Click Finish.
                        Hi! em dùng win7 nên em bổ sung thêm 1 cách ( cách trên dành cho xp thì phải)
                        The key step I was missing was how to find the Hardware Wizard:
                        1. Click the Start menu.
                        2. Search for “cmd".
                        3. Right-click on “cmd” and select “Run as Administrator”
                        4. Enter “hdwwiz.exe

                        From that point on it's the same approach as under Vista, i.e.:
                        1. In the "Welcome to the Add Hardware Wizard", click Next.
                        2. Select "Install the hardware that I manually select from a list (Advanced)" and click Next.
                        3. Scroll down and select "Network adapters" and click Next.
                        4. Select under Manufacturer "Microsoft" and then under Network Adapter "Microsoft Loopback Adapter" and click Next.

                        Comment


                        • #14
                          Em đã cài card loopback rồi. nhưng trong GNS3 ko "thấy" card này để trỏ tới...chắc sau khi cài em khởi động lại máy xem sao...

                          Comment


                          • #15
                            Dạ cho em hỏi tiếp... em đã set ip cho route là 192.168.0.210. em dùng máy thật(0.200) ping thấy 0.210 rùi.. nhưng từ route ping ngược lại thì không thấy ạ...


                            Router#show ip int bri
                            Interface IP-Address OK? Method Status Protocol
                            Ethernet0/0 unassigned YES unset administratively down down
                            GigabitEthernet0/0 unassigned YES unset administratively down down
                            FastEthernet1/0 192.168.0.210 YES manual up up
                            FastEthernet1/1 unassigned YES unset administratively down down
                            Last edited by ntycle; 17-11-2010, 08:35 AM.

                            Comment

                            • Working...
                              X