• 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.

lab cloud ping 2 computer ??

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

  • lab cloud ping 2 computer ??



    mình có mạch như ở trên.đã confif 2 router và đã ping dc với nhau.
    bjo` thêm 2 computer vào mỗi router trên.đã kết nối com với router nhưng giữa 2 com ko ping dc
    code khi chưa kết nối computer vào
    R1
    Router>en

    Router#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#int s1/0
    Router(config-if)#no sh


    %LINK-5-CHANGED: Interface Serial1/0, changed state to up


    Router(config-if)#en
    Router(config-if)#encapsulation fr
    Router(config-if)#encapsulation frame-relay
    Router(config-if)#
    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up


    Router(config-if)#ex
    Router(config)#int s1/0.12 po
    Router(config)#int s1/0.12 point-to-point


    %LINK-5-CHANGED: Interface Serial1/0.12, changed state to up


    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0.12, changed state to up
    Router(config-subif)#ip add 192.168.2.1 255.255.255.0
    Router(config-subif)#fr
    Router(config-subif)#frame-relay in
    Router(config-subif)#frame-relay interface-dlci 102
    Router(config-subif)#ex
    Router(config)#ex


    %SYS-5-CONFIG_I: Configured from console by console
    Router#
    R2
    Router>en
    Router#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#int s1/0
    Router(config-if)#no sh


    %LINK-5-CHANGED: Interface Serial1/0, changed state to up


    Router(config-if)#en
    Router(config-if)#encapsulation f
    Router(config-if)#encapsulation frame-relay
    Router(config-if)#
    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up


    Router(config-if)#ex
    Router(config)#int s1/0.21 po
    Router(config)#int s1/0.21 point-to-point
    Router(config-subif)#
    %LINK-5-CHANGED: Interface Serial1/0.21, changed state to up


    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0.21, changed state to up


    Router(config-subif)#ip add 192.168.2.2 255.255.255.0
    Router(config-subif)#fr
    Router(config-subif)#frame-relay in
    Router(config-subif)#frame-relay interface-dlci 201
    Router(config-subif)#ex
    Router(config)#ex


    %SYS-5-CONFIG_I: Configured from console by console
    Router#

    http://www.mediafire.com/?ly753pbh731bm1n
    máy đo khoảng cách

  • #2
    Trong mô hình bạn định tuyến RIPv2, phần major network bạn đã đánh sai rùi nên 2 router đâu có học được các mạng của nhau.
    Cụ thể là : địa chỉ ip bạn đặt cho các mạng trên 2 router là 192.168.2.0/24, 192.168.3.0/24 và 192.168.4.0/24 nhưng khi khai báo network trong rip thì bạn lại đánh là network 192.168.0.0
    Bạn sửa lại rùi chạy thử đi. mình test ok đó.

    Comment


    • #3
      Khi em vao GNS3 va keo con router vao thi no thong bao la:IOS Base config "baseconfig.txt no such file or directory"
      Khi em cau hinh router thi dong lenh" P(config-if)# mpls ip " bi bao loi cho mpls
      va dong lenh:PE1(config-router)#neighbor 4.4.4.4 update-source Loopback0 .no bao chu Loopback0
      Mong cac pro giup do gium!
      Xin cam on!

      Comment

      Working...
      X